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

Disassembly:
push 0xffffffffffffffff
push 0x1002757b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [esp + 0x1a8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
mov dword [esp + 0x34], ebp
jne 0x1001020a
mov eax, dword [esi + 8]
push eax
call fcn.10009b70
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x34], 1
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x38]
push edx
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0x40]
push ecx
push edx
call edi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
sub ecx, ebx
push ebp
sub edx, eax
mov eax, dword [esp + 0x1bc]
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
call fcn.1000fbf0
mov ecx, dword [esp + 0x50]
push 1
push ecx
mov dword [esp + 0x1b8], ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [0x1002cd98]
mov ecx, dword [esp + 0x50]
mov eax, dword [edx + 0x9c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x1002cd98]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x1e8]
push edx
mov edx, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x1c]
add eax, 0x1248
sub edx, ebx
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push ebp
push ebp
push eax
call fcn.1000b6a0
mov edx, dword [esi + 8]
add esp, 0x1c
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], ebp
push ecx
push edx
mov dword [esp + 0x54], ebp
call edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_MenuItemFromPoint]
mov edi, eax
cmp edi, ebp
jle 0x1001034d
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 8]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
push ebp
push ecx
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_GetMenuItemRect]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 8]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push edi
push ecx
push edx
call dword [sym.imp.USER32.dll_GetMenuItemRect]
sub ebx, dword [esp + 0x24]
mov dword [esp + 0x30], ebx
jmp 0x10010353
xor edi, edi
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
mov dword [esp + 0x64], eax
mov ebx, edi
jge 0x100104b5
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_GetMenuItemRect]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub ecx, edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push ecx
neg edx
lea eax, [esp + 0x24]
push edx
push eax
call edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jg 0x100104bf
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xa8]
lea edx, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x68]
push eax
push 0x400
push ebx
push ecx
mov dword [esp + 0x78], 0x30
mov dword [esp + 0x7c], 0x1ef
mov dword [esp + 0xa0], 0x100
mov dword [esp + 0x9c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x100104a8
mov edx, dword [esp + 0x70]
test dh, 1
je 0x1001047a
mov eax, dword [0x1002cd98]
mov eax, dword [eax + 0x40c]
cmp eax, ebp
je 0x1001045a
mov ecx, dword [esp + 0x88]
cmp ecx, dword [eax]
je 0x10010453
mov eax, dword [eax + 8]
cmp eax, ebp
jne 0x10010446
jmp 0x1001045a
add eax, 4
cmp eax, ebp
jne 0x1001047a
lea ecx, [esp + 0x68]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x1c0]
push eax
push ecx
mov ecx, esi
call fcn.10010e00
jmp 0x100104a8
test dh, 8
je 0x10010492
lea edx, [esp + 0x20]
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
call fcn.10010bf0
jmp 0x100104a8
lea ecx, [esp + 0x68]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, esi
call fcn.10010c70
mov eax, dword [esp + 0x64]
inc ebx
cmp ebx, eax
jl 0x1001036b
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [0x1002ef54]
mov ebx, dword [0x1002ef4c]
lea ecx, [esi + 0x30]
push ecx
mov ecx, dword [0x1002ef58]
push 0xff00ff
push ecx
push edx
push ebp
push ebp
push 0
push 0
mov ecx, dword [esp + 0x34]
push edx
sub eax, ecx
mov ecx, dword [esp + 0x3c]
sub eax, 5
sub ecx, edx
mov edx, dword [esp + 0x74]
push eax
sub ecx, dword [esp + 0x38]
sub ecx, 6
push ecx
push edx
call fcn.1000b4c0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
mov edx, ecx
add esp, 0x30
sub edx, eax
cmp edx, 0xa
jle 0x100105e6
mov ebx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
mov edx, ecx
sub edx, ebx
mov ebx, dword [sym.imp.USER32.dll_SetRect]
add edx, eax
lea eax, [esp + 0x28]
push edx
push ecx
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
sub ecx, eax
add ecx, edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
lea edx, [esp + 0xa4]
push eax
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
neg eax
neg ecx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
neg eax
neg ecx
push eax
lea edx, [esp + 0x9c]
push ecx
push edx
call edi
mov eax, dword [0x1002cd98]
mov edx, dword [eax + 0x1e8]
mov ecx, dword [eax + 0x10]
add edx, 0x20a0
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.1000b6e0
mov eax, dword [0x1002cd98]
lea ecx, [esp + 0xa8]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x1e8]
add eax, 0x21c0
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
call fcn.1000b6e0
mov eax, dword [esp + 0x34]
add esp, 0x20
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
push 0xcc0020
push ebp
push ebp
sub edx, eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c8]
push edx
sub eax, dword [esp + 0x24]
push eax
push ebp
push ebp
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x34], ebp
je 0x10010629
mov edx, dword [esp + 0x1b8]
mov eax, dword [esi + 8]
push edx
push eax
call fcn.10009ba0
lea ecx, [esp + 0x50]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.1000fc70
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 4