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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x50
mov ebp, ecx
mov ebx, dword [esp + 0x64]
movsx eax, byte [0x8345f8]
test eax, eax
jne 0x45e9bb
mov edx, dword [ebx + 0x20]
sub edx, dword [ebx + 0x10]
add edx, 1
mov dword [esp + 0x4c], edx
mov edi, dword [ebx + 0x28]
sub edi, dword [ebx + 0x18]
add edi, 1
mov ecx, dword [0x8343cc]
mov eax, dword [0x8343d0]
test edx, edx
jle 0x45e9bb
test edi, edi
jle 0x45e9bb
test ecx, ecx
jle 0x45e9bb
test eax, eax
jle 0x45e9bb
mov esi, dword [ebp]
test esi, esi
jne 0x45e7b1
movsx edx, byte [0x833ff8]
test edx, edx
je 0x45e7b1
movsx edx, byte [0x833ffc]
test edx, edx
je 0x45e7b1
cmp byte [0x8342fc], 1
je 0x45e9c5
cmp byte [0x834300], 1
je 0x45e9c5
xor eax, eax
mov dword [0x83425c], eax
mov dword [0x834260], eax
mov eax, dword [ebx + 0xc0]
call fcn.0045efcc
test eax, eax
je 0x45e7a7
movsx eax, byte [0x833ff8]
test eax, eax
je 0x45e794
push 0x83edbc
push 0x83a2b0
call fcn.00409034
add esp, 8
xor eax, eax
mov byte [0x834040], al
mov byte [0x59b768], 1
mov byte [0x833ff8], al
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov edx, dword [ebx + 0x88]
mov dword [ebp + 0x2c4], edx
mov edx, dword [ebx + 0x8c]
neg edx
mov dword [ebp + 0x2c8], edx
test esi, esi
jne 0x45e7ec
movsx edx, byte [0x8342fc]
cmp edx, 1
je 0x45e9f8
cmp byte [0x834300], 1
je 0x45e9f8
test esi, esi
jne 0x45e801
xor edx, edx
mov dword [0x83425c], edx
mov dword [0x834260], edx
mov esi, dword [ebp]
test esi, esi
jle 0x45ed41
mov esi, dword [ebx + 0x8c]
mov dword [esp + 0x44], edi
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x38], edi
mov eax, dword [0x83425c]
add eax, dword [ebx + 0x70]
add eax, edi
mov dword [esp + 0x3c], eax
mov ecx, dword [0x834260]
add ecx, dword [ebx + 0x78]
add ecx, dword [ebx + 0x18]
dec esi
sub esi, dword [ebx + 0x28]
cdq
mov dword [0x833e78], eax
mov dword [0x833e7c], edx
mov eax, ecx
cdq
mov dword [0x833e80], ecx
mov dword [0x833e84], edx
mov eax, edi
cdq
mov dword [0x833e88], edi
mov dword [0x833e8c], edx
mov eax, esi
cdq
mov dword [0x833e90], esi
mov dword [0x833e94], edx
push dword [ebp + 0x2a4]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
call dword [0x577414]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x45e8fe
test ecx, ecx
jle 0x45e8fe
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x34], eax
lea edx, [edi + ecx]
cmp edx, eax
jl 0x45e8fe
mov dword [esp + 0x30], ebp
mov esi, eax
mov dword [esp + 0x44], esi
mov ecx, dword [ebx + 0x10]
lea edi, [ebp + 0x2c0]
mov edx, dword [0x83425c]
add edx, dword [ebx + 0x70]
add edx, ecx
mov eax, dword [0x834260]
add eax, dword [ebx + 0x78]
xor ebp, ebp
push 0xcc0020
push ebp
push edi
push dword [ebx + 0xc0]
push esi
mov edi, dword [esp + 0x60]
push edi
push ebp
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [esp + 0x70]
push eax
mov edi, esi
mov ebp, dword [esp + 0x64]
call dword [0x577070]
jmp 0x45e931
lea edx, [ebp + 0x2c0]
push 0xcc0020
push 0
push edx
push dword [ebx + 0xc0]
push edi
mov edx, dword [esp + 0x60]
push edx
push esi
mov esi, dword [esp + 0x54]
push esi
push edi
push edx
push ecx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x70]
push edx
call dword [0x577070]
mov esi, dword [esp + 0x4c]
mov eax, esi
imul eax, edi
add eax, eax
add eax, eax
cdq
mov dword [0x833e20], eax
mov dword [0x833e24], edx
mov ecx, dword [0x834260]
mov eax, dword [0x834260]
cdq
add ecx, dword [ebx + 0x78]
adc edx, dword [ebx + 0x7c]
add ecx, dword [ebx + 0x18]
adc edx, dword [ebx + 0x1c]
mov dword [0x833e28], ecx
mov dword [0x833e2c], edx
mov eax, dword [ebx + 0x8c]
cdq
sub eax, dword [ebx + 0x28]
sbb edx, dword [ebx + 0x2c]
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [0x833e30], eax
mov dword [0x833e34], edx
mov eax, esi
cdq
mov dword [0x833e98], esi
mov dword [0x833e9c], edx
mov eax, edi
cdq
mov dword [0x833ea0], edi
mov dword [0x833ea4], edx
mov ebx, dword [esp + 0x40]
push ebx
push dword [ebp + 0x2a4]
call dword [0x577410]
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov edx, dword [0x8343bc]
sub edx, ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
sar edx, 1
mov dword [0x83425c], edx
mov ebp, dword [0x8343c0]
sub ebp, eax
mov eax, ebp
shr eax, 0x1f
add ebp, eax
sar ebp, 1
mov dword [0x834260], ebp
jmp 0x45e768
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x38], esi
mov edi, dword [ebx + 0x8c]
mov dword [esp + 0x34], edi
mov edi, dword [0x8343bc]
sub edi, ecx
mov esi, edi
shr esi, 0x1f
add edi, esi
sar edi, 1
mov dword [0x83425c], edi
mov edi, dword [0x8343c0]
sub edi, eax
mov esi, edi
shr esi, 0x1f
add edi, esi
sar edi, 1
mov dword [0x834260], edi
movsx esi, byte [0x59b764]
test esi, esi
je 0x45ea52
cmp byte [0x59b768], 1
je 0x45ebad
test edx, edx
jne 0x45ea63
cmp byte [0x834300], 1
je 0x45ebad
test esi, esi
je 0x45eb3f
movsx edx, byte [0x59b768]
test edx, edx
jne 0x45eb3f
mov dword [esp + 0x30], ebp
mov dword [ebp + 0x2c4], ecx
mov edi, eax
neg edi
mov dword [ebp + 0x2c8], edi
xor ebp, ebp
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x38]
lea edx, [esi - 1]
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x34]
lea edx, [edi - 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [0x834228]
mov edx, dword [ebx + 0xc0]
xor ecx, ecx
mov ebp, dword [esp + 0x30]
call fcn.00460a80
push dword [ebp + 0x2a4]
call dword [0x577414]
mov ebx, eax
push 3
push ebx
call dword [0x577030]
mov eax, dword [0x8343cc]
mov edi, dword [0x8343d0]
lea edx, [ebp + 0x2c0]
xor esi, esi
push 0xcc0020
push esi
push edx
push dword [0x834228]
push edi
push eax
push esi
push esi
push edi
push eax
push dword [0x834260]
push dword [0x83425c]
push ebx
call dword [0x577070]
push ebx
push dword [ebp + 0x2a4]
call dword [0x577410]
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret 4
push dword [ebp + 0x2a4]
call dword [0x577414]
mov esi, eax
push 3
push esi
call dword [0x577030]
lea edx, [ebp + 0x2c0]
xor eax, eax
push 0xcc0020
push eax
push edx
push dword [ebx + 0xc0]
mov ebx, dword [esp + 0x44]
push ebx
mov edi, dword [esp + 0x4c]
push edi
push eax
push eax
push dword [0x8343d0]
push dword [0x8343cc]
push dword [0x834260]
push dword [0x83425c]
push esi
call dword [0x577070]
push esi
push dword [ebp + 0x2a4]
call dword [0x577410]
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov dword [ebp + 0x2c4], ecx
mov edx, eax
neg edx
mov dword [ebp + 0x2c8], edx
movzx esi, byte [0x5b85d4]
test esi, esi
je 0x45ec67
movzx edx, byte [0x59b04c]
test edx, edx
je 0x45ec67
mov dword [esp + 0x30], ebp
lea edx, [ecx + ecx]
add edx, edx
sub edx, ecx
lea edx, [ecx + edx*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 [0x834228]
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0xc0]
xor ecx, ecx
mov ebp, dword [esp + 0x30]
call fcn.00461a14
jmp 0x45ecda
mov dword [esp + 0x30], ebp
lea esi, [ecx + ecx]
add esi, esi
sub esi, ecx
lea ebp, [ecx + 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 edx, dword [esp + 0x38]
lea eax, [edx + edx]
add eax, eax
sub eax, edx
lea eax, [edx + eax*8]
add eax, eax
lea ecx, [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 edx
push edi
push edi
push esi
push ecx
push edi
push edi
mov eax, dword [esp + 0x8c]
push dword [eax + 0xc0]
push dword [0x834228]
mov ebp, dword [esp + 0x60]
call fcn.00460e2c
add esp, 0x30
push dword [ebp + 0x2a4]
call dword [0x577414]
mov ebx, eax
push 3
push ebx
call dword [0x577030]
mov eax, dword [0x8343cc]
mov edi, dword [0x8343d0]
lea edx, [ebp + 0x2c0]
xor esi, esi
push 0xcc0020
push esi
push edx
push dword [0x834228]
push edi
push eax
push esi
push esi
push edi
push eax
push dword [0x834260]
push dword [0x83425c]
push ebx
call dword [0x577070]
push ebx
push dword [ebp + 0x2a4]
call dword [0x577410]
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov edx, dword [ebx + 0x88]
cmp edx, ecx
jne 0x45ed5b
mov esi, dword [ebx + 0x8c]
cmp esi, eax
je 0x45e80f
jmp 0x45ed61
mov esi, dword [ebx + 0x8c]
mov dword [ebp + 0x2c4], ecx
mov edi, eax
neg edi
mov dword [ebp + 0x2c8], edi
cmp byte [0x59b768], 1
jne 0x45ef09
movsx edi, byte [0x83431c]
test edi, edi
jne 0x45ee9c
movzx edi, byte [0x5b85d4]
test edi, edi
je 0x45ee2c
movzx edi, byte [0x59b04c]
test edi, edi
je 0x45ee2c
mov dword [esp + 0x30], ebp
xor ebp, ebp
mov dword [esp + 0xc], ebp
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea edi, [edx + edi*8]
add edi, edi
lea edi, [edi + edi - 0x64]
mov dword [esp + 0x10], edi
lea edi, [esi + esi]
add edi, edi
sub edi, esi
lea edi, [esi + edi*8]
add edi, edi
lea edi, [edi + edi - 0x64]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
lea esi, [ecx + ecx]
add esi, esi
sub esi, ecx
lea edx, [ecx + esi*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 [0x834228]
mov edx, dword [ebx + 0xc0]
xor ecx, ecx
mov ebp, dword [esp + 0x30]
call fcn.00461a14
jmp 0x45ef4f
mov dword [esp + 0x30], ebp
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea ebx, [edx + edi*8]
add ebx, ebx
lea ebp, [ebx + ebx - 0x64]
lea ebx, [esi + esi]
add ebx, ebx
sub ebx, esi
lea ebx, [esi + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
lea edi, [ecx + ecx]
add edi, edi
sub edi, ecx
lea ecx, [ecx + edi*8]
add ecx, ecx
add ecx, ecx
lea edi, [eax + eax]
add edi, edi
sub edi, eax
lea edi, [eax + edi*8]
add edi, edi
add edi, edi
push edi
push ecx
push esi
push edx
xor eax, eax
push eax
push eax
push ebx
push ebp
push eax
push eax
mov ebx, dword [esp + 0x8c]
push dword [ebx + 0xc0]
push dword [0x834228]
mov ebp, dword [esp + 0x60]
call fcn.00460e2c
add esp, 0x30
jmp 0x45ef4f
mov dword [esp + 0x30], ebp
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea ebx, [edx + edi*8]
add ebx, ebx
lea ebp, [ebx + ebx - 0x64]
lea ebx, [esi + esi]
add ebx, ebx
sub ebx, esi
lea ebx, [esi + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
lea edi, [ecx + ecx]
add edi, edi
sub edi, ecx
lea ecx, [ecx + edi*8]
add ecx, ecx
add ecx, ecx
lea edi, [eax + eax]
add edi, edi
sub edi, eax
lea edi, [eax + edi*8]
add edi, edi
add edi, edi
push edi
push ecx
push esi
push edx
xor eax, eax
push eax
push eax
push ebx
push ebp
push eax
push eax
mov ebx, dword [esp + 0x8c]
push dword [ebx + 0xc0]
push dword [0x834228]
mov ebp, dword [esp + 0x60]
call fcn.0045fe98
add esp, 0x30
jmp 0x45ef4f
mov dword [esp + 0x30], ebp
xor ebp, ebp
mov dword [esp + 0xc], ebp
lea edi, [edx - 1]
mov dword [esp + 0x10], edi
lea edi, [esi - 1]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [0x834228]
mov edx, dword [ebx + 0xc0]
xor ecx, ecx
mov ebp, dword [esp + 0x30]
call fcn.00460a80
push dword [ebp + 0x2a4]
call dword [0x577414]
mov edi, eax
mov esi, dword [0x83425c]
add esi, dword [ebx + 0x70]
mov edx, dword [0x834260]
add edx, dword [ebx + 0x78]
mov dword [esp + 0x34], edx
push 3
push edi
call dword [0x577030]
mov ecx, dword [0x8343cc]
mov eax, dword [0x8343d0]
lea edx, [ebp + 0x2c0]
xor ebx, ebx
push 0xcc0020
push ebx
push edx
push dword [0x834228]
push eax
push ecx
push ebx
push ebx
push eax
push ecx
mov edx, dword [esp + 0x5c]
push edx
push esi
push edi
call dword [0x577070]
push edi
push dword [ebp + 0x2a4]
call dword [0x577410]
add esp, 0x50
pop ebx
pop ebp
pop esi
pop edi
ret 4