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

Disassembly:
mov eax, 0x489782
call fcn.00483210
sub esp, 0x14c
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
call fcn.00453ffc
mov eax, dword [esi + 0x80]
xor ebx, ebx
lea edi, [esi + 0x30]
push ebx
mov ecx, dword [eax]
push ebx
push dword [edi + 4]
push dword [edi]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jne 0x456f97
push 0x8000
mov ecx, esi
call fcn.0040aa98
test al, al
jne 0x456862
mov eax, 0x8007000e
jmp 0x456f97
mov eax, dword [esi + 0x80]
and byte [ebp - 0x12], 0
cmp dword [esi + 0x2c], 0x6054b50
mov dword [esi + 0xc], eax
mov byte [ebp - 0x11], 1
jne 0x4568ed
lea eax, [ebp - 0x118]
push 0x12
push eax
mov ecx, esi
call fcn.004557d5
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x12c]
push eax
call fcn.004551d2
lea ecx, [ebp - 0x12c]
call fcn.00455445
test al, al
je 0x45693f
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
and byte [ebp - 0x11], 0
mov edx, dword [esi + 0x4c]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x44]
add ecx, 4
push edi
adc edx, ebx
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x80]
push ebx
push edx
push ecx
push dword [esi + 0x80]
mov byte [esi + 0x78], 1
mov eax, dword [eax]
call dword [eax + 0x10]
cmp eax, ebx
jne 0x456f97
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
je 0x456a17
lea ecx, [ebp - 0xf0]
call fcn.00455d59
lea eax, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00455b31
test al, al
jne 0x456947
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00453e4c
push 1
pop eax
jmp 0x456f97
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov ecx, esi
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [esi + 0x78], 1
push dword [ebp + 8]
call fcn.004565e7
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x456974
mov ecx, esi
call fcn.004558a1
mov dword [esi + 0x2c], eax
push 1
pop eax
cmp dword [ebp - 0x18], eax
je 0x456a08
cmp dword [ebp - 0x18], ebx
je 0x45699c
mov esi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00453e4c
jmp 0x456cb5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], ebx
jne 0x4569a7
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
jne 0x456a08
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
sub eax, dword [esi + 0x38]
sbb ecx, dword [esi + 0x3c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00456fa8
cmp eax, 0xffffffff
je 0x4569ea
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov edx, dword [ecx + eax*4]
lea ecx, [ebp - 0xf0]
call fcn.00455da3
test al, al
jne 0x4569f1
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
mov byte [esi + 0x68], 1
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
mov dword [esi + 0x60], ecx
mov eax, dword [eax + 0x44]
mov dword [esi + 0x64], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00453e4c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 8]
and byte [ebp - 0x11], 0
cmp dword [ebp - 0x18], 1
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
jne 0x456bac
mov ecx, dword [ebp + 8]
call fcn.00453ffc
mov eax, dword [esi + 0x40]
and byte [esi + 0x28], 0
push edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x44]
push ebx
push dword [esi + 0x4c]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x80]
mov byte [ebp - 0x12], 1
push dword [esi + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
je 0x456a87
mov ebx, eax
jmp 0x456f89
mov ecx, esi
call fcn.004558a1
push dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 0x2c], eax
push dword [ebp + 8]
call fcn.004566ab
cmp eax, ebx
jne 0x456a72
cmp dword [esi + 0x2c], 0x2014b50
je 0x456abf
add dword [edi], 0xfffffffc
mov byte [esi + 0x7e], 1
adc dword [edi + 4], 0xffffffff
mov byte [esi + 0x7a], 1
jmp 0x456f89
mov ecx, esi
mov byte [esi + 0x28], 1
call fcn.0040aae7
mov eax, dword [edi]
lea ecx, [ebp - 0xf0]
sub eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
sbb eax, ebx
mov dword [ebp - 0x24], eax
call fcn.00455d59
lea eax, [ebp - 0xf0]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.00456088
cmp eax, ebx
jne 0x456b58
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00457206
cmp dword [ebp + 0xc], ebx
je 0x456b2b
test word [ebp - 0x38], 0xfff
jne 0x456b2b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov eax, dword [eax + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
cmp eax, ebx
jne 0x456b58
mov ecx, esi
call fcn.004558a1
cmp eax, 0x2014b50
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
jne 0x456b6e
call fcn.00453e4c
lea ecx, [ebp - 0xf0]
call fcn.00455d59
jmp 0x456ae5
lea ecx, [ebp - 0xf0]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00453e4c
jmp 0x456ca9
call fcn.00453e4c
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub eax, dword [ebp - 0x28]
mov byte [ebp - 0x11], 1
sbb ecx, dword [ebp - 0x24]
sub eax, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
sbb ecx, ebx
cmp eax, ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], eax
je 0x456bac
mov eax, dword [ebp - 0x3c]
mov byte [esi + 0x68], 1
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
mov dword [esi + 0x60], ecx
mov eax, dword [eax + 0x44]
mov dword [esi + 0x64], eax
push 0x30
lea eax, [ebp - 0x74]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [edi]
and byte [ebp + 0xf], 0
mov edi, dword [edi + 4]
add esp, 0xc
sub eax, 4
sbb edi, ebx
cmp dword [esi + 0x2c], 0x6064b50
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
jne 0x456cc3
mov ecx, esi
mov byte [ebp + 0xf], 1
mov byte [esi + 0x79], 1
call fcn.004558b5
mov edi, eax
lea eax, [ebp - 0x158]
push 0x2c
push eax
mov ecx, esi
mov ebx, edx
call fcn.004557d5
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x74]
push eax
call fcn.0045520b
sub edi, 0x2c
mov ecx, esi
sbb ebx, 0
push ebx
push edi
call fcn.00455919
mov ecx, esi
call fcn.004558a1
cmp dword [ebp - 0x70], 0
mov dword [esi + 0x2c], eax
jne 0x456cbc
xor eax, eax
cmp dword [ebp - 0x6c], eax
jne 0x456cbc
cmp byte [ebp - 0x11], al
je 0x456c60
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
sub edi, edx
mov dword [ebp - 0x30], edx
sbb ebx, ecx
and byte [ebp - 0x11], al
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ebx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x20]
jne 0x456ca6
mov ecx, dword [ebp - 0x60]
cmp ecx, eax
jne 0x456ca6
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x20]
jne 0x456ca6
mov ecx, dword [ebp - 0x58]
cmp ecx, eax
jne 0x456ca6
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x44]
jne 0x456ca6
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x40]
jne 0x456ca6
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x4c], ecx
jne 0x456c9e
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], ecx
je 0x456cc3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], eax
je 0x456cc3
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00453fab
mov eax, esi
jmp 0x456f97
mov esi, 0x80004001
jmp 0x456ca9
cmp dword [esi + 0x2c], 0x7064b50
jne 0x456d11
cmp byte [ebp + 0xf], 0
jne 0x456cda
push 1
pop ebx
jmp 0x456f89
mov ecx, esi
call fcn.004558a1
mov ecx, esi
call fcn.004558b5
mov ecx, esi
mov edi, eax
mov ebx, edx
call fcn.004558a1
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
add eax, edi
adc ecx, ebx
cmp dword [ebp - 0x1c], eax
jne 0x456cd2
cmp dword [ebp - 0x18], ecx
jne 0x456cd2
mov ecx, esi
call fcn.004558a1
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x2c], 0x6054b50
jne 0x456cd2
lea eax, [ebp - 0x104]
push 0x12
push eax
mov ecx, esi
call fcn.004557d5
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x88]
push eax
call fcn.004551d2
mov cl, byte [ebp + 0xf]
test cl, cl
je 0x456d4e
cmp word [ebp - 0x88], 0xffff
je 0x456d58
movzx eax, word [ebp - 0x88]
mov dword [ebp - 0x70], eax
test cl, cl
je 0x456d67
cmp word [ebp - 0x86], 0xffff
je 0x456d71
movzx eax, word [ebp - 0x86]
mov dword [ebp - 0x6c], eax
test cl, cl
je 0x456d80
cmp word [ebp - 0x84], 0xffff
je 0x456d8e
movzx eax, word [ebp - 0x84]
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
test cl, cl
je 0x456d9d
cmp word [ebp - 0x82], 0xffff
je 0x456dab
movzx eax, word [ebp - 0x82]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
test cl, cl
je 0x456db5
cmp dword [ebp - 0x80], 0xffffffff
je 0x456dbf
mov eax, dword [ebp - 0x80]
and dword [ebp - 0x50], 0
mov dword [ebp - 0x54], eax
test cl, cl
je 0x456dc9
cmp dword [ebp - 0x7c], 0xffffffff
je 0x456dd3
mov eax, dword [ebp - 0x7c]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
cmp byte [ebp - 0x11], 0
je 0x456df5
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x48]
sub eax, edi
mov dword [ebp - 0x30], edi
sbb ecx, edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [ebp - 0x2c], edx
cmp byte [ebp - 0x12], 0
je 0x456e30
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x44]
cmp edx, eax
jne 0x456e0f
cmp edi, ecx
je 0x456e30
mov ebx, dword [ebp + 8]
sub eax, edx
sbb ecx, edi
xor edx, edx
cmp dword [ebx + 4], edx
mov edi, eax
jbe 0x456e30
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
add dword [eax + 0x40], edi
adc dword [eax + 0x44], ecx
inc edx
cmp edx, dword [ebx + 4]
jb 0x456e1f
cmp dword [ebp - 0x38], 0
je 0x456f01
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x38], 0
jbe 0x456f01
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
push dword [edi + 0x44]
push dword [edi + 0x40]
call fcn.00456fa8
cmp eax, 0xffffffff
jne 0x456e72
mov ecx, dword [ebp + 8]
push edi
call fcn.00457206
jmp 0x456ef2
mov ecx, dword [ebp + 8]
lea edx, [edi + 0x20]
mov ecx, dword [ecx]
mov ebx, dword [ecx + eax*4]
lea ecx, [ebx + 0x20]
call fcn.00439a77
test al, al
jne 0x456ef2
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x456ef2
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x456ef2
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 8]
jne 0x456ef2
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0xc]
jne 0x456ef2
mov edx, edi
mov ecx, ebx
call fcn.00455e3c
test al, al
je 0x456ef2
mov eax, dword [ebx + 0x1c]
cmp eax, dword [edi + 0x1c]
jne 0x456ef2
mov ax, word [edi + 0x38]
lea ecx, [ebx + 0x48]
mov word [ebx + 0x38], ax
lea eax, [edi + 0x48]
push eax
call fcn.0045711b
mov ax, word [edi + 0x3a]
lea ecx, [ebx + 0x54]
mov word [ebx + 0x3a], ax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
lea eax, [edi + 0x54]
push eax
call fcn.0042305d
mov al, byte [edi + 0x5d]
mov byte [ebx + 0x5d], al
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jb 0x456e48
xor ebx, ebx
cmp dword [ebp - 0x70], ebx
jne 0x456f84
cmp dword [ebp - 0x6c], ebx
jne 0x456f84
cmp byte [ebp + 0xf], bl
je 0x456f24
mov eax, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [eax + 4]
cmp dword [ebp - 0x64], eax
jne 0x456f36
cmp dword [ebp - 0x60], ecx
jmp 0x456f34
mov eax, dword [ebp - 0x64]
cmp ax, word [ebp - 0x20]
jne 0x456f36
mov ecx, dword [ebp + 8]
cmp ax, word [ecx + 4]
je 0x456f3a
mov byte [esi + 0x7a], 1
movzx eax, word [ebp - 0x78]
push eax
lea eax, [esi + 0x6c]
push eax
mov ecx, esi
call fcn.0045584c
and byte [esi + 0x28], 0
mov ecx, esi
call fcn.0040aad6
mov ax, word [ebp - 0x20]
cmp word [ebp - 0x5c], ax
jne 0x456ab6
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x44]
jne 0x456ab6
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x30]
je 0x456f89
mov eax, dword [ebp + 8]
cmp dword [eax + 4], ebx
je 0x456f89
jmp 0x456ab6
mov ebx, 0x80004001
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00453fab
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8