Function at 0x431db0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x431dd6
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x43215f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push ebp
push 0x43212f
push dword fs:[0]
mov dword fs:[0], esp
test ebx, ebx
je 0x432125
mov eax, ebx
call fcn.00403838
mov edx, esi
neg edx
sub eax, edx
mov dword [ebp - 0x24], eax
mov ebx, dword [0x53307c]
mov ebx, dword [ebx]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call ebx
test al, al
je 0x432125
mov eax, dword [ebp - 0xc]
call fcn.0040f9f0
mov edx, eax
test edx, edx
je 0x432125
mov cx, word [edx + 0x18]
cmp cx, 0x20b
jne 0x431e58
mov edi, edx
add edi, 0x108
mov eax, edi
jmp 0x431e62
mov edi, edx
add edi, 0xf8
mov eax, edi
test byte [eax + 0x24], 0x20
je 0x431e97
mov ebx, dword [eax + 0xc]
add ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [eax + 8]
add ebx, dword [ebp - 0x10]
sub ebx, 3
mov dword [ebp - 0x14], ebx
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x431ed0
mov ebx, dword [eax + 0xc]
add ebx, dword [ebp - 0xc]
add ebx, dword [eax + 8]
sub ebx, 3
mov dword [ebp - 0x14], ebx
jmp 0x431ed0
cmp cx, 0x20b
jne 0x431ebb
lea eax, [edx + 0x18]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [edx + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x10]
sub eax, 3
mov dword [ebp - 0x14], eax
jmp 0x431ed0
mov eax, dword [edx + 0x2c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x10]
sub eax, 3
mov dword [ebp - 0x14], eax
cmp cx, 0x20b
jne 0x431f30
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, edx
add edi, 0x108
mov eax, edi
movzx ecx, word [edx + 6]
dec ecx
test ecx, ecx
jl 0x431f15
inc ecx
mov edi, dword [eax + 0x24]
test edi, 0x40
jne 0x431f04
test edi, 0x80
je 0x431f0f
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jmp 0x431f15
add eax, 0x28
dec ecx
jne 0x431ef1
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
cmp ebx, dword [ebp - 0x18]
jb 0x431f4f
lea eax, [edx + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x18]
sub eax, 3
mov dword [ebp - 0x14], eax
jmp 0x431f4f
mov eax, dword [edx + 0x30]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
cmp ebx, dword [ebp - 0x18]
jb 0x431f4f
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 0x18]
sub eax, 3
mov dword [ebp - 0x14], eax
mov edi, esi
neg edi
mov eax, edi
add eax, dword [ebp - 0x24]
cmp ebx, eax
jne 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 0x20
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, ebx
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 0x1c
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, ebx
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 0x18
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, ebx
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 0x14
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, ebx
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 0x10
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 0xc
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 8
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00431d9c
test al, al
je 0x432125
mov eax, esi
neg eax
mov eax, edi
sub eax, 4
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00431d9c
test al, al
je 0x432125
lea eax, [ebp - 0x28]
mov edx, esi
neg edx
mov edx, edi
sub edx, 0x20
mov ecx, ebx
sub ecx, edx
mov edx, dword [ecx]
call fcn.004049fc
mov eax, esi
neg eax
mov eax, edi
sub eax, 0x10
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, esi
neg eax
sub edi, 0x28
sub ebx, edi
mov ebx, dword [ebx]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.0040bccc
mov eax, dword [ebp - 0x2c]
mov dl, 1
call fcn.0040c04c
test al, al
je 0x43210b
cmp dword [ebp - 0x1c], 0
je 0x4320d8
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
inc edx
call fcn.004049fc
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
call fcn.00404ba4
jne 0x43210b
cmp dword [ebp + 8], 0
je 0x43210f
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
call fcn.00404ba4
je 0x43210f
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404788
mov ecx, eax
mov edx, ebx
mov eax, esi
call fcn.00431db0
pop ecx
test al, al
jne 0x43210f
xor eax, eax
jmp 0x432111
mov al, 1
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x432125
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
call fcn.004047dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x432139
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432166
lea eax, [ebp - 0x30]
call fcn.00404788
lea eax, [ebp - 0x2c]
call fcn.00404f44
lea eax, [ebp - 0x28]
call fcn.00404788
ret