Function at 0x418f50
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x564
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ecx + 5]
push esi
movzx esi, byte [edx + 7]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], eax
lea eax, [ecx + 0x430]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x1c]
movzx edx, byte [edx + 0x18]
mov edx, dword [edx*4 + 0x42e860]
push edi
movzx edi, byte [eax + 4]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x2c0]
push edx
movsx edx, byte [ecx + 0x11]
push edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], esi
movzx esi, byte [eax + 5]
add edx, 0x14
push edx
mov edx, dword [eax + 0x1c]
add ecx, 0x3c
push ecx
movzx ecx, byte [eax + 1]
mov dword [esp + 0x88], esi
sub esi, edi
mov dword [esp + 0x40], esi
movzx esi, byte [eax + 2]
push ecx
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x8c], esi
call fcn.00416c60
movzx eax, bl
add esp, 0x18
test eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x60], eax
jle 0x4199e3
mov edi, edi
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x2c]
mov dl, byte [esi + ecx + 6]
mov bl, byte [esp + 0x70]
mov edi, dword [esp + 0x44]
mov al, dl
imul bl
mov byte [esp + 0x13], al
mov al, byte [ecx + esi + 7]
imul bl
cmp dl, byte [ecx + edi + 0x14]
mov bl, byte [ecx + esi + 0xc]
mov byte [esp + 0x1b], bl
jne 0x419043
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x74]
add dword [esp + 0x44], 1
lea edx, [edx + edi*4]
mov dword [esp + 0x50], edx
movsx ecx, byte [ecx + 0x11]
cmp esi, ecx
je 0x419073
mov edx, dword [ebp + 8]
cmp esi, dword [edx + 0x10]
je 0x419073
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1a]
add edx, edx
add edx, edx
mov ecx, 4
sub ecx, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], ecx
jmp 0x419083
mov dword [esp + 0x24], 1
mov dword [esp + 0x58], 0
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x19], 0
movzx eax, al
mov dword [esp + 0x4c], eax
je 0x4190c3
movzx ecx, byte [esp + 0x13]
mov edi, dword [ebp + 0x20]
lea edx, [esp + 0x2f0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x88]
push ecx
call fcn.004174b0
jmp 0x4190f9
movzx edx, byte [esp + 0x13]
lea esi, [esp + 0x2f0]
push esi
mov esi, dword [ebp + 0x18]
push eax
movzx ecx, bl
mov ebx, dword [ebp + 0x20]
push edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
movzx eax, byte [ecx + edx]
mov edx, dword [edx + ecx*4 + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.004176c0
mov bl, byte [esp + 0x2f]
mov eax, dword [esp + 0x50]
mov dl, byte [eax + 0x6b]
movzx ecx, bl
mov edi, dword [eax + ecx*4 + 0x18]
movzx ecx, byte [ecx + eax]
xor esi, esi
add esp, 0x14
cmp ecx, esi
mov byte [esp + 0x1b], dl
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], esi
jle 0x419280
mov eax, dword [esp + 0x64]
mov edx, dword [ebp + 0x10]
add edi, 1
lea ebx, [edx + eax*4 + 0x70]
add eax, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x64], eax
movzx ecx, byte [edi]
movzx edx, byte [edi - 1]
cmp edx, ecx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x48], 0
jge 0x419181
mov eax, ecx
sub eax, edx
lea ecx, [ecx]
mov edi, dword [esp + 0x14]
movsx edi, byte [esp + edi + 0x2c0]
cmp dword [esp + 0x2c], edi
jl 0x419177
mov byte [esp + 0x48], 1
add dword [esp + 0x14], 1
sub eax, 1
jne 0x419160
cmp edx, ecx
mov dword [esp + 0x5c], edx
jge 0x41925f
mov ebx, dword [ebx]
mov eax, edx
sub eax, dword [esp + 0x28]
lea edi, [esp + esi*4 + 0x3b0]
lea eax, [esp + eax*4 + 0x470]
mov dword [esp + 0x20], eax
sub ecx, edx
mov eax, ebx
rep stosd dword es:[edi], eax
lea ecx, [ecx]
movzx ecx, byte [esp + 0x1b]
cmp edx, ecx
jl 0x4191d2
mov al, byte [esp + 0x13]
add al, 1
movzx edx, al
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x3c]
mov cl, byte [edx + eax + 0x6b]
mov byte [esp + 0x1b], cl
cmp dword [ebp + 0x20], 0
je 0x4191e7
mov eax, dword [esp + 0x20]
xor edx, edx
cmp byte [esp + 0x48], dl
sete dl
mov dword [eax], edx
movsx edx, byte [esp + esi + 0x2c0]
cmp dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x24]
movzx edx, byte [esp + 0x13]
mov ebx, dword [esp + 0x50]
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x54]
setge al
push ecx
mov ecx, dword [esp + 0x4c]
lea edi, [esp + esi*4 + 0x204]
mov dword [edi], 0
push eax
push ecx
push edx
mov edx, dword [esp + esi*4 + 0x300]
push edx
mov edx, dword [ebx]
push edx
lea ecx, [esp + esi*4 + 0x158]
lea eax, [esp + esi*4 + 0x98]
mov edx, edi
call fcn.00417920
mov edx, dword [esp + 0x74]
add dword [esp + 0x38], 4
add edx, 1
add esp, 0x18
add esi, 1
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
jl 0x4191b0
mov edi, dword [esp + 0x68]
add ebx, 4
add edi, 1
sub dword [esp + 0x38], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x68], edi
jne 0x419145
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax + 0x13]
test ecx, ecx
mov ebx, dword [esp + 0x24]
jle 0x41974f
add eax, 7
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], ecx
jmp 0x4192a0
mov eax, dword [esp + 0x20]
movzx esi, byte [eax - 1]
movzx edi, byte [eax]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x2f8]
push edx
lea eax, [esp + 0x3bc]
push eax
mov eax, edi
mov edx, esi
call fcn.004179c0
add esp, 0x10
fld dword [esp + 0x1c]
fmul dword [esp + 0x6c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x430fec]
fnstsw ax
test ah, 0x41
jne 0x4192fc
mov edx, 0x501502f9
mov dword [esp + 0x1c], edx
jmp 0x419300
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov eax, edi
sub eax, ecx
cmp eax, 4
jl 0x4193e5
lea esi, [edi - 3]
fld dword [esp + ecx*4 + 0x80]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x419344
fld dword [esp + 0x1c]
fdiv dword [esp + ecx*4 + 0x80]
mov dword [esp + ecx*4 + 0x80], edx
fmul dword [esp + ecx*4 + 0x140]
fstp dword [esp + ecx*4 + 0x140]
fld dword [esp + ecx*4 + 0x84]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x419376
fld dword [esp + 0x1c]
fdiv dword [esp + ecx*4 + 0x84]
mov dword [esp + ecx*4 + 0x84], edx
fmul dword [esp + ecx*4 + 0x144]
fstp dword [esp + ecx*4 + 0x144]
fld dword [esp + ecx*4 + 0x88]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x4193a8
fld dword [esp + 0x1c]
fdiv dword [esp + ecx*4 + 0x88]
mov dword [esp + ecx*4 + 0x88], edx
fmul dword [esp + ecx*4 + 0x148]
fstp dword [esp + ecx*4 + 0x148]
fld dword [esp + ecx*4 + 0x8c]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x4193da
fld dword [esp + 0x1c]
fdiv dword [esp + ecx*4 + 0x8c]
mov dword [esp + ecx*4 + 0x8c], edx
fmul dword [esp + ecx*4 + 0x14c]
fstp dword [esp + ecx*4 + 0x14c]
add ecx, 4
cmp ecx, esi
jl 0x419312
cmp ecx, edi
jge 0x419429
lea esp, [esp]
fld dword [esp + ecx*4 + 0x80]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x419422
fld dword [esp + 0x1c]
fdiv dword [esp + ecx*4 + 0x80]
mov dword [esp + ecx*4 + 0x80], edx
fmul dword [esp + ecx*4 + 0x140]
fstp dword [esp + ecx*4 + 0x140]
add ecx, 1
cmp ecx, edi
jl 0x4193f0
mov esi, dword [esp + 0x20]
movzx ecx, byte [esi - 1]
mov edx, edi
sub edx, ecx
cmp edx, 4
mov dword [esp + 0xc], 0
jl 0x41958b
lea edx, [edi - 3]
lea esp, [esp]
fld dword [esp + ecx*4 + 0x80]
fmul dword [esp + ecx*4 + 0x2f0]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x42e7d0]
fld dword [esp + ecx*4 + 0x200]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x419489
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x200]
jmp 0x419498
test ebx, ebx
jne 0x41949c
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x140]
fstp dword [esp + 0xc]
fld dword [esp + ecx*4 + 0x2f4]
fmul dword [esp + ecx*4 + 0x84]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x42e7d0]
fld dword [esp + ecx*4 + 0x204]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4194d5
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x204]
jmp 0x4194e4
test ebx, ebx
jne 0x4194e8
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x144]
fstp dword [esp + 0xc]
fld dword [esp + ecx*4 + 0x2f8]
fmul dword [esp + ecx*4 + 0x88]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x42e7d0]
fld dword [esp + ecx*4 + 0x208]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x419521
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x208]
jmp 0x419530
test ebx, ebx
jne 0x419534
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x148]
fstp dword [esp + 0xc]
fld dword [esp + ecx*4 + 0x2fc]
fmul dword [esp + ecx*4 + 0x8c]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x42e7d0]
fld dword [esp + ecx*4 + 0x20c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x41956d
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x20c]
jmp 0x41957c
test ebx, ebx
jne 0x419580
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x14c]
fstp dword [esp + 0xc]
add ecx, 4
cmp ecx, edx
jl 0x419450
cmp ecx, edi
jge 0x4195e3
nop
fld dword [esp + ecx*4 + 0x80]
fmul dword [esp + ecx*4 + 0x2f0]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [0x42e7d0]
fld dword [esp + ecx*4 + 0x200]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4195c9
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x200]
jmp 0x4195d8
test ebx, ebx
jne 0x4195dc
fld dword [esp + 0xc]
fadd dword [esp + ecx*4 + 0x140]
fstp dword [esp + 0xc]
add ecx, 1
cmp ecx, edi
jl 0x419590
fld dword [0x42e7d0]
fld dword [esp + 0xc]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4195fe
mov dword [esp + 0xc], 0x2b8cbccc
fld dword [esp + 0x7c]
fdiv dword [esp + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp dword [0x430fe8]
fnstsw ax
test ah, 0x41
jne 0x419623
mov dword [esp + 0x14], 0x4020c2bf
movzx eax, byte [esi - 1]
mov ecx, edi
sub ecx, eax
cmp ecx, 4
jl 0x419702
lea ecx, [edi - 3]
fld dword [esp + 0x14]
add eax, 4
cmp eax, ecx
fmul dword [esp + eax*4 + 0x70]
fstp dword [esp + eax*4 + 0x70]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x1f0]
fstp dword [esp + eax*4 + 0x1f0]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x130]
fstp dword [esp + eax*4 + 0x130]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x74]
fstp dword [esp + eax*4 + 0x74]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x1f4]
fstp dword [esp + eax*4 + 0x1f4]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x134]
fstp dword [esp + eax*4 + 0x134]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x78]
fstp dword [esp + eax*4 + 0x78]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x1f8]
fstp dword [esp + eax*4 + 0x1f8]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x138]
fstp dword [esp + eax*4 + 0x138]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x7c]
fstp dword [esp + eax*4 + 0x7c]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x1fc]
fstp dword [esp + eax*4 + 0x1fc]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x13c]
fstp dword [esp + eax*4 + 0x13c]
jl 0x419637
cmp eax, edi
jge 0x41973d
fld dword [esp + 0x14]
add eax, 1
cmp eax, edi
fmul dword [esp + eax*4 + 0x7c]
fstp dword [esp + eax*4 + 0x7c]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x1fc]
fstp dword [esp + eax*4 + 0x1fc]
fld dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x13c]
fstp dword [esp + eax*4 + 0x13c]
jl 0x419706
add esi, 1
sub dword [esp + 0x38], 1
mov dword [esp + 0x20], esi
jne 0x4192a0
cmp dword [ebp + 0x20], 0
mov edi, dword [esp + 0x30]
je 0x419785
push edi
lea edx, [esp + 0x474]
push edx
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x2f8]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [edx + eax*4]
push ecx
call fcn.00416d20
add esp, 0x14
xor esi, esi
test edi, edi
jle 0x4197df
jmp 0x419790
fld dword [esp + esi*4 + 0x200]
sub esp, 8
fstp qword [esp]
call fcn.004243c4
fstp dword [esp + esi*4 + 0x208]
fld dword [esp + esi*4 + 0x88]
fstp qword [esp]
call fcn.004243c4
fstp dword [esp + esi*4 + 0x88]
fld dword [esp + esi*4 + 0x148]
fstp qword [esp]
call fcn.004243c4
fstp dword [esp + esi*4 + 0x148]
add esi, 1
add esp, 8
cmp esi, edi
jl 0x419790
mov esi, dword [ebp + 8]
cmp dword [esi + 8], 0
je 0x4198a7
xor eax, eax
cmp edi, 4
jl 0x419871
lea ecx, [edi - 3]
jmp 0x419800
mov edx, dword [esi + 4]
mov ebx, dword [esp + eax*4 + 0x140]
mov dword [edx + eax*4], ebx
mov edx, dword [esi]
mov ebx, dword [esp + eax*4 + 0x80]
mov dword [edx + eax*4], ebx
mov edx, dword [esi + 4]
mov ebx, dword [esp + eax*4 + 0x144]
mov dword [edx + eax*4 + 4], ebx
mov edx, dword [esi]
mov ebx, dword [esp + eax*4 + 0x84]
mov dword [edx + eax*4 + 4], ebx
mov edx, dword [esi + 4]
mov ebx, dword [esp + eax*4 + 0x148]
mov dword [edx + eax*4 + 8], ebx
mov edx, dword [esi]
mov ebx, dword [esp + eax*4 + 0x88]
mov dword [edx + eax*4 + 8], ebx
mov edx, dword [esi + 4]
mov ebx, dword [esp + eax*4 + 0x14c]
mov dword [edx + eax*4 + 0xc], ebx
mov ebx, dword [esp + eax*4 + 0x8c]
mov edx, dword [esi]
mov dword [edx + eax*4 + 0xc], ebx
add eax, 4
cmp eax, ecx
jl 0x419800
cmp eax, edi
jge 0x4198a0
jmp 0x419880
mov ecx, dword [esi + 4]
mov edx, dword [esp + eax*4 + 0x140]
mov dword [ecx + eax*4], edx
mov edx, dword [esp + eax*4 + 0x80]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, edi
jl 0x419880
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x4c]
jge 0x4199b1
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x28]
mov eax, ecx
sub eax, ecx
mov dword [esp + 0x20], eax
lea eax, [eax*4 + 0x42e880]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
sub eax, edx
add ebx, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
add ebx, ebx
sub eax, ecx
lea edi, [edx + ecx*4]
mov dword [esp + 0x34], eax
lea esp, [esp]
cmp dword [ebp + 0x20], 0
je 0x419933
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x214]
push ecx
mov ecx, dword [edi]
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x9c]
push eax
add ecx, ebx
call fcn.00417ac0
add esp, 0x20
jmp 0x419992
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x58]
jge 0x419945
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x419947
xor eax, eax
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
push edx
mov edx, dword [esi]
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x214]
push eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x158]
push ecx
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [edi]
add ecx, ebx
push ecx
add edx, ebx
push edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0xa8]
call fcn.00418b50
add esp, 0x28
add dword [esp + 0x14], 4
mov eax, 1
add dword [esp + 0x20], eax
add edi, 4
sub dword [esp + 0x34], eax
jne 0x4198f0
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x140]
push edi
push eax
mov eax, dword [esi]
lea edx, [esp + 0x88]
call fcn.00417420
mov eax, dword [esp + 0x34]
add eax, 1
add esp, 8
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
jl 0x419000
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + 0x11]
sub edx, dword [esp + 0x60]
mov eax, dword [ebp + 8]
pop edi
neg edx
sbb edx, edx
pop esi
mov dword [eax + 0x10], edx
pop ebx
mov esp, ebp
pop ebp
ret