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

Disassembly:
push 0xffffffffffffffff
push 0x616102
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x18], 0
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x14], ecx
je 0x4519cd
push 0x38e
mov ecx, esi
call fcn.0056c9f5
mov dword [esp + 0x14], eax
mov ecx, eax
cmp dword [esp + 0x48], 1
jne 0x451a12
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4519f0
test ecx, ecx
je 0x451efa
test eax, eax
je 0x4519f0
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
test edi, edi
mov eax, edi
jne 0x4519fb
mov eax, 0x8c
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push ecx
push eax
mov ecx, esi
call edx
jmp 0x451efa
test edi, edi
je 0x451a44
cmp edi, 0x8d
je 0x451a44
cmp dword [esi + 0x20], 0
je 0x451a2d
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push ecx
push edi
mov ecx, esi
call edx
jmp 0x451efa
test ecx, ecx
jne 0x451a7c
cmp dword [esi + 0x20], ecx
je 0x451a56
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push ecx
push 0x82
mov ecx, esi
call edx
push 0x38e
mov ecx, esi
call fcn.0056c9f5
mov dword [esp + 0x14], eax
push 0x387
mov ecx, esi
call fcn.0056c9f5
mov ebp, eax
test ebp, ebp
mov ebx, 3
je 0x451b65
mov eax, dword [esp + 0x48]
cmp eax, 7
jne 0x451ac9
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 0x1a44], 2
jle 0x451ac9
lea edx, [esp + 0x1c]
push edx
mov edi, 0x12f
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], 0
jmp 0x451afc
cmp edi, 0x8d
je 0x451b19
cmp eax, 7
jne 0x451ae2
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x1a44], ebx
jl 0x451b19
lea ecx, [esp + 0x1c]
push ecx
mov edi, 0x130
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], 2
mov eax, dword [eax]
push eax
mov ecx, ebp
call fcn.0056cb90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00401280
jmp 0x451b65
lea edx, [esp + 0x1c]
push edx
mov edi, 0xcb
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], 1
mov eax, dword [eax]
push eax
mov ecx, ebp
call fcn.0056cb90
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451b65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 0x384
lea ebx, [ebx]
push edi
mov ecx, esi
call fcn.0056c9f5
test eax, eax
je 0x451b92
mov ecx, dword [esp + 0x4c]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
mov ecx, eax
call fcn.0056cc4d
add edi, 1
cmp edi, 0x38e
jl 0x451b70
cmp dword [esp + 0x4c], 1
je 0x451c79
push 0x38b
mov ecx, esi
call fcn.0056c9f5
mov ebp, eax
test ebp, ebp
je 0x451c79
mov edi, dword [esp + 0x48]
cmp edi, 5
je 0x451bdd
cmp edi, 7
jne 0x451bd9
mov edx, dword [esp + 0x44]
cmp dword [edx + 0x1a44], 0
jne 0x451bdd
xor eax, eax
jmp 0x451be2
mov eax, 1
push eax
mov ecx, ebp
call fcn.0056cc4d
cmp edi, 7
jne 0x451c2d
lea eax, [esp + 0x1c]
push eax
mov edi, 0x132
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [eax]
push eax
mov ecx, ebp
call fcn.0056cb90
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x451c6d
lea ecx, [esp + 0x1c]
push ecx
mov edi, 0x131
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], 4
mov eax, dword [eax]
push eax
mov ecx, ebp
call fcn.0056cb90
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x390
mov ecx, esi
call fcn.0056c9f5
test eax, eax
mov edi, dword [esp + 0x4c]
je 0x451ca1
mov ecx, edi
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
mov ecx, eax
call fcn.0056cc4d
push 0x391
mov ecx, esi
call fcn.0056c9f5
test eax, eax
je 0x451cc5
mov edx, edi
sub edx, 1
neg edx
sbb edx, edx
and edx, 5
push edx
mov ecx, eax
call fcn.0056cc4d
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
cmp edi, 2
jne 0x451e9e
push 0x3b7
mov ecx, esi
call fcn.0056c9f5
mov ebp, eax
test ebp, ebp
je 0x451e36
mov eax, dword [esi + 0x94]
lea edi, [esi + 0x94]
push 0x641d28
push eax
call fcn.005a58c6
add esp, 8
test eax, eax
sete al
test al, al
je 0x451d1e
push edi
mov ecx, ebp
call fcn.005693ed
mov eax, dword [esp + 0x48]
cmp eax, 7
jne 0x451dd9
mov edx, dword [esp + 0x44]
cmp dword [edx + 0x1a44], 0
je 0x451d59
lea eax, [esp + 0x48]
push eax
mov edi, 0x133
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], 5
mov ebx, 1
jmp 0x451d74
push 0x641d28
lea ecx, [esp + 0x50]
call fcn.00404eb0
mov dword [esp + 0x3c], 6
mov ebx, 2
mov eax, dword [eax]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.0056cb90
test bl, 2
mov dword [esp + 0x3c], 5
je 0x451db6
mov eax, dword [esp + 0x4c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451db6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x3c], 0xffffffff
je 0x451e36
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x451e1e
cmp eax, 4
jne 0x451e2c
lea ecx, [esp + 0x18]
push ecx
mov edi, 0x134
call fcn.004e09d0
add esp, 4
mov dword [esp + 0x3c], 7
mov eax, dword [eax]
push eax
mov ecx, ebp
call fcn.0056cb90
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x451e36
mov ecx, dword [edi]
push ecx
mov ecx, ebp
call fcn.0056cb90
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x2c]
sub edx, dword [esi + 0x88]
sub eax, dword [esp + 0x24]
cmp eax, edx
jge 0x451efa
mov edx, dword [esp + 0x14]
test edx, edx
je 0x451e7a
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x80]
mov ecx, dword [esi + 0x74]
push 1
sub edi, eax
push edi
mov edi, dword [esi + 0x7c]
sub edi, ecx
push edi
push eax
push ecx
mov ecx, edx
call fcn.0056cc0f
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x84]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0x8c]
sub edx, ecx
push edx
push eax
push ecx
jmp 0x451ef3
cmp edi, 1
jne 0x451efa
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x2c]
sub eax, dword [esi + 0x88]
sub ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x451efa
mov edi, dword [esi + 0x7c]
mov ebp, dword [esi + 0x80]
mov ecx, dword [esp + 0x14]
sub edi, dword [esi + 0x74]
sub ebp, dword [esi + 0x78]
test ecx, ecx
je 0x451edf
push 1
push ebp
push edi
push 0
push 0
call fcn.0056cc0f
add edi, dword [esi + 0x9c]
add ebp, dword [esi + 0x98]
push 1
push ebp
push edi
push 0
push 0
mov ecx, esi
call fcn.0056cc0f
mov ecx, dword [esp + 0x44]
call fcn.0056ccaa
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x30
ret 0xc