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

Disassembly:
push 0xffffffffffffffff
push 0x1017cea8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x70], ebx
mov esi, esi
mov esi, dword [esp + 0x74]
test esi, esi
mov ebp, dword [esp + 0x78]
jne 0x100983da
test ebp, ebp
jne 0x100983da
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x100985fb
mov bh, bh
lea eax, [esp + 0x14]
push eax
call fcn.10067590
mov cl, cl
add dword [esp + 0x14], esi
push ebx
pop ebx
add dword [esp + 0x18], ebp
mov ecx, ecx
xor eax, eax
cmp dword [edi + 0x25fc], eax
je 0x100985e3
mov cl, cl
cmp ebx, eax
je 0x1009845e
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, ecx
mov eax, eax
lea edx, [esp + 0x40]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dl, dl
mov esi, dword [esp + 0x2c]
mov cl, cl
mov ebx, dword [esp + 0x30]
mov ebp, ebp
mov eax, dword [esp + 0x48]
lea ebp, [eax + esi]
mov ebp, ebp
mov ecx, dword [esp + 0x4c]
add ecx, ebx
mov dword [esp + 0x5c], ecx
xchg ebx, eax
xchg ebx, eax
jmp 0x10098496
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call ebx
mov ebp, eax
mov bh, bh
push 0x4f
call ebx
mov dword [esp + 0x70], eax
mov ch, ch
push 0x4c
call ebx
mov esi, eax
xchg ebx, eax
xchg ebx, eax
push 0x4d
call ebx
mov ebp, ebp
mov dl, dl
mov ebx, eax
mov ah, ah
mov edi, edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x5c], edx
mov bl, bl
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x38]
call fcn.1006eeb0
mov dword [esp + 0x68], 0
mov dh, dh
mov al, al
lea ecx, [esp + 0x1c]
push ecx
call fcn.10067590
mov edi, edi
mov edx, dword [esp + 0x5c]
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 + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push ecx
push edi
call fcn.10077380
add esp, 0x28
mov esi, esi
mov dword [edi + 0x3300], 1
push edx
pop edx
xor esi, esi
mov dword [edi + 0x3360], esi
push eax
pop eax
mov dword [edi + 0x37d0], esi
mov ch, ch
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
nop
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub ebx, edx
sar ebx, 3
je 0x100985d3
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
mov ebx, dword [edx + esi*8 + 4]
mov edx, dword [edx + esi*8]
push ecx
push eax
sub ebx, ecx
push ebx
sub edx, eax
push edx
push 9
push edi
call fcn.100696e0
add esp, 0x18
nop
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
sar eax, 3
sub eax, 1
cmp esi, eax
jae 0x100985a1
push 0
push edi
call fcn.1006a8c0
add esp, 8
test eax, eax
je 0x100985ae
mov ebx, dword [edi + 0x2600]
test ebx, ebx
je 0x100985ae
jle 0x10098595
call fcn.1011a54c
cdq
idiv ebx
mov ebp, ebp
mov ecx, ebx
sar ecx, 1
sub edx, ecx
mov edx, edx
lea eax, [edx + ebx]
jmp 0x1009859a
mov eax, 1
push eax
call ebp
mov ch, ch
jmp 0x100985ae
push 1
push edi
call fcn.1006a8c0
add esp, 8
mov ah, ah
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*8]
mov ecx, dword [ecx + esi*8 + 4]
mov edi, edi
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub ebx, edx
add esi, 1
sar ebx, 3
cmp esi, ebx
jb 0x10098536
mov dword [edi + 0x3300], 0
nop
jmp 0x10098893
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push esi
push 9
push edi
call fcn.100696e0
add esp, 0x18
mov bl, bl
jmp 0x100988c5
cmp eax, 1
je 0x10098760
cmp eax, 3
je 0x10098760
cmp eax, 2
jne 0x100988c5
lea ebp, [edi + 0x54]
push ebp
lea ebx, [edi + 0x50]
push ebx
push edi
call fcn.1006d890
add esp, 0xc
mov dl, dl
cmp dword [edi + 0x25fc], 0
je 0x1009873a
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
pop ebx
mov edi, edi
mov eax, eax
mov ecx, dword [ebx]
mov dword [esp + 0x2c], ecx
mov ecx, ecx
mov edx, dword [ebp]
mov dword [esp + 0x30], edx
mov edx, edx
mov ebx, dword [ebx]
add ebx, esi
push ecx
pop ecx
mov ebp, dword [ebp]
add ebp, dword [esp + 0x78]
push edx
pop edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x38]
call fcn.1006eeb0
mov dword [esp + 0x68], 2
mov esi, esi
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 ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
push ebx
push eax
push ecx
lea edx, [esp + 0x54]
push edx
push edi
call fcn.10077380
add esp, 0x28
mov ecx, ecx
mov ah, ah
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
xor esi, esi
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x70], esi
je 0x1009872b
lea esp, [esp]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push 1
push edx
push eax
push edi
call fcn.100ccd30
add esp, 0x10
nop
mov eax, dword [edi + 0x2600]
test eax, eax
je 0x10098713
mov esi, eax
call fcn.100612a0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov cl, cl
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub ecx, eax
add esi, 1
sar ecx, 3
cmp esi, ecx
mov dword [esp + 0x70], esi
jb 0x100986e0
mov dword [edi + 0x50], ebx
push ecx
pop ecx
mov dword [edi + 0x54], ebp
xchg ebx, eax
xchg ebx, eax
jmp 0x10098893
add dword [ebx], esi
mov ah, ah
mov edx, dword [esp + 0x78]
add dword [ebp], edx
mov edx, edx
mov eax, dword [ebp]
mov ecx, dword [ebx]
push 1
push eax
push ecx
push edi
call fcn.100ccd30
add esp, 0x10
mov dh, dh
jmp 0x100988c5
lea ebp, [edi + 0x54]
push ebp
lea ebx, [edi + 0x50]
push ebx
push edi
call fcn.1006d890
add esp, 0xc
mov ebp, ebp
cmp dword [edi + 0x25fc], 0
je 0x100988a6
mov edi, edi
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ecx
mov eax, eax
mov al, al
mov ecx, dword [ebx]
mov dword [esp + 0x2c], ecx
mov ecx, ecx
mov edx, dword [ebp]
mov dword [esp + 0x30], edx
mov ch, ch
mov ebx, dword [ebx]
add ebx, esi
mov dh, dh
mov ebp, dword [ebp]
add ebp, dword [esp + 0x78]
mov ah, ah
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x38]
call fcn.1006eeb0
mov dword [esp + 0x68], 1
mov eax, eax
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 ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
push ebx
push eax
push ecx
lea edx, [esp + 0x54]
push edx
push edi
call fcn.10077380
add esp, 0x28
xchg ebx, eax
xchg ebx, eax
push edx
pop edx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
xor ecx, ecx
sub edx, eax
sar edx, 3
mov dword [esp + 0x70], ecx
je 0x10098889
jmp 0x10098829
mov ecx, dword [esp + 0x70]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
push edx
push eax
push edi
call fcn.100931c0
add esp, 0xc
mov ch, ch
mov esi, dword [edi + 0x2600]
test esi, esi
je 0x1009886d
jle 0x1009885f
call fcn.1011a54c
cdq
idiv esi
mov ebp, ebp
mov ecx, esi
sar ecx, 1
sub edx, ecx
mov edx, edx
add esi, edx
jmp 0x10098864
mov esi, 1
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x70]
sub edx, eax
add ecx, 1
sar edx, 3
cmp ecx, edx
mov dword [esp + 0x70], ecx
jb 0x10098825
mov dword [edi + 0x50], ebx
mov esi, esi
mov dword [edi + 0x54], ebp
mov dl, dl
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.1006ef00
jmp 0x100988c5
add dword [ebx], esi
mov bh, bh
mov eax, dword [esp + 0x78]
add dword [ebp], eax
mov ebx, ebx
mov ecx, dword [ebp]
mov edx, dword [ebx]
push ecx
push edx
push edi
call fcn.100931c0
add esp, 0xc
push edx
pop edx
mov eax, 1
add dword [edi + 0x336c], eax
nop
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret