Function at 0x403d60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x490004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], esi
test edi, edi
je 0x40410a
test esi, esi
je 0x40410a
lea ecx, [eax*4]
mov dword [esi], eax
mov eax, dword [ebx + 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x34], ecx
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
movzx eax, word [edi + 4]
mov word [esi + 0x10], ax
movzx eax, word [edi + 6]
mov word [esi + 0x12], ax
movzx eax, word [edi + 8]
mov word [esi + 0x14], ax
movzx eax, word [edi + 0xa]
mov word [esi + 0x16], ax
movzx ecx, word [edi + 0xe]
movzx edx, word [edi + 0xc]
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [ebp - 0x1c], ecx
dec eax
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, 0xb
mov dword [ebp - 0x20], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], edx
call fcn.0044c353
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
movzx eax, word [edi + 0x24]
mov word [esi + 0x38], ax
mov eax, dword [edi + 0x26]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x2a]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
movzx eax, word [edi + 0x1c]
mov edi, 0x1ff
cmp eax, edi
mov esi, edi
cmovb esi, eax
mov eax, dword [ebp - 0x2c]
add eax, 0x2e
push esi
push eax
mov eax, dword [ebp - 0x38]
add eax, 0x58
push eax
call fcn.00447fa0
mov edx, dword [ebp - 0x38]
mov byte [edx + esi + 0x58], 0
mov esi, dword [ebp - 0x2c]
movzx eax, word [esi + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [edx + 0x48], edi
movzx ecx, word [esi + 0x1c]
movzx eax, word [esi + 0x1e]
add ecx, esi
add eax, 0x2e
add eax, ecx
push edi
push eax
lea eax, [edx + 0x258]
push eax
call fcn.00447fa0
mov eax, dword [ebp - 0x38]
lea ecx, [ebx + 0x10]
add esp, 0x1c
mov byte [eax + edi + 0x258], 0
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x403f15
mov eax, dword [ebp - 0x30]
cmp eax, dword [ecx]
jae 0x403f15
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx]
add eax, dword [edi]
je 0x403f15
movzx edx, word [eax + 0x1c]
test edx, edx
je 0x403f08
cmp byte [edx + eax + 0x2d], 0x2f
jne 0x403f08
mov eax, 1
jmp 0x403f1e
test byte [eax + 0x26], 0x10
je 0x403f1c
mov eax, 1
jmp 0x403f1e
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov edi, dword [ebp - 0x38]
mov dword [edi + 0x4c], eax
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x403f4d
mov eax, dword [ebp - 0x30]
cmp eax, dword [ecx]
jae 0x403f4d
mov eax, dword [edx + 0x10]
mov esi, dword [ebp - 0x34]
mov eax, dword [eax + esi]
add eax, dword [edx]
je 0x403f4d
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x403f56
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov dword [edi + 0x50], eax
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x403fb0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ecx]
jae 0x403fb0
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + ecx]
add eax, dword [edx]
je 0x403fb0
movzx ecx, word [eax + 0xa]
movzx eax, word [eax + 8]
test cx, cx
je 0x403f8f
cmp ecx, 8
je 0x403f8f
mov dword [ebx + 0x1c], 4
jmp 0x403fb7
test al, 0x41
je 0x403f9c
mov dword [ebx + 0x1c], 5
jmp 0x403fb7
test al, 0x20
je 0x403fa9
mov dword [ebx + 0x1c], 6
jmp 0x403fb7
mov eax, 1
jmp 0x403fb9
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x30]
cmp dword [edi + 0x2c], edx
jb 0x403fdb
ja 0x403fd0
cmp ecx, eax
jbe 0x403fdb
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
jmp 0x403fe1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov esi, dword [edi + 0x44]
cmp dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x2c]
jb 0x40400b
ja 0x403ff9
mov esi, dword [edi + 0x40]
cmp dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x2c]
jbe 0x40400b
cmp dword [edi + 0x2c], edx
jb 0x404011
ja 0x404004
cmp ecx, eax
jbe 0x404011
mov edx, dword [edi + 0x2c]
mov eax, ecx
jmp 0x404011
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
cmp eax, 0xffffffff
jne 0x4040f4
test edx, edx
jne 0x4040f4
movzx edx, word [esi + 0x1e]
test edx, edx
je 0x4040f4
movzx eax, word [esi + 0x1c]
add esi, 0x2e
add esi, eax
cmp edx, 4
jb 0x404085
movzx eax, word [esi + 2]
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x404085
cmp word [esi], 1
je 0x404071
add esi, 4
mov ecx, 0xfffffffc
sub ecx, eax
add esi, eax
add edx, ecx
jne 0x404037
pop edi
pop esi
lea eax, [edx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e653
mov esp, ebp
pop ebp
ret
add esi, 4
cmp dword [edi + 0x30], 0xffffffff
jne 0x4040b2
cmp dword [edi + 0x34], 0
jne 0x4040b2
cmp eax, 8
jae 0x40409f
pop edi
pop esi
mov dword [ebx + 0x1c], 9
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e653
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
xor ecx, ecx
or ecx, dword [esi]
add esi, 8
mov dword [edi + 0x30], ecx
add eax, 0xfffffff8
mov dword [edi + 0x34], edx
cmp dword [edi + 0x28], 0xffffffff
jne 0x4040d6
cmp dword [edi + 0x2c], 0
jne 0x4040d6
cmp eax, 8
jb 0x404085
mov edx, dword [esi + 4]
xor ecx, ecx
or ecx, dword [esi]
add esi, 8
mov dword [edi + 0x28], ecx
sub eax, 8
mov dword [edi + 0x2c], edx
cmp dword [edi + 0x40], 0xffffffff
jne 0x4040f4
cmp dword [edi + 0x44], 0
jne 0x4040f4
cmp eax, 8
jb 0x404085
mov ecx, dword [esi + 4]
xor eax, eax
or eax, dword [esi]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e653
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x404115
mov dword [ebx + 0x1c], 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e653
mov esp, ebp
pop ebp
ret