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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x5bb250]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, edx
mov dword [esp + 0x18], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x30], edx
xor esi, esi
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 8], esi
push edi
test eax, eax
je 0x45e6c9
cmp byte [eax], dl
jne 0x45e6ce
mov esi, 1
test eax, eax
je 0x45e704
mov ecx, str.:memory:
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45e6f7
test dl, dl
je 0x45e6f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45e6f7
add eax, 2
add ecx, 2
test dl, dl
jne 0x45e6d7
xor eax, eax
jmp 0x45e6fc
sbb eax, eax
or eax, 1
test eax, eax
je 0x45e71c
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x45e70e
cmp byte [ecx + 0x3f], 2
je 0x45e71c
mov ebx, dword [ebp + 0x14]
test bl, bl
js 0x45e71f
mov eax, dword [ebp + 0x10]
xor ecx, ecx
jmp 0x45e72a
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, 1
or eax, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
test ebx, 0x100
je 0x45e751
test ecx, ecx
jne 0x45e742
test esi, esi
je 0x45e751
and ebx, 0xfffffeff
or ebx, 0x200
mov dword [ebp + 0x14], ebx
push 0x2c
call fcn.0044a2f0
mov edi, eax
add esp, 4
test edi, edi
je 0x45e7cd
push 0x2c
push 0
push edi
call fcn.0053ca90
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [edi + 8], 0
mov dword [edi], eax
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
test esi, esi
jne 0x45e962
cmp dword [esp + 0x20], esi
je 0x45e799
test bl, 0x40
je 0x45e962
test ebx, 0x20000
je 0x45e962
mov esi, dword [esp + 0x24]
mov esi, dword [esi + 8]
inc esi
push esi
call fcn.0044a2f0
mov ebx, eax
mov byte [edi + 9], 1
add esp, 4
mov dword [esp + 0x2c], ebx
test ebx, ebx
jne 0x45e7e7
push edi
call fcn.0044a640
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x20], 0
je 0x45e81b
mov ecx, dword [esp + 0x18]
call fcn.0044cf50
inc eax
push eax
push ecx
push ebx
call fcn.0053c3c0
add esp, 0xc
cmp dword [0x5bd5c4], 0
jne 0x45e864
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], edx
jmp 0x45e8b1
mov eax, dword [esp + 0x24]
push ebx
push esi
push dword [esp + 0x20]
mov byte [ebx], 0
push eax
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 0x10
test esi, esi
je 0x45e803
push ebx
call fcn.0044a640
add esp, 4
push edi
call fcn.0044a640
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
push 4
call dword [0x5bd60c]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45e881
push eax
call dword [0x5bd614]
add esp, 4
cmp dword [0x5bd5c4], 0
jne 0x45e894
mov dword [esp + 0x30], 0
jmp 0x45e8b1
push 2
call dword [0x5bd60c]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x45e8b1
push eax
call dword [0x5bd614]
add esp, 4
mov esi, dword [0x5c3894]
test esi, esi
je 0x45e93c
nop
mov ebx, dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0xa8]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45e8f0
test dl, dl
je 0x45e8ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45e8f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x45e8d0
xor eax, eax
jmp 0x45e8f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e901
mov eax, dword [esp + 0x24]
cmp dword [ebx], eax
je 0x45e90a
mov esi, dword [esi + 0x44]
test esi, esi
jne 0x45e8c0
jmp 0x45e938
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x14]
dec edx
js 0x45e932
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x45e92c
cmp dword [eax + 4], esi
je 0x45e98d
sub ecx, 0x10
dec edx
jns 0x45e921
mov dword [edi + 4], esi
inc dword [esi + 0x40]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45e94e
push eax
call dword [0x5bd61c]
add esp, 4
push ebx
call fcn.0044a640
add esp, 4
test esi, esi
jne 0x45eb95
mov ebx, dword [ebp + 0x14]
push 0x54
call fcn.0044a2f0
mov esi, eax
add esp, 4
test esi, esi
je 0x45e983
push 0x54
push 0
push esi
call fcn.0053ca90
add esp, 0xc
test esi, esi
jne 0x45e9e0
mov ebx, 7
jmp 0x45ec91
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45e99f
push eax
call dword [0x5bd61c]
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45e9b1
push eax
call dword [0x5bd61c]
add esp, 4
push dword [esp + 0x2c]
call fcn.0044a640
add esp, 4
push edi
call fcn.0044a640
add esp, 4
mov eax, 0x13
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret
push ecx
push ebx
mov ebx, dword [esp + 0x30]
mov edx, esi
push ebx
push ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
call fcn.00457b30
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45ec8d
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.00456e80
mov ecx, dword [esi]
lea eax, [esp + 0x40]
push eax
call fcn.00457160
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45ec8d
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov byte [esi + 0x10], bl
mov dword [eax + 0xb0], 0x45e630
mov ecx, dword [eax + 0x3c]
lea edx, [eax + 0xb0]
mov dword [eax + 0xb4], esi
cmp dword [ecx], 0
je 0x45ea6a
mov eax, dword [ecx]
push edx
push 0xf
push ecx
mov eax, dword [eax + 0x28]
call eax
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp byte [eax + 0xe], 0
je 0x45ea88
or word [esi + 0x16], 1
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [esi + 0x20], ecx
cmp ecx, 0x200
jb 0x45eae9
cmp ecx, 0x10000
ja 0x45eae9
lea eax, [ecx - 1]
test ecx, eax
jne 0x45eae9
mov al, byte [esp + 0x4c]
lea ecx, [esp + 0x6c]
or word [esi + 0x16], 2
mov byte [esp + 0x13], al
call fcn.0044e150
test eax, eax
lea ecx, [esp + 0x78]
setne al
mov byte [esi + 0x11], al
call fcn.0044e150
test eax, eax
setne al
mov byte [esi + 0x12], al
mov al, byte [esp + 0x13]
jmp 0x45eb06
cmp dword [esp + 0x18], 0
mov dword [esi + 0x20], 0
je 0x45eb04
cmp dword [esp + 0x20], 0
jne 0x45eb04
mov word [esi + 0x11], 0
xor al, al
mov ecx, dword [esi]
lea edx, [esi + 0x20]
movzx eax, al
push eax
mov dword [esp + 0x2c], eax
call fcn.00456fe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45ec8d
mov eax, dword [esi + 0x20]
sub eax, dword [esp + 0x28]
mov dword [esi + 0x24], eax
cmp byte [edi + 9], 0
je 0x45ec23
mov ecx, 2
mov dword [esi + 0x40], 1
call fcn.00449b60
cmp dword [0x5bd5c4], 0
mov ebx, eax
je 0x45eb75
xor ecx, ecx
call fcn.00449b60
mov dword [esi + 0x38], eax
test eax, eax
jne 0x45eb75
lea ebx, [eax + 7]
mov eax, dword [esp + 0x14]
mov byte [eax + 0x40], 0
jmp 0x45ec91
push ebx
call fcn.00449ba0
mov eax, dword [0x5c3894]
add esp, 4
mov dword [esi + 0x44], eax
mov dword [0x5c3894], esi
push ebx
call fcn.00449be0
add esp, 4
cmp byte [edi + 9], 0
je 0x45ec23
mov eax, dword [esp + 0x14]
xor edx, edx
mov ebx, dword [eax + 0x14]
test ebx, ebx
jle 0x45ec23
mov eax, dword [eax + 0x10]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x45ebbe
cmp byte [ecx + 9], 0
jne 0x45ebc8
inc edx
add eax, 0x10
cmp edx, ebx
jl 0x45ebb2
jmp 0x45ec23
cmp dword [ecx + 0x18], 0
lea eax, [ecx + 0x18]
je 0x45ebdc
mov ecx, dword [eax]
cmp dword [ecx + 0x18], 0
lea eax, [ecx + 0x18]
jne 0x45ebd1
mov edx, dword [edi + 4]
cmp edx, dword [ecx + 4]
jae 0x45ebf3
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0
mov dword [ecx + 0x18], edi
jmp 0x45ec23
cmp dword [ecx + 0x14], 0
je 0x45ec10
lea esp, [esp]
mov eax, dword [ecx + 0x14]
cmp dword [eax + 4], edx
jae 0x45ec10
mov ecx, eax
cmp dword [ecx + 0x14], 0
jne 0x45ec00
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
test eax, eax
je 0x45ec20
mov dword [eax + 0x18], edi
mov dword [ecx + 0x14], edi
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0xc]
mov dword [eax], edi
test ebx, ebx
jne 0x45ec91
mov esi, dword [edi + 4]
mov ecx, edi
call fcn.0045cb00
cmp byte [edi + 9], bl
je 0x45ec5d
dec dword [edi + 0xc]
jne 0x45ec5d
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x45ec59
push eax
call dword [0x5bd61c]
add esp, 4
mov byte [edi + 0xa], 0
cmp dword [esi + 0x30], 0
jne 0x45ecbc
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xcc]
mov dword [eax + 0x10], 0x7d0
mov eax, dword [eax + 0x28]
test eax, eax
je 0x45ecbc
push 0x7d0
push eax
call dword [0x5bd63c]
add esp, 8
jmp 0x45ecbc
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x45eca0
mov ecx, dword [esi]
test ecx, ecx
je 0x45eca0
call fcn.00457470
push esi
call fcn.0044a640
add esp, 4
push edi
call fcn.0044a640
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45ecce
push eax
call dword [0x5bd61c]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret