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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x54
mov edi, ecx
mov esi, dword [esp + 0x68]
movsx eax, byte [0x835d14]
test eax, eax
jne 0x45ea6d
mov ebp, dword [esi + 0x20]
sub ebp, dword [esi + 0x10]
add ebp, 1
mov ebx, dword [esi + 0x28]
sub ebx, dword [esi + 0x18]
add ebx, 1
mov edx, dword [0x835ae8]
mov eax, dword [0x835aec]
test ebp, ebp
jle 0x45ea6d
test ebx, ebx
jle 0x45ea6d
test edx, edx
jle 0x45ea6d
test eax, eax
jle 0x45ea6d
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x45e850
movsx ecx, byte [0x835718]
test ecx, ecx
je 0x45e850
movsx ecx, byte [0x83571c]
test ecx, ecx
je 0x45e850
cmp byte [0x835a18], 1
je 0x45ea77
cmp byte [0x835a1c], 1
je 0x45ea77
xor eax, eax
mov dword [0x835978], eax
mov dword [0x83597c], eax
mov eax, dword [esi + 0xc0]
call fcn.0045f094
test eax, eax
je 0x45e846
movsx eax, byte [0x835718]
test eax, eax
je 0x45e833
push 0x83fd1c
push 0x83b2b0
call fcn.00409024
add esp, 8
xor eax, eax
mov byte [0x83575c], al
mov byte [0x59cc6c], 1
mov byte [0x835718], al
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov ecx, dword [esi + 0x88]
mov dword [edi + 0x2c4], ecx
mov ecx, dword [esi + 0x8c]
neg ecx
mov dword [edi + 0x2c8], ecx
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x45e88f
movsx ecx, byte [0x835a18]
cmp ecx, 1
je 0x45eaaa
cmp byte [0x835a1c], 1
je 0x45eaaa
xor ecx, ecx
mov dword [0x835978], ecx
mov dword [0x83597c], ecx
cmp dword [edi], 0
jle 0x45edf3
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x70]
add eax, 0
add eax, ebx
mov dword [esp + 0x3c], eax
mov ebp, dword [esi + 0x78]
add ebp, 0
add ebp, dword [esi + 0x18]
mov dword [esp + 0x40], ebp
dec ecx
sub ecx, dword [esi + 0x28]
cdq
mov dword [0x835598], eax
mov dword [0x83559c], edx
mov eax, ebp
cdq
mov dword [0x8355a0], ebp
mov dword [0x8355a4], edx
mov eax, ebx
cdq
mov dword [0x8355a8], ebx
mov dword [0x8355ac], edx
mov eax, ecx
cdq
mov dword [0x8355b0], ecx
mov dword [0x8355b4], edx
push dword [edi + 0x2a4]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
call dword [0x578418]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x45e9b1
mov edx, dword [esp + 0x40]
test edx, edx
jle 0x45e9b1
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
lea eax, [ebx + eax]
cmp eax, edx
jl 0x45e9b1
mov dword [esp + 0x30], edi
mov ecx, edx
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x10]
lea edi, [edi + 0x2c0]
mov ebx, dword [0x835978]
add ebx, dword [esi + 0x70]
add ebx, edx
mov dword [esp + 0x4c], ebx
mov eax, dword [0x83597c]
add eax, dword [esi + 0x78]
xor ebx, ebx
push 0xcc0020
push ebx
push edi
push dword [esi + 0xc0]
push ecx
push ebp
push ebx
push edx
push ecx
push ebp
push eax
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x80]
push edx
mov ebx, ecx
mov edi, dword [esp + 0x64]
call dword [0x578070]
jmp 0x45e9e7
lea edx, [edi + 0x2c0]
push 0xcc0020
push 0
push edx
push dword [esi + 0xc0]
push ebx
push ebp
push ecx
mov edx, dword [esp + 0x54]
push edx
push ebx
push ebp
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x80]
push edx
call dword [0x578070]
mov eax, ebp
imul eax, ebx
add eax, eax
add eax, eax
cdq
mov dword [0x835540], eax
mov dword [0x835544], edx
mov ecx, dword [0x83597c]
mov eax, dword [0x83597c]
cdq
add ecx, dword [esi + 0x78]
adc edx, dword [esi + 0x7c]
add ecx, dword [esi + 0x18]
adc edx, dword [esi + 0x1c]
mov dword [0x835548], ecx
mov dword [0x83554c], edx
mov eax, dword [esi + 0x8c]
cdq
sub eax, dword [esi + 0x28]
sbb edx, dword [esi + 0x2c]
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [0x835550], eax
mov dword [0x835554], edx
mov eax, ebp
cdq
mov dword [0x8355b8], ebp
mov dword [0x8355bc], edx
mov eax, ebx
cdq
mov dword [0x8355c0], ebx
mov dword [0x8355c4], edx
mov ebx, dword [esp + 0x50]
push ebx
push dword [edi + 0x2a4]
call dword [0x578414]
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov ecx, dword [0x835ad8]
sub ecx, edx
mov edx, ecx
shr edx, 0x1f
add ecx, edx
sar ecx, 1
mov dword [0x835978], ecx
mov ebx, dword [0x835adc]
sub ebx, eax
mov eax, ebx
shr eax, 0x1f
add ebx, eax
sar ebx, 1
mov dword [0x83597c], ebx
jmp 0x45e807
mov ebx, dword [esi + 0x88]
mov dword [esp + 0x38], ebx
mov ebp, dword [esi + 0x8c]
mov dword [esp + 0x34], ebp
mov ebp, dword [0x835ad8]
sub ebp, edx
mov ebx, ebp
shr ebx, 0x1f
add ebp, ebx
sar ebp, 1
mov dword [0x835978], ebp
mov ebp, dword [0x835adc]
sub ebp, eax
mov ebx, ebp
shr ebx, 0x1f
add ebp, ebx
sar ebp, 1
mov dword [0x83597c], ebp
movsx ebx, byte [0x59cc68]
test ebx, ebx
je 0x45eb04
cmp byte [0x59cc6c], 1
je 0x45ec5f
test ecx, ecx
jne 0x45eb15
cmp byte [0x835a1c], 1
je 0x45ec5f
test ebx, ebx
je 0x45ebf1
movsx ebx, byte [0x59cc6c]
test ebx, ebx
jne 0x45ebf1
mov dword [esp + 0x30], edi
mov dword [edi + 0x2c4], edx
mov ebp, eax
neg ebp
mov dword [edi + 0x2c8], ebp
xor edi, edi
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x38]
lea ecx, [ebx - 1]
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x34]
lea ecx, [ebp - 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [0x835944]
mov edx, dword [esi + 0xc0]
xor ecx, ecx
mov edi, dword [esp + 0x30]
call fcn.00460b48
push dword [edi + 0x2a4]
call dword [0x578418]
mov ebx, eax
push 3
push ebx
call dword [0x578030]
mov eax, dword [0x835ae8]
mov esi, dword [0x835aec]
lea edx, [edi + 0x2c0]
xor ebp, ebp
push 0xcc0020
push ebp
push edx
push dword [0x835944]
push esi
push eax
push ebp
push ebp
push esi
push eax
push dword [0x83597c]
push dword [0x835978]
push ebx
call dword [0x578070]
push ebx
push dword [edi + 0x2a4]
call dword [0x578414]
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 4
push dword [edi + 0x2a4]
call dword [0x578418]
mov ebx, eax
push 3
push ebx
call dword [0x578030]
lea edx, [edi + 0x2c0]
xor eax, eax
push 0xcc0020
push eax
push edx
push dword [esi + 0xc0]
mov esi, dword [esp + 0x44]
push esi
mov ebp, dword [esp + 0x4c]
push ebp
push eax
push eax
push dword [0x835aec]
push dword [0x835ae8]
push dword [0x83597c]
push dword [0x835978]
push ebx
call dword [0x578070]
push ebx
push dword [edi + 0x2a4]
call dword [0x578414]
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov dword [edi + 0x2c4], edx
mov ebx, eax
neg ebx
mov dword [edi + 0x2c8], ebx
movzx ebp, byte [0x5b9ad4]
test ebp, ebp
je 0x45ed19
movzx ebx, byte [0x59c04c]
test ebx, ebx
je 0x45ed19
mov dword [esp + 0x30], edi
lea ecx, [edx + edx]
add ecx, ecx
sub ecx, edx
lea edx, [edx + ecx*8]
add edx, edx
add edx, edx
lea ecx, [eax + eax]
add ecx, ecx
sub ecx, eax
lea edi, [eax + ecx*8]
add edi, edi
add edi, edi
mov esi, dword [esp + 0x38]
lea eax, [esi + esi]
add eax, eax
sub eax, esi
lea eax, [esi + eax*8]
add eax, eax
lea ebx, [eax + eax - 0x64]
mov ebp, dword [esp + 0x34]
lea eax, [ebp + ebp]
add eax, eax
sub eax, ebp
lea eax, [ebp + eax*8]
add eax, eax
lea eax, [eax + eax - 0x64]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov eax, dword [0x835944]
mov edx, dword [esp + 0x68]
mov edx, dword [edx + 0xc0]
xor ecx, ecx
mov edi, dword [esp + 0x30]
call fcn.00461adc
jmp 0x45ed8c
mov dword [esp + 0x30], edi
lea esi, [edx + edx]
add esi, esi
sub esi, edx
lea ebp, [edx + esi*8]
add ebp, ebp
add ebp, ebp
lea edi, [eax + eax]
add edi, edi
sub edi, eax
lea ebx, [eax + edi*8]
add ebx, ebx
add ebx, ebx
mov ecx, dword [esp + 0x38]
lea eax, [ecx + ecx]
add eax, eax
sub eax, ecx
lea eax, [ecx + eax*8]
add eax, eax
lea edx, [eax + eax - 0x64]
mov eax, dword [esp + 0x34]
lea esi, [eax + eax]
add esi, esi
sub esi, eax
lea esi, [eax + esi*8]
add esi, esi
lea esi, [esi + esi - 0x64]
xor edi, edi
push ebx
push ebp
push eax
push ecx
push edi
push edi
push esi
push edx
push edi
push edi
mov eax, dword [esp + 0x90]
push dword [eax + 0xc0]
push dword [0x835944]
mov edi, dword [esp + 0x60]
call fcn.00460ef4
add esp, 0x30
push dword [edi + 0x2a4]
call dword [0x578418]
mov ebx, eax
push 3
push ebx
call dword [0x578030]
mov eax, dword [0x835ae8]
mov esi, dword [0x835aec]
lea edx, [edi + 0x2c0]
xor ebp, ebp
push 0xcc0020
push ebp
push edx
push dword [0x835944]
push esi
push eax
push ebp
push ebp
push esi
push eax
push dword [0x83597c]
push dword [0x835978]
push ebx
call dword [0x578070]
push ebx
push dword [edi + 0x2a4]
call dword [0x578414]
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x34], ecx
cmp ecx, edx
jne 0x45ee11
mov ecx, dword [esi + 0x8c]
cmp ecx, eax
je 0x45e8ac
jmp 0x45ee17
mov ecx, dword [esi + 0x8c]
mov dword [edi + 0x2c4], edx
mov ebx, eax
neg ebx
mov dword [edi + 0x2c8], ebx
cmp byte [0x59cc6c], 1
jne 0x45efcd
movsx ebx, byte [0x835a38]
test ebx, ebx
jne 0x45ef5c
movzx ebx, byte [0x5b9ad4]
test ebx, ebx
je 0x45eee8
movzx ebx, byte [0x59c04c]
test ebx, ebx
je 0x45eee8
mov dword [esp + 0x30], edi
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x34]
lea edi, [ebp + ebp]
add edi, edi
sub edi, ebp
lea edi, [ebp + edi*8]
add edi, edi
lea edi, [edi + edi - 0x64]
mov dword [esp + 0x10], edi
lea edi, [ecx + ecx]
add edi, edi
sub edi, ecx
lea edi, [ecx + edi*8]
add edi, edi
lea edi, [edi + edi - 0x64]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ecx
lea ecx, [edx + edx]
add ecx, ecx
sub ecx, edx
lea edx, [edx + ecx*8]
add edx, edx
add edx, edx
mov dword [esp + 0x28], edx
lea edx, [eax + eax]
add edx, edx
sub edx, eax
lea eax, [eax + edx*8]
add eax, eax
add eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [0x835944]
mov edx, dword [esi + 0xc0]
xor ecx, ecx
mov edi, dword [esp + 0x30]
call fcn.00461adc
jmp 0x45f017
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x34]
lea edi, [esi + esi]
add edi, edi
sub edi, esi
lea ebx, [esi + edi*8]
add ebx, ebx
lea ebp, [ebx + ebx - 0x64]
lea ebx, [ecx + ecx]
add ebx, ebx
sub ebx, ecx
lea ebx, [ecx + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea edx, [edx + edi*8]
add edx, edx
add edx, edx
lea edi, [eax + eax]
add edi, edi
sub edi, eax
lea edi, [eax + edi*8]
add edi, edi
add edi, edi
push edi
push edx
push ecx
push esi
xor eax, eax
push eax
push eax
push ebx
push ebp
push eax
push eax
mov esi, dword [esp + 0x90]
push dword [esi + 0xc0]
push dword [0x835944]
mov edi, dword [esp + 0x60]
call fcn.00460ef4
add esp, 0x30
jmp 0x45f017
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x34]
lea edi, [esi + esi]
add edi, edi
sub edi, esi
lea ebx, [esi + edi*8]
add ebx, ebx
lea ebp, [ebx + ebx - 0x64]
lea ebx, [ecx + ecx]
add ebx, ebx
sub ebx, ecx
lea ebx, [ecx + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea edx, [edx + edi*8]
add edx, edx
add edx, edx
lea edi, [eax + eax]
add edi, edi
sub edi, eax
lea edi, [eax + edi*8]
add edi, edi
add edi, edi
push edi
push edx
push ecx
push esi
xor eax, eax
push eax
push eax
push ebx
push ebp
push eax
push eax
mov esi, dword [esp + 0x90]
push dword [esi + 0xc0]
push dword [0x835944]
mov edi, dword [esp + 0x60]
call fcn.0045ff60
add esp, 0x30
jmp 0x45f017
mov dword [esp + 0x30], edi
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x34]
lea edi, [ebp - 1]
mov dword [esp + 0x10], edi
lea edi, [ecx - 1]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [0x835944]
mov edx, dword [esi + 0xc0]
xor ecx, ecx
mov edi, dword [esp + 0x30]
call fcn.00460b48
push dword [edi + 0x2a4]
call dword [0x578418]
mov ebp, eax
mov ebx, dword [0x835978]
add ebx, dword [esi + 0x70]
mov edx, dword [0x83597c]
add edx, dword [esi + 0x78]
mov dword [esp + 0x34], edx
push 3
push ebp
call dword [0x578030]
mov ecx, dword [0x835ae8]
mov eax, dword [0x835aec]
lea edx, [edi + 0x2c0]
xor esi, esi
push 0xcc0020
push esi
push edx
push dword [0x835944]
push eax
push ecx
push esi
push esi
push eax
push ecx
mov edx, dword [esp + 0x5c]
push edx
push ebx
push ebp
call dword [0x578070]
push ebp
push dword [edi + 0x2a4]
call dword [0x578414]
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret 4