Function at 0x416440
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24c
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x258]
push edi
mov eax, dword [esp + 0x26c]
push ebp
mov ebp, dword [esp + 0x274]
mov ecx, dword [esp + 0x264]
mov byte [ebx + 0xde1], 0
mov byte [ebx + 0xee2], 0
push ebp
push eax
push ecx
call fcn.00417db0
add esp, 0xc
test eax, eax
je 0x416975
mov eax, dword [esp + 0x264]
mov edx, dword [esp + 0x264]
add eax, 0x138
add edx, 0x30
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], 0
mov eax, dword [eax]
add eax, dword [edx]
jne 0x4164db
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24c
ret
mov eax, dword [ebx + 0xad4]
push eax
call dword [ebx + 0xc]
mov dword [esp + 0x18], eax
add esp, 4
test eax, eax
je 0x416975
mov eax, dword [ebx + 0xad4]
push eax
call dword [ebx + 0xc]
mov dword [esp + 0x20], eax
add esp, 4
test eax, eax
je 0x416975
mov eax, dword [ebx + 0xad0]
push eax
call dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
add esp, 4
test eax, eax
je 0x416975
mov edx, dword [ebx + 0xad4]
mov edi, dword [esp + 0x14]
xor eax, eax
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [ebx + 0xad4]
mov edi, dword [esp + 0x1c]
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [ebx + 0xad0]
mov edi, dword [esp + 0x18]
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [ecx]
je 0x416e35
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [ebx + 0xacc]
add eax, dword [ebx + 0x13c]
add eax, dword [ebx + 0xad0]
add eax, dword [ecx]
add eax, dword [ebx + 0x244]
add eax, dword [ebx + 0x34]
cmp byte [ebx + 0xbdf], 0
mov dword [esp + 0x10], eax
je 0x4165e6
lea edi, [ebx + 0xce0]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebx + 0xbdf]
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx + edx - 1]
add edx, 2
add dword [esp + 0x10], edx
cmp byte [ebx + 0xfe3], 0
je 0x41661f
lea edi, [ebx + 0x10e4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebx + 0xfe3]
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx + edx - 1]
add edx, 2
add dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push ebp
mov dword [esp + 0x4c], eax
push eax
mov dword [esp + 0x40], 0
push 0
push 1
call dword [esp + 0x280]
add esp, 0x10
cmp eax, 0xffffffff
je 0x416e77
mov esi, dword [ebx + 0x34c]
push ebp
sub esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 8]
push ecx
mov edx, dword [ebx + 0x28]
push edx
mov eax, dword [ebx + 0x20]
push eax
mov ecx, dword [ebx + 0x14]
lea edx, [esp + 0x60]
push ecx
push 2
push edx
call fcn.00418050
add esp, 0x20
test eax, eax
je 0x416975
test esi, esi
jl 0x416696
cmp dword [esp + 0x268], 0
jne 0x416696
mov dword [esp + 0x34], 0
jmp 0x41669e
mov dword [esp + 0x34], 1
cmp dword [esp + 0x34], 0
je 0x416815
cmp byte [ebx + 0xde1], 0
jne 0x416704
lea edi, [ebx + 0x36e]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0xee2]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x46e]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0xde1]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx + 0xfe3], 0
je 0x41673d
lea edi, [ebx + 0x10e4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebx + 0xfe3]
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx + edx - 1]
add edx, 2
sub dword [esp + 0x10], edx
lea edi, [ebx + 0x670]
lea esi, [ebx + 0x34c]
mov ecx, 0xc9
push ebp
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
lea eax, [ebx + 0x670]
push edx
inc dword [ebx + 0x684]
push eax
mov dword [ebx + 0x30], edx
call dword [esp + 0x278]
add esp, 0xc
cmp eax, 0xffffffff
je 0x416e8c
lea edx, [ebx + 0x792]
mov ecx, 0xffffffff
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0xfe3]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x692]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0x10e4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebx + 0x692]
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [ebx + 0x34c]
mov eax, dword [esp + 0x10]
lea ecx, [ecx + edx - 1]
lea ecx, [eax + ecx + 2]
sub esi, ecx
cmp dword [ebx + 0x670], 0
jne 0x416815
mov dword [ebx + 0x670], 0x7ffffff
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0
mov ax, word [eax + 0x25c]
push ebp
mov word [ecx + 6], ax
lea edx, [esp + 0x30]
mov word [ecx + 4], 0
mov eax, dword [ebx + 0x34]
push edx
push 0
mov dword [ecx], eax
mov eax, dword [esp + 0x270]
push 0
mov dword [esp + 0x3c], 0
mov ecx, dword [eax + 0x34]
push ecx
call dword [ebx + 0x24]
add esp, 0x14
cmp eax, 0xffffffff
je 0x416ea1
mov eax, dword [esp + 0x264]
push ebp
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebx
call fcn.00416fc0
add esp, 0x10
test eax, eax
je 0x416ba5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
add ecx, 4
mov edx, dword [ebx + 0xad4]
xor edi, edi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x20], ecx
mov ax, word [ecx]
mov ecx, dword [esp + 0x24]
add eax, edx
mov ecx, dword [ecx]
add dword [esp + 0x30], eax
lea eax, [esi + ecx]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x30], eax
jae 0x4169b8
xor eax, eax
mov ecx, dword [esp + 0x14]
mov ax, word [ecx + 6]
mov edx, dword [esp + 0x18]
inc word [edx + 4]
push edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x268]
add dword [esp + 0x48], eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [edx + 0x264]
push eax
push ecx
call fcn.0041873c
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push eax
mov eax, dword [ebx + 0xad4]
sub eax, 4
push eax
push ecx
call fcn.0041873c
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebp
mov dword [ecx], eax
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x1c]
push edx
mov ecx, dword [ebx + 0xad4]
mov edx, dword [esp + 0x1c]
push eax
push ecx
lea eax, [ebx + 0x34]
push edx
push eax
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x270]
mov ax, word [edx]
mov edx, dword [ecx + 0x264]
push eax
push edx
lea eax, [ebx + 0x34]
push eax
call fcn.00418230
add esp, 0x18
test eax, eax
jne 0x416b61
cmp dword [esp + 0x14], 0
jne 0x416987
mov ecx, dword [esp + 0x14]
push ecx
call dword [ebx + 0x10]
add esp, 4
cmp dword [esp + 0x1c], 0
jne 0x416999
mov ecx, dword [esp + 0x1c]
push ecx
call dword [ebx + 0x10]
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x4169ab
mov ecx, dword [esp + 0x18]
push ecx
call dword [ebx + 0x10]
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24c
ret
mov eax, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x10], eax
jae 0x416af9
sub ecx, edx
mov eax, dword [esp + 0x18]
inc word [eax + 4]
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x264]
push 0
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x20]
add ecx, 4
push edi
mov word [ecx + 2], 0
mov word [ecx], di
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x264]
push edx
call fcn.0041873c
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
mov eax, dword [ebx + 0xad4]
sub eax, 4
push eax
push ecx
call fcn.0041873c
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ebp
mov dword [ecx], eax
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x1c]
push edx
mov ecx, dword [ebx + 0xad4]
mov edx, dword [esp + 0x24]
push eax
push ecx
lea eax, [ebx + 0x34]
push edx
push eax
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x26c]
push ecx
push edi
lea ecx, [ebx + 0x34]
mov eax, dword [edx + 0x264]
push eax
push ecx
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
mov ecx, dword [esp + 0x20]
push ebp
sub word [ecx], di
mov eax, dword [esp + 0x268]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [eax + 0x2c]
push edx
mov eax, dword [ebx + 0xad4]
mov edx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x58]
push eax
push edx
push ecx
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
mov eax, dword [esp + 0x264]
push ebp
mov edx, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x2c]
push ecx
xor eax, eax
mov ecx, dword [esp + 0x28]
push edx
mov ax, word [ecx]
mov edx, dword [esp + 0x270]
lea ecx, [esp + 0x58]
push eax
mov eax, dword [edx + 0x264]
add eax, edi
push eax
push ecx
call fcn.00418230
add esp, 0x18
test eax, eax
jne 0x416b61
jmp 0x416975
mov eax, dword [esp + 0x264]
push ebp
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebx + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
mov eax, dword [esp + 0x264]
push ebp
mov edx, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x2c]
push ecx
xor eax, eax
mov ecx, dword [esp + 0x28]
push edx
mov ax, word [ecx]
mov edx, dword [esp + 0x270]
push eax
mov ecx, dword [edx + 0x264]
lea eax, [esp + 0x5c]
push ecx
push eax
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
xor eax, eax
mov ecx, dword [esp + 0x20]
mov ax, word [ecx]
push ebp
add eax, edi
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x3c], eax
push ecx
mov edx, dword [esp + 0x40]
push edx
push 1
call dword [esp + 0x280]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41686a
push 0
mov eax, dword [ebx + 0x2c]
push 7
push eax
call fcn.00418720
add esp, 0xc
jmp 0x416975
inc word [ebx + 0x9ae]
push ebp
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x1c]
push eax
mov edx, dword [ebx + 0xad0]
mov eax, dword [esp + 0x20]
push ecx
push edx
lea ecx, [ebx + 0x244]
push eax
push ecx
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
lea eax, [esp + 0x2c]
push ebp
mov ecx, dword [esp + 0x268]
push eax
mov dword [esp + 0x34], 0
push 0
mov edx, dword [ecx + 0x13c]
push 0
push edx
call dword [ebx + 0x24]
add esp, 0x14
cmp eax, 0xffffffff
je 0x416eb9
mov eax, dword [esp + 0x264]
push ebp
push eax
push ebx
call fcn.00416f30
add esp, 0xc
test eax, eax
je 0x416d72
mov ax, word [ebx + 0x9c0]
lea edi, [ebx + 0x9b8]
and ax, 0xfffd
lea esi, [ebx + 0xade]
sub ax, 0xfffd
push ebp
cmp ax, 1
mov ecx, dword [edi]
sbb eax, eax
lea edx, [ebx + 0x34c]
neg eax
push eax
push ecx
push esi
push edx
call dword [ebx + 4]
add esp, 0x14
cmp eax, 0xffffffff
je 0x416ed1
mov ax, word [ebx + 0x9c0]
and ax, 0xfffd
cmp ax, 0xfffd
je 0x416c7f
mov ax, word [ebx + 0xad8]
mov word [ebx + 0x9c0], ax
mov eax, dword [ebx + 0x9bc]
add eax, dword [edi]
cmp eax, dword [esp + 0x44]
jbe 0x416cb0
mov ax, word [ebx + 0x9c0]
mov word [ebx + 0x9c0], 0xffff
and ax, 0xfffd
cmp ax, 0xfffd
je 0x416cb0
mov word [ebx + 0x9c0], 0xfffe
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [ebx + 0x13c]
push 0x10
push edi
push edx
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
push ebp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [ebx + 0x13c]
push esi
push edx
call fcn.00418290
add esp, 0x14
test eax, eax
je 0x416975
mov ax, word [ebx + 0x9c0]
and ax, 0xfffe
inc word [ebx + 0x9b0]
cmp ax, 0xfffe
jne 0x416c07
mov eax, dword [esp + 0x264]
push ebp
mov word [ebx + 0x9c0], 0xfffd
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebx + 0x1c]
lea eax, [esp + 0x158]
push ecx
push edx
push 0x10
push edi
push eax
call fcn.00418230
add esp, 0x18
test eax, eax
je 0x416975
mov eax, dword [esp + 0x264]
push ebp
mov edx, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x2c]
lea eax, [esp + 0x158]
push ecx
push edx
push esi
push eax
call fcn.00418290
add esp, 0x14
test eax, eax
jne 0x416c07
jmp 0x416975
mov eax, dword [esp + 0x264]
push ebp
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x24]
push ecx
push edx
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x30]
push ecx
push 2
push edx
call fcn.00418170
add esp, 0x18
test eax, eax
je 0x416975
lea esi, [esp + 0x4c]
mov edi, dword [esp + 0x24]
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x154]
mov edi, dword [esp + 0x28]
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x34], 0
je 0x416e23
mov eax, dword [esp + 0x48]
push ebp
lea ecx, [esp + 0x3c]
push eax
mov edx, dword [esp + 0x278]
push ecx
push edx
push ebx
call fcn.00417150
add esp, 0x14
test eax, eax
je 0x416975
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x416e07
mov ecx, dword [ebx + 0x364]
cmp dword [ebx + 0x688], ecx
jne 0x416e07
mov dword [ebx + 0x670], eax
lea esi, [ebx + 0x670]
lea edi, [ebx + 0x34c]
mov ecx, 0xc9
rep movsd dword es:[edi], dword [esi]
mov word [ebx + 0xad8], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [ecx]
jne 0x416582
cmp dword [esp + 0x268], 0
jne 0x416e46
inc word [ebx + 0xad8]
mov ecx, dword [esp + 0x14]
push ecx
call dword [ebx + 0x10]
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [ebx + 0x10]
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24c
ret
push 0
mov eax, dword [ebx + 0x2c]
push 7
push eax
call fcn.00418720
add esp, 0xc
jmp 0x416975
push 0
mov eax, dword [ebx + 0x2c]
push 7
push eax
call fcn.00418720
add esp, 0xc
jmp 0x416975
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x2c]
push eax
push 4
push ecx
call fcn.00418720
add esp, 0xc
jmp 0x416975
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x2c]
push eax
push 4
push ecx
call fcn.00418720
add esp, 0xc
jmp 0x416975
push 0
mov eax, dword [ebx + 0x2c]
push 7
push eax
call fcn.00418720
add esp, 0xc
jmp 0x416975