Function at 0x531c40
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x553898
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esi + 0x6c], ebp
mov eax, dword [esi + 0x68]
mov edi, dword [eax + 0x14]
push ebp
push 0x2e
lea ecx, [esp + 0x28]
call fcn.00533080
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x34], ebp
push 1
je 0x531cc4
mov ecx, dword [esp + 0x28]
push 0x2e
push ecx
mov ecx, edi
call fcn.00539350
lea edx, [esp + 0x20]
push edx
call fcn.00530a70
add esp, 4
test al, al
jne 0x531cd5
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xffffffff
call fcn.005330b0
xor al, al
jmp 0x531e4b
mov eax, dword [esp + 0x28]
push 0x2a
add eax, 4
push eax
mov ecx, edi
call fcn.00539350
mov eax, dword [esp + 0x24]
mov bx, word [eax + 4]
xor ecx, ecx
mov word [esi + 6], cx
movzx edx, word [eax + 6]
mov word [esi + 6], dx
mov word [esi + 8], cx
movzx edx, word [eax + 8]
mov word [esi + 8], dx
mov word [esi + 0xa], cx
movzx edx, word [eax + 0xa]
mov word [esi + 0xa], dx
mov word [esi + 0xc], cx
movzx edx, word [eax + 0xc]
mov word [esi + 0xc], dx
mov word [esi + 0xe], cx
movzx edx, word [eax + 0xe]
mov word [esi + 0xe], dx
mov dword [esi + 0x10], ebp
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ebp
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ebp
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
movzx edx, word [eax + 0x1c]
mov cx, word [eax + 0x1e]
mov word [esp + 0x3c], dx
movzx edx, word [eax + 0x20]
mov word [esp + 0x18], cx
xor ecx, ecx
mov word [esi + 0x1c], cx
mov word [esp + 0x14], dx
movzx edx, word [eax + 0x22]
mov word [esi + 0x1c], dx
mov word [esi + 0x1e], cx
movzx edx, word [eax + 0x24]
mov word [esi + 0x1e], dx
mov dword [esi + 0x5c], ebp
mov ecx, dword [eax + 0x26]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x28], ebp
mov edx, dword [eax + 0x2a]
lea ecx, [esp + 0x20]
mov dword [esi + 0x28], edx
call fcn.00532f40
movzx eax, bx
shr eax, 8
mov byte [esi + 0x90], al
mov al, byte [esi + 8]
and al, 1
neg al
sbb al, al
and al, 1
dec al
mov byte [esi + 4], bl
movzx ebx, word [esp + 0x3c]
mov byte [esi + 0x62], al
movzx ecx, word [edi + 0x24]
push ebp
mov dword [esp + 0x20], ecx
push ebx
lea ecx, [esi + 0x70]
call fcn.00532f70
mov eax, dword [esi + 0x74]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00539350
mov edx, dword [esp + 0x18]
push edx
lea ebx, [esi + 0x44]
push edi
mov ecx, ebx
call fcn.0053b930
test al, al
je 0x531cac
mov ax, word [esp + 0x14]
cmp ax, bp
je 0x531e15
movzx eax, ax
push ebp
push eax
lea ecx, [esi + 0x80]
mov dword [esp + 0x44], eax
call fcn.00532f70
mov eax, dword [esp + 0x3c]
mov esi, dword [esi + 0x84]
push 1
push eax
push esi
mov ecx, edi
call fcn.00539350
mov ecx, ebx
call fcn.0053b740
movzx eax, word [edi + 0x24]
cmp ax, word [esp + 0x1c]
je 0x531e36
mov ecx, dword [edi + 0x3c]
and ecx, 0x70
cmp cl, 0x70
je 0x531e36
xor bl, bl
jmp 0x531e38
mov bl, 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xffffffff
call fcn.005330b0
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4