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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7616
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
mov ebx, dword [0x913080]
push ebp
xor ebp, ebp
push esi
push edi
cmp dword [ebx], ebp
jne 0x45e250
cmp dword [ebx + 0x158], ebp
je 0x45e250
cmp dword [ebx + 0x34], ebp
je 0x45e250
cmp dword [ebx + 0x30], ebp
lea edi, [ebx + 0x30]
je 0x45e213
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
xor ecx, ecx
call fcn.00448f00
mov eax, dword [ebx + 0x144]
imul eax, dword [ebx + 0x140]
mov ecx, dword [ebx + 0x15c]
push eax
push ebp
push ecx
call fcn.00487bc0
add esp, 0xc
cmp dword [ebx + 0x170], ebp
je 0x45e1c7
mov eax, 0x91284c
jmp 0x45e1e0
cmp dword [0x91238c], ebp
je 0x45e1d6
mov eax, 0x91244c
jmp 0x45e1e0
push 1
call fcn.0045dd00
add esp, 4
mov edx, dword [ebx + 0x15c]
push ebp
push edx
mov edx, dword [ebx + 0x168]
lea ecx, [ebx + 0x40]
push ecx
mov ecx, dword [ebx + 0x16c]
push eax
mov eax, dword [ebx + 0x164]
push edx
mov edx, dword [esi]
push eax
push 2
push 2
push ecx
push edx
call fcn.00415a50
add esp, 0x28
mov dword [edi], ebp
mov eax, dword [ebx + 0x14]
mov edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
cmp dword [ebx + 0x38], ebp
je 0x45e237
mov ecx, dword [ebx + 0x3c]
cmp ecx, edi
jge 0x45e234
mov dword [esp + 0x14], ecx
mov edi, ecx
jmp 0x45e237
mov dword [ebx + 0x38], ebp
cmp dword [ebx + 0x2c], ebp
je 0x45e26d
mov ecx, dword [ebx + 0x140]
add ecx, eax
cmp dword [ebx + 0x3c], ecx
jb 0x45e26d
mov edi, ebx
call fcn.0045e0e0
xor eax, eax
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret 0xc
mov ecx, dword [ebx + 0x144]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
sub ecx, edi
add ecx, eax
cmp edi, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ecx
jl 0x45e2a0
mov eax, dword [ebx + 0x3c]
sub eax, edi
xor edx, edx
div dword [ebx + 0x140]
mov ebp, edx
mov eax, dword [ebx + 0x140]
cmp edi, eax
mov dword [esp + 0x38], ebp
jge 0x45e2b2
mov esi, edi
jmp 0x45e2b6
mov esi, eax
sub esi, ebp
lea edx, [esi + ebp]
cmp edx, eax
mov dword [esp + 0x28], esi
jle 0x45e2c9
sub eax, ebp
mov esi, eax
mov dword [esp + 0x28], esi
test edi, edi
je 0x45e573
jmp 0x45e2d7
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0xc]
lea edx, [eax + 0x20]
cmp ecx, edx
jge 0x45e3de
sub eax, ecx
add eax, 0x20
cmp esi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jle 0x45e2fc
mov esi, eax
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + ebp]
push 0x1c
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
call fcn.00483793
add esp, 4
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x8c], edi
cmp eax, edi
je 0x45e354
mov edx, dword [ebx + 0x140]
mov ecx, dword [ebx + 0x15c]
push 0xff
push edi
push edx
push ecx
push 0x40
push eax
lea eax, [esp + 0x68]
call fcn.00440680
mov edi, eax
push 2
mov dword [esp + 0x90], 0xffffffff
mov edx, dword [ebx + 0x15c]
push edx
mov edx, dword [ebx + 8]
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
push edx
push 1
push 1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x58]
call fcn.0044e390
add esp, 0x20
test edi, edi
je 0x45e39c
call fcn.00440620
push edi
call fcn.0048376d
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x30], esi
sub ecx, esi
mov dword [esp + 0x14], ecx
cmp eax, esi
je 0x45e3c3
mov ecx, dword [esp + 0x20]
add ebp, ecx
mov dword [esp + 0x38], ebp
sub eax, ecx
jmp 0x45e558
mov esi, dword [ebx + 0x140]
xor ebp, ebp
cmp ecx, esi
mov dword [esp + 0x38], ebp
jg 0x45e55a
mov esi, ecx
jmp 0x45e55a
mov edx, dword [ebx + 0x14]
add eax, edx
lea edx, [eax - 0x20]
cmp ecx, edx
jl 0x45e4ea
sub eax, ecx
cmp esi, eax
mov dword [esp + 0x1c], esi
jle 0x45e3fe
mov esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
lea edi, [esi + ebp]
push 0x1c
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
call fcn.00483793
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x8c], 1
test eax, eax
je 0x45e45f
mov ecx, dword [ebx + 0x140]
mov edx, dword [ebx + 0x15c]
push 0xff
push 1
push ecx
push edx
push 0x40
push eax
lea eax, [esp + 0x78]
call fcn.00440680
mov ebp, eax
jmp 0x45e461
xor ebp, ebp
push 2
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [ebx + 0x15c]
push eax
mov eax, dword [ebx + 8]
push 0
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
push eax
push 1
push 1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x58]
call fcn.0044e390
add esp, 0x20
test ebp, ebp
je 0x45e4af
mov edi, ebp
call fcn.00440620
push ebp
call fcn.0048376d
mov edi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x30], esi
sub ecx, esi
mov ebp, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ebp
cmp eax, esi
je 0x45e4d2
sub eax, esi
jmp 0x45e558
mov esi, dword [ebx + 0x140]
cmp ebp, esi
jl 0x45e4e2
xor ebp, ebp
mov dword [esp + 0x38], ebp
cmp ecx, esi
jg 0x45e55a
mov esi, ecx
jmp 0x45e55a
add ecx, esi
cmp ecx, edx
mov edi, esi
jle 0x45e4ff
sub eax, dword [esp + 0x30]
sub eax, 0x20
mov esi, eax
mov dword [esp + 0x28], esi
mov edx, dword [ebx + 0x15c]
push 2
push edx
mov edx, dword [ebx + 8]
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
push edx
push 1
push 1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x58]
call fcn.0044e390
mov eax, dword [esp + 0x34]
add dword [esp + 0x50], esi
sub eax, esi
add esp, 0x20
mov dword [esp + 0x14], eax
cmp edi, esi
je 0x45e548
add ebp, esi
sub edi, esi
mov dword [esp + 0x38], ebp
mov esi, edi
jmp 0x45e55a
mov esi, dword [ebx + 0x140]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x38], ebp
jg 0x45e55a
mov esi, eax
cmp dword [ebx + 0x2c], 0
mov dword [esp + 0x28], esi
je 0x45e568
test ebp, ebp
je 0x45e573
cmp dword [esp + 0x14], 0
jne 0x45e2d3
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov esi, dword [0x4b9294]
add edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x144]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
test eax, eax
je 0x45e5c0
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x78]
push edx
call esi
test eax, eax
je 0x45e5c0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x98]
test eax, eax
je 0x45e5e1
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
push ecx
call esi
test eax, eax
je 0x45e5e1
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x45e602
push eax
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x45e602
or dword [esp + 0x18], 4
mov eax, dword [esp + 0x18]
jmp 0x45e252