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

Disassembly:
push 0xffffffffffffffff
push 0x1015b8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test esi, esi
mov ebp, dword [edi + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x60], ebp
jne 0x1007e3b8
test ebx, ebx
jne 0x1007e3b8
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x1007e58f
lea eax, [esp + 0x14]
push eax
call fcn.100515c0
add dword [esp + 0x14], esi
add dword [esp + 0x18], ebx
xor eax, eax
cmp dword [edi + 0x25fc], eax
je 0x1007e579
cmp ebp, eax
je 0x1007e422
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x40]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
add ecx, ebx
lea ebp, [eax + esi]
mov dword [esp + 0x4c], ecx
jmp 0x1007e44c
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
push 0x4f
mov ebp, eax
call esi
push 0x4c
mov dword [esp + 0x64], eax
call esi
push 0x4d
mov ebx, eax
call esi
mov edx, dword [esp + 0x60]
mov esi, ebx
mov ebx, eax
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x38]
call fcn.1005a810
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x2c]
push ecx
call fcn.100515c0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push ecx
push edi
call fcn.100629e0
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
xor ebp, ebp
sub ebx, eax
add esp, 0x28
xor esi, esi
sar ebx, 3
mov dword [edi + 0x3300], 1
mov dword [edi + 0x3360], ebp
mov dword [edi + 0x37d0], ebp
je 0x1007e56e
mov ebx, dword [eax + esi*8 + 4]
push edx
push ecx
sub ebx, edx
mov edx, dword [eax + esi*8]
push ebx
sub edx, ecx
push edx
push 9
push edi
call fcn.10053260
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
add esp, 0x18
sar eax, 3
sub eax, 1
cmp esi, eax
jae 0x1007e544
push ebp
push edi
call fcn.1004d650
add esp, 8
test eax, eax
je 0x1007e54f
mov ebx, dword [edi + 0x2600]
cmp ebx, ebp
je 0x1007e54f
jle 0x1007e536
call fcn.100f8c1c
cdq
idiv ebx
mov ecx, ebx
sar ecx, 1
sub edx, ecx
add ebx, edx
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1007e54f
mov ebx, 1
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1007e54f
push 1
push edi
call fcn.1004d650
add esp, 8
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ecx, dword [eax + esi*8]
mov edx, dword [eax + esi*8 + 4]
sub ebx, eax
add esi, 1
sar ebx, 3
cmp esi, ebx
jb 0x1007e4d7
mov dword [edi + 0x3300], ebp
jmp 0x1007e7ad
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push esi
push 9
push edi
call fcn.10053260
add esp, 0x18
jmp 0x1007e7d7
cmp eax, 1
je 0x1007e6b6
cmp eax, 3
je 0x1007e6b6
cmp eax, 2
jne 0x1007e7d7
lea eax, [edi + 0x54]
push eax
lea ebp, [edi + 0x50]
push ebp
push edi
call fcn.10056a40
add esp, 0xc
cmp dword [edi + 0x25fc], 0
je 0x1007e698
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x54]
mov ebp, dword [ebp]
lea ecx, [esp + 0x60]
add ebx, eax
push ecx
add esi, ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
call fcn.1005a810
mov dword [esp + 0x58], 2
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
push ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
push esi
push edx
mov dword [eax + 0xc], ecx
push ebp
lea eax, [esp + 0x54]
push eax
push edi
call fcn.100629e0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, eax
add esp, 0x28
xor ebx, ebx
sar ecx, 3
je 0x1007e7a3
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
mov edx, dword [eax + ebx*8 + 4]
mov eax, dword [eax + ebx*8]
push 1
push edx
push eax
push edi
call fcn.100b0850
mov esi, dword [edi + 0x2600]
add esp, 0x10
test esi, esi
je 0x1007e67b
call fcn.1004b870
push eax
call ebp
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub ecx, eax
add ebx, 1
sar ecx, 3
cmp ebx, ecx
jb 0x1007e655
mov esi, dword [esp + 0x2c]
jmp 0x1007e7a3
add dword [edi + 0x54], ebx
mov eax, dword [edi + 0x54]
add dword [ebp], esi
mov ebp, dword [ebp]
push 1
push eax
push ebp
push edi
call fcn.100b0850
add esp, 0x10
jmp 0x1007e7d7
lea eax, [edi + 0x54]
push eax
lea ebp, [edi + 0x50]
push ebp
push edi
call fcn.10056a40
add esp, 0xc
cmp dword [edi + 0x25fc], 0
je 0x1007e7c0
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x54]
mov ebp, dword [ebp]
lea edx, [esp + 0x60]
add ebx, eax
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], eax
add esi, ebp
mov dword [esp + 0x34], ebx
call fcn.1005a810
mov dword [esp + 0x58], 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
push ebx
mov dword [eax + 8], ecx
push esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x78]
push eax
push ebp
lea ecx, [esp + 0x54]
push ecx
push edi
call fcn.100629e0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub edx, eax
add esp, 0x28
xor ebx, ebx
sar edx, 3
je 0x1007e7a3
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [eax + ebx*8]
push ecx
push edx
push edi
call fcn.10079290
mov ebp, dword [edi + 0x2600]
add esp, 0xc
test ebp, ebp
je 0x1007e78f
jle 0x1007e783
call fcn.100f8c1c
cdq
idiv ebp
mov eax, ebp
sar eax, 1
sub edx, eax
add edx, ebp
jmp 0x1007e788
mov edx, 1
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub ecx, eax
add ebx, 1
sar ecx, 3
cmp ebx, ecx
jb 0x1007e753
mov edx, dword [esp + 0x30]
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], edx
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.100bb2b0
jmp 0x1007e7d7
add dword [edi + 0x54], ebx
mov eax, dword [edi + 0x54]
add dword [ebp], esi
mov ebp, dword [ebp]
push eax
push ebp
push edi
call fcn.10079290
add esp, 0xc
mov eax, 1
add dword [edi + 0x336c], eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret