Function at 0x40eda4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x804f70
sub esp, 0x174
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x178]
lea edx, [esp + 0x70]
push ebx
push esi
push edi
mov dword [esp + 0x2c], eax
lea esi, [ecx + 0xc]
mov dword [esp + 0x7c], eax
xor edi, edi
mov dword [esp + 0x30], eax
inc edi
lea eax, [esp + 0x38]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x74], edx
push eax
mov ecx, esi
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x7c], edi
call fcn.00403300
test al, al
je 0x804fea
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004051dc
mov ecx, dword [esp + 0x194]
mov dword [eax + 4], ecx
mov edi, dword [esp + 0x74]
test edi, edi
je 0x8054f9
mov eax, dword [esp + 0x188]
mov dword [esp + 0x28], eax
nop dword [eax]
mov eax, dword [esp + 0x70]
mov ecx, esi
mov ebx, dword [eax + edi*4 - 4]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ebx
dec edi
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x7c], edi
call fcn.004119cd
mov edx, dword [esp + 0x34]
test al, al
jne 0x8050dd
mov ebx, dword [esi + 4]
mov edi, dword [esi + 0xc]
inc ebx
mov dword [esp + 0x14], edx
lea ecx, [edi + edi*2]
lea eax, [ebx*4]
cmp eax, ecx
jb 0x805051
lea eax, [edi + edi]
push eax
jmp 0x805062
mov ecx, edi
mov eax, edi
sub ecx, dword [esi + 8]
sub ecx, ebx
shr eax, 3
cmp ecx, eax
ja 0x80507e
push edi
mov ecx, esi
call fcn.0040e6f6
lea eax, [esp + 0x14]
mov ecx, esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004119cd
mov edx, dword [esp + 0x14]
inc dword [esi + 4]
cmp dword [edx], 0xfffff000
je 0x80508c
dec dword [esi + 8]
mov ebx, dword [esp + 0x18]
lea eax, [edx + 0x24]
mov dword [edx], ebx
xorps xmm0, xmm0
movups xmmword [edx + 4], xmm0
movups xmmword [edx + 0x14], xmm0
movq qword [edx + 0x24], xmm0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 2
mov edi, dword [esp + 0x74]
cmp dword [edx + 4], 0
jne 0x8054bb
mov eax, dword [esp + 0x28]
inc eax
mov dword [edx + 0x10], ebx
mov dword [edx + 0xc], eax
mov dword [edx + 4], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x805116
mov dword [eax], ebx
add dword [edx + 4], 4
jmp 0x805207
mov edx, dword [edx]
sub eax, edx
sar eax, 2
mov dword [esp + 0x10], eax
cmp eax, 0x3fffffff
je 0x805507
sub ecx, edx
lea ebx, [eax + 1]
sar ecx, 2
mov eax, 0x3fffffff
mov edx, ecx
mov dword [esp + 0x1c], ebx
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x80515e
mov eax, 0xfffffffc
mov edi, 0x3fffffff
push eax
call fcn.00404818
add esp, 4
mov ebx, eax
jmp 0x8051a2
lea eax, [edx + ecx]
mov edi, ebx
cmp eax, ebx
cmovae edi, eax
cmp edi, 0x3fffffff
ja 0x805502
lea eax, [edi*4]
cmp eax, 0x1000
jb 0x80518f
push eax
call fcn.00404818
add esp, 4
mov ebx, eax
jmp 0x8051a2
test eax, eax
je 0x8051a0
push eax
call fcn.00405e93
add esp, 4
mov ebx, eax
jmp 0x8051a2
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [ebx + eax*4]
mov dword [eax], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jne 0x8051c8
mov eax, ebx
jmp 0x8051e5
push ebx
push eax
push edx
call fcn.004112a7
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add eax, 4
mov ecx, dword [ecx + 4]
push eax
push ecx
push edx
call fcn.004112a7
mov ecx, dword [esp + 0x30]
add esp, 0xc
push edi
push dword [esp + 0x20]
push ebx
call fcn.00408297
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push dword [edx + 0x1c]
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.00402955
mov ebx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
lea eax, [ebx + eax*4]
mov dword [esp + 0x38], eax
cmp ebx, eax
je 0x8054a5
call fcn.0040e1b0
mov byte [esp + 0xf], al
nop dword [eax]
mov eax, dword [ebx]
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00403300
mov dl, byte [esp + 0xf]
test al, al
je 0x8052a1
mov ebx, dword [esi + 0xc]
test dl, dl
je 0x805287
mov eax, dword [esp + 0x2c]
mov edi, dword [esi]
imul edx, ebx, 0x2c
lea ecx, [eax + 0x2c]
add edx, edi
cmp eax, edx
mov dl, byte [esp + 0xf]
cmovne edi, ecx
jmp 0x805290
mov edi, dword [esp + 0x2c]
nop dword [eax + eax]
mov ecx, dword [esi]
imul eax, ebx, 0x2c
mov ebx, dword [esp + 0x10]
add eax, ecx
test dl, dl
je 0x8052ba
jmp 0x8052c0
mov ecx, dword [esi + 0xc]
mov edi, dword [esi]
imul eax, ecx, 0x2c
add eax, edi
test dl, dl
je 0x8052b3
mov ecx, edi
jmp 0x8052c0
mov edi, eax
imul eax, ecx, 0x2c
add eax, dword [esi]
mov ecx, eax
nop dword [eax]
cmp edi, ecx
je 0x80530e
test dl, dl
lea eax, [edi - 0x2c]
cmove eax, edi
cmp dword [eax + 4], 0
je 0x80530e
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], ecx
je 0x805490
mov ecx, dword [eax + 0x1c]
lea edi, [eax + 0x18]
cmp ecx, dword [edi + 8]
jb 0x8052fd
push 4
push 0
lea eax, [edi + 0xc]
mov ecx, edi
push eax
call fcn.00405e1b
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
jmp 0x805490
mov edi, dword [esp + 0x190]
lea eax, [esp + 0x3c]
push dword [esp + 0x1c]
push eax
lea ecx, [edi + 0x10]
call fcn.004014ce
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
mov dl, byte [esp + 0xf]
test dl, dl
lea eax, [ecx + eax*8]
cmove ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ecx
je 0x805490
test dl, dl
je 0x80534b
add eax, 0xfffffff8
mov eax, dword [eax + 4]
test eax, eax
je 0x805490
mov eax, dword [eax + 8]
cmp eax, dword [esp + 0x18c]
jbe 0x805490
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004119cd
mov edi, dword [esp + 0x30]
test al, al
je 0x805388
mov ebx, dword [esp + 0x1c]
jmp 0x80542f
mov ebx, dword [esi + 4]
mov edx, dword [esi + 0xc]
inc ebx
mov dword [esp + 0x14], edi
lea ecx, [edx + edx*2]
lea eax, [ebx*4]
cmp eax, ecx
jb 0x8053a7
lea eax, [edx + edx]
push eax
jmp 0x8053b8
mov ecx, edx
mov eax, edx
sub ecx, dword [esi + 8]
sub ecx, ebx
shr eax, 3
cmp ecx, eax
ja 0x8053d4
push edx
mov ecx, esi
call fcn.0040e6f6
lea eax, [esp + 0x14]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004119cd
mov edi, dword [esp + 0x14]
inc dword [esi + 4]
cmp dword [edi], 0xfffff000
je 0x8053e2
dec dword [esi + 8]
mov ebx, dword [esp + 0x1c]
lea eax, [edi + 0x24]
mov dword [edi], ebx
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
movups xmmword [edi + 0x14], xmm0
movq qword [edi + 0x24], xmm0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 2
mov ecx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x78]
jb 0x805452
push 4
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x7c]
call fcn.00405e1b
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x74]
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov ecx, dword [edi + 0x1c]
cmp ecx, dword [edi + 0x20]
jb 0x80547f
push 4
push 0
lea eax, [edi + 0x24]
push eax
lea ecx, [edi + 0x18]
call fcn.00405e1b
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
inc dword [edi + 0x1c]
add ebx, 4
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x38]
jne 0x805240
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x50]
cmp ebx, eax
je 0x8054b7
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x805000
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x7c]
cmp ecx, eax
je 0x8054dd
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x17c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x174
ret 0x14
mov ebx, dword [esp + 0x188]
jmp 0x8054c7
call fcn.004104b5
call fcn.00409269
int3