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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x4d897c]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.0041d210
mov esi, dword [ebx + 0x154]
mov eax, dword [ebx + 0x158]
mov edx, dword [ebx + 0x15c]
mov ecx, dword [ebx + 0x160]
add esi, dword [ebx + 0x4b0]
add eax, dword [ebx + 0x4b4]
sub edx, dword [ebx + 0x4b8]
sub ecx, dword [ebx + 0x4bc]
xor edi, edi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
cmp dword [ebx + 0x4a8], edi
jne 0x455a80
push edi
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x1ac]
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebx + 0x4c8]
cmp ecx, edi
je 0x455aa8
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x455aa8
mov ecx, dword [ebx + 0x4c8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x4cc]
cmp ecx, edi
je 0x455ad0
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x455ad0
mov ecx, dword [ebx + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x4d0]
cmp ecx, edi
jle 0x455ae9
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x4d8], eax
cmp dword [ebx + 0x4d8], edi
jne 0x455afb
mov dword [ebx + 0x4d8], 1
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x4cc]
cdq
idiv dword [ebx + 0x4d8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], eax
cmp ecx, edi
je 0x455b45
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x455b45
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx + 0x4a4]
sub eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebx + 0x4d8]
mov dword [esp + 0x54], eax
mov ecx, dword [ebx + 0x4c8]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
cmp ecx, edi
je 0x455b83
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x455b83
mov eax, dword [ebx + 0x4c8]
sub esi, dword [eax + 0x4a8]
mov dword [esp + 0x20], esi
mov ecx, dword [ebx + 0x4cc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], esi
cmp ecx, edi
je 0x455bb6
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x455bb6
mov ecx, dword [ebx + 0x4cc]
sub esi, dword [ecx + 0x4a8]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
xor esi, esi
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x4a8], edi
jle 0x455fe4
jmp 0x455bd0
mov edx, dword [ebx + 0x4a4]
mov edi, dword [edx + esi*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc8]
mov ecx, edi
call edx
test al, al
je 0x455fd1
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
mov ecx, edi
call edx
test al, al
je 0x455c0f
mov eax, dword [ebx]
mov edx, dword [eax + 0x1a8]
push esi
mov ecx, ebx
call edx
jmp 0x455fd1
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
jne 0x455dd0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], esi
cmp esi, dword [ebx + 0x4a8]
jge 0x455dd0
mov edx, dword [ebx + 0x4a4]
mov eax, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
mov dword [esp + 0x40], esi
call eax
test al, al
je 0x455dbb
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
jne 0x455dbb
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call edx
mov esi, dword [esp + 0x4c]
sub esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x3c]
sub esi, dword [esp + 0x74]
sub esi, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
je 0x455cbd
inc eax
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
je 0x455cbd
sub esi, dword [ebx + 0x4c0]
jmp 0x455ccc
mov eax, dword [ebx + 0x4c0]
cdq
sub eax, edx
sar eax, 1
neg eax
add esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp esi, eax
jge 0x455ce4
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp esi, eax
jle 0x455cfc
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov esi, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x114]
mov eax, 0x270f
push eax
push esi
lea eax, [esp + 0x3c]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0x34], eax
jge 0x455d32
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0x34], eax
jle 0x455d4e
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x38], eax
jge 0x455d6a
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jle 0x455d90
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x80]
add eax, ecx
cmp dword [esp + 0x24], eax
jg 0x455da7
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
je 0x455dd0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0x4a8]
jl 0x455c48
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebx + 0x4c0]
mov ecx, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov ecx, dword [ebx + 0x4d8]
mov dword [esp + 0x10], eax
add eax, dword [esp + 0x8c]
add esi, dword [esp + 0x1c]
sub dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
cdq
idiv ecx
test edx, edx
jne 0x455e1e
sub esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x40], eax
cdq
idiv ecx
test edx, edx
jne 0x455e36
mov eax, dword [esp + 0x10]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], ecx
sub ecx, edx
sub eax, esi
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x68], ecx
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x14], 0
jne 0x455e83
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], 0
jne 0x455e92
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jge 0x455eae
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jle 0x455eca
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x18], eax
jge 0x455ee6
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x18], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jle 0x455f0c
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
sub esp, 0x10
add eax, esi
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x60]
sub eax, ecx
add eax, dword [esp + 0x58]
sar esi, 1
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add ecx, eax
mov dword [esp + 0x80], ecx
mov ecx, esp
add edx, esi
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x7c]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 0xc], eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
jne 0x455f92
mov ecx, dword [ebx + 0x4c0]
add ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
jmp 0x455f9a
mov edx, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x50]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x4c8]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x455fcd
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x455fcd
mov eax, dword [ebx + 0x4c8]
add esi, dword [eax + 0x4a8]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x30]
inc esi
mov dword [esp + 0x30], esi
cmp esi, dword [ebx + 0x4a8]
jl 0x455bd0
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1ac]
push eax
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 0x10