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

Disassembly:
push 0xffffffffffffffff
push 0x10154488
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a53c4]
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
push eax
pop eax
mov esi, dword [esp + 0x74]
test esi, esi
mov ebp, dword [esp + 0x78]
jne 0x1008290a
test ebp, ebp
jne 0x1008290a
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 0x10082b2d
push edx
pop edx
lea eax, [esp + 0x14]
push eax
call fcn.10052c70
push edx
pop edx
add dword [esp + 0x14], esi
nop
add dword [esp + 0x18], ebp
mov ah, ah
xor eax, eax
cmp dword [edi + 0x25fc], eax
je 0x10082b15
mov esi, esi
cmp ebx, eax
je 0x1008298d
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edi, edi
lea ecx, [esp + 0x2c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov bl, bl
mov ebx, ebx
lea edx, [esp + 0x40]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
pop ebx
mov esi, dword [esp + 0x2c]
push ebx
pop ebx
mov ebx, dword [esp + 0x30]
mov ch, ch
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
mov dh, dh
jmp 0x100829c5
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call ebx
mov ebp, eax
push ecx
pop ecx
push 0x4f
call ebx
mov dword [esp + 0x70], eax
mov dh, dh
push 0x4c
call ebx
mov esi, eax
push eax
pop eax
push 0x4d
call ebx
mov al, al
push eax
pop eax
mov ebx, eax
mov eax, eax
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x5c], edx
push ecx
pop ecx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x38]
call fcn.1005c5c0
mov dword [esp + 0x68], 0
mov esi, esi
mov ch, ch
lea ecx, [esp + 0x1c]
push ecx
call fcn.10052c70
mov ch, ch
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.10064f40
add esp, 0x28
mov al, al
mov dword [edi + 0x3300], 1
mov ah, ah
xor esi, esi
mov dword [edi + 0x3360], esi
mov ecx, ecx
mov dword [edi + 0x37d0], esi
mov ah, ah
mov esi, esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ah, ah
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub ebx, edx
sar ebx, 3
je 0x10082b04
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.10054cf0
add esp, 0x18
mov dl, dl
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
sar eax, 3
sub eax, 1
cmp esi, eax
jae 0x10082ad2
push 0
push edi
call fcn.1004eb20
add esp, 8
test eax, eax
je 0x10082adf
mov ebx, dword [edi + 0x2600]
test ebx, ebx
je 0x10082adf
jle 0x10082ac6
call fcn.100f7bac
cdq
idiv ebx
mov esi, esi
mov ecx, ebx
sar ecx, 1
sub edx, ecx
mov dl, dl
lea eax, [edx + ebx]
jmp 0x10082acb
mov eax, 1
push eax
call ebp
mov ebp, ebp
jmp 0x10082adf
push 1
push edi
call fcn.1004eb20
add esp, 8
mov eax, eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*8]
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, ecx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub ebx, edx
add esi, 1
sar ebx, 3
cmp esi, ebx
jb 0x10082a66
mov dword [edi + 0x3300], 0
mov bh, bh
jmp 0x10082dce
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push esi
push 9
push edi
call fcn.10054cf0
add esp, 0x18
xchg ebx, eax
xchg ebx, eax
jmp 0x10082dff
cmp eax, 1
je 0x10082c91
cmp eax, 3
je 0x10082c91
cmp eax, 2
jne 0x10082dff
lea ebp, [edi + 0x54]
push ebp
lea ebx, [edi + 0x50]
push ebx
push edi
call fcn.100587d0
add esp, 0xc
mov al, al
cmp dword [edi + 0x25fc], 0
je 0x10082c6b
nop
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov bh, bh
mov eax, eax
mov edx, edx
mov ecx, dword [ebx]
mov dword [esp + 0x2c], ecx
mov edx, edx
mov edx, dword [ebp]
mov dword [esp + 0x30], edx
mov dh, dh
mov ebx, dword [ebx]
add ebx, esi
mov dh, dh
mov ebp, dword [ebp]
add ebp, dword [esp + 0x78]
mov cl, cl
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x38]
call fcn.1005c5c0
mov dword [esp + 0x68], 2
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.10064f40
add esp, 0x28
push eax
pop eax
mov ch, ch
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 0x10082c5c
lea ebx, [ebx]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push 1
push edx
push eax
push edi
call fcn.100ae4e0
add esp, 0x10
mov al, al
mov eax, dword [edi + 0x2600]
test eax, eax
je 0x10082c44
mov esi, eax
call fcn.1004cc10
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, ecx
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 0x10082c10
mov dword [edi + 0x50], ebx
mov eax, eax
mov dword [edi + 0x54], ebp
mov ebp, ebp
jmp 0x10082dce
add dword [ebx], esi
push edx
pop edx
mov edx, dword [esp + 0x78]
add dword [ebp], edx
push ebx
pop ebx
mov eax, dword [ebp]
mov ecx, dword [ebx]
push 1
push eax
push ecx
push edi
call fcn.100ae4e0
add esp, 0x10
push ebx
pop ebx
jmp 0x10082dff
lea ebp, [edi + 0x54]
push ebp
lea ebx, [edi + 0x50]
push ebx
push edi
call fcn.100587d0
add esp, 0xc
mov ch, ch
cmp dword [edi + 0x25fc], 0
je 0x10082de1
mov ecx, ecx
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, eax
mov ebx, ebx
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [ebx]
mov dword [esp + 0x2c], ecx
mov ebp, ebp
mov edx, dword [ebp]
mov dword [esp + 0x30], edx
mov al, al
mov ebx, dword [ebx]
add ebx, esi
mov cl, cl
mov ebp, dword [ebp]
add ebp, dword [esp + 0x78]
mov dh, dh
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x38]
call fcn.1005c5c0
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.10064f40
add esp, 0x28
mov dl, dl
mov ch, ch
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 0x10082dc4
jmp 0x10082d64
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.1007d6f0
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov esi, dword [edi + 0x2600]
test esi, esi
je 0x10082da8
jle 0x10082d9a
call fcn.100f7bac
cdq
idiv esi
mov esi, esi
mov ecx, esi
sar ecx, 1
sub edx, ecx
mov dl, dl
add esi, edx
jmp 0x10082d9f
mov esi, 1
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ecx
pop ecx
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 0x10082d60
mov dword [edi + 0x50], ebx
mov ecx, ecx
mov dword [edi + 0x54], ebp
mov ebp, ebp
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.100bac60
jmp 0x10082dff
add dword [ebx], esi
push edx
pop edx
mov eax, dword [esp + 0x78]
add dword [ebp], eax
mov esi, esi
mov ecx, dword [ebp]
mov edx, dword [ebx]
push ecx
push edx
push edi
call fcn.1007d6f0
add esp, 0xc
nop
mov eax, 1
add dword [edi + 0x336c], eax
push edx
pop edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret