Function at 0x410d40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x68
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0xffffffffffffffff
lea eax, [edi + 0x70]
push ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
call fcn.0040176b
push 0x38
call fcn.0041969f
add esp, 4
cmp eax, ebx
je 0x410dee
mov ecx, eax
call fcn.00403dfa
mov esi, eax
cmp esi, ebx
je 0x410df0
lea ebp, [esi + 8]
cmp ebp, ebx
mov dword [esp + 0x20], ebp
je 0x410da7
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00403ed3
test al, al
jne 0x410df8
cmp ebp, ebx
je 0x410dc5
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
cmp dword [esp + 0x44], 8
jb 0x410dd9
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004192c0
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00419b1f
add esp, 0x68
ret
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x20], ebp
jmp 0x410da7
push ebx
push 0x70
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00410c00
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x410e24
mov edx, dword [esp + 0x18]
sub edx, eax
jne 0x410e2d
call fcn.00419676
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 0x70
push eax
mov ecx, ebp
call edx
test eax, eax
je 0x410e97
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x410e54
push eax
call fcn.004192c0
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
cmp dword [esp + 0x44], 8
jb 0x410dd9
mov eax, dword [esp + 0x30]
push eax
call fcn.004192c0
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00419b1f
add esp, 0x68
ret
cmp dword [esp + 0x24], 0x70
je 0x410ec0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x410eaf
push eax
call fcn.004192c0
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jmp 0x410dbb
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x410ecc
xor esi, esi
jmp 0x410ed8
mov eax, dword [esp + 0x18]
sub eax, ecx
cmp eax, ebx
mov esi, eax
ja 0x410ee1
call fcn.00419676
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
push edx
add esi, 0xfffffff0
push esi
push ecx
lea eax, [esp + 0x54]
push eax
call fcn.004032ce
add esp, 0x10
cmp dword [esp + 0x5c], ebx
jne 0x410f38
lea ecx, [esp + 0x48]
call fcn.004014f7
lea ecx, [esp + 0x10]
call fcn.004107d0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
lea ecx, [esp + 0x2c]
call fcn.004014f7
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00419b1f
add esp, 0x68
ret
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x410f44
xor eax, eax
jmp 0x410f4a
mov eax, dword [esp + 0x18]
sub eax, ecx
add eax, 0xfffffff0
push eax
lea ecx, [esp + 0x14]
mov esi, 0x10
call fcn.00410670
lea ecx, [esp + 0x64]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x410f78
sub esi, 4
add eax, 4
add ecx, 4
cmp esi, 4
jae 0x410f60
cmp esi, ebx
je 0x410fd5
movzx ebp, byte [eax]
movzx edx, byte [ecx]
sub edx, ebp
jne 0x410fc7
sub esi, 1
add eax, 1
add ecx, 1
cmp esi, ebx
je 0x410fd5
movzx ebp, byte [eax]
movzx edx, byte [ecx]
sub edx, ebp
jne 0x410fc7
sub esi, 1
add eax, 1
add ecx, 1
cmp esi, ebx
je 0x410fd5
movzx ebp, byte [eax]
movzx edx, byte [ecx]
sub edx, ebp
jne 0x410fc7
sub esi, 1
add eax, 1
add ecx, 1
cmp esi, ebx
je 0x410fd5
movzx eax, byte [eax]
movzx edx, byte [ecx]
sub edx, eax
je 0x410fd5
cmp edx, ebx
mov eax, 1
jg 0x410fd7
or eax, 0xffffffff
jmp 0x410fd7
xor eax, eax
cmp eax, ebx
je 0x411035
mov ebp, 8
cmp dword [esp + 0x60], ebp
jb 0x410ff3
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004192c0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
je 0x411015
push eax
call fcn.004192c0
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x44], ebp
jmp 0x410dca
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x411047
mov ecx, dword [esp + 0x18]
mov edx, ecx
sub edx, eax
jne 0x411054
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx esi, byte [eax]
mov edx, ecx
sub edx, eax
shl esi, 0x18
cmp edx, 1
ja 0x411070
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 1]
shl edx, 0x10
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 2
ja 0x41108f
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dh, byte [eax + 2]
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 3
ja 0x4110ac
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 3]
or edx, esi
mov dword [edi + 4], edx
mov edx, ecx
sub edx, eax
cmp edx, 4
mov dword [edi], ebx
ja 0x4110cd
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx esi, byte [eax + 4]
mov edx, ecx
sub edx, eax
shl esi, 0x18
cmp edx, 5
ja 0x4110ea
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 5]
shl edx, 0x10
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 6
ja 0x411109
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dh, byte [eax + 6]
or esi, edx
mov edx, ecx
sub edx, eax
cmp edx, 7
ja 0x411126
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 7]
or dword [edi + 4], ebx
or edx, esi
or dword [edi], edx
mov edx, ecx
sub edx, eax
mov ebp, 8
cmp edx, ebp
ja 0x41114b
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 8]
shl edx, 0x18
mov dword [edi + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 9
ja 0x41116b
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 9]
shl edx, 0x10
or dword [edi + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xa
ja 0x41118b
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dh, byte [eax + 0xa]
or dword [edi + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xb
ja 0x4111a9
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 0xb]
or dword [edi + 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xc
ja 0x4111c6
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 0xc]
shl edx, 0x18
mov dword [edi + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xd
ja 0x4111e6
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 0xd]
shl edx, 0x10
or dword [edi + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xe
ja 0x411206
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dh, byte [eax + 0xe]
or dword [edi + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0xf
ja 0x411224
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 0xf]
or dword [edi + 0xc], edx
mov edx, ecx
sub edx, eax
cmp edx, 0x10
ja 0x411241
call fcn.00419676
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov dword [edi + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [edi + 0x18], edx
mov edx, dword [eax + 0x1c]
sub ecx, eax
cmp ecx, 0x14
mov dword [edi + 0x1c], edx
ja 0x411269
call fcn.00419676
mov eax, dword [esp + 0x14]
add edi, 0x20
cmp dword [esp + 0x60], ebp
lea esi, [eax + 0x14]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
jb 0x41128d
mov eax, dword [esp + 0x4c]
push eax
call fcn.004192c0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
je 0x4112ab
push eax
call fcn.004192c0
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x44], ebp
jb 0x4112d5
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004192c0
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.00419b1f
add esp, 0x68
ret