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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x731f70b4]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov dword [esp + 0x20], 0
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
cmp dword [esi + 0x11a0], edx
je 0x73164fbf
test byte [ebx + 0xd4], 1
je 0x73164fbf
cmp dword [edi + 0x38], edx
jge 0x73164fbf
lea eax, [edx + 1]
jmp 0x73164fc1
xor eax, eax
test byte [esi + 0x8c], 2
mov dword [esp + 0x2c], eax
jne 0x73165c38
and dword [esi + 0x118], 0xfffeffff
test dword [ebx + 0x2c], 0x400
je 0x731650b5
test eax, eax
jne 0x731650b5
mov dword [esp + 0xe4], eax
mov eax, dword [edi]
mov dword [esp + 0xc8], eax
mov eax, dword [edi + 4]
mov edi, dword [esi + 0x76c]
mov ecx, edi
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xd4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xd8], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xdc], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xc8]
push eax
push dword [esi + 0x684]
call dword [0x731fd4e8]
call edi
cmp dword [0x731f8520], 0
mov dword [ebx + 0xd8], eax
jne 0x7316508b
cmp eax, 0x88760870
je 0x7316508b
test eax, eax
jns 0x73165c5a
test byte [esi + 0x8c], 2
je 0x73165c5a
jmp 0x73165092
mov ecx, esi
call fcn.73166730
lea eax, [esp + 0xc8]
push eax
push dword [esi + 0x684]
mov esi, dword [esi + 0x76c]
mov ecx, esi
call dword [0x731fd4e8]
call esi
jmp 0x73165c54
cmp dword [ebx + 0x98], edx
je 0x73165b3d
cmp edi, dword [esi + 0xb8]
je 0x731650d1
test eax, eax
je 0x73165b3d
mov ecx, dword [ecx + 0x20]
mov dword [ebx + 0xd8], 0x80004005
cmp dword [esi + 0xb20], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], 1
je 0x73165111
test byte [ebx + 0x2c], 1
jne 0x73165119
test eax, eax
je 0x73165360
xor eax, eax
jmp 0x73165120
cmp dword [eax*8 + 0x73155154], ecx
je 0x73165133
inc eax
cmp eax, 0x5f
jb 0x73165120
xor eax, eax
jmp 0x7316513a
mov eax, dword [eax*8 + 0x73155150]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
mov dword [esi + 0x1158], 0
lea eax, [esp + 0x2c]
push eax
mov dword [esi + 0x115c], 0
lea eax, [esp + 0x3c]
mov edi, dword [ebx + 0x2c]
and edi, 2
push eax
or edi, 0x20
shr edi, 1
push edi
push 0
push dword [esi + 0xb38]
mov dword [esp + 0x58], edi
push dword [esi + 0xb34]
push dword [ebx + 0x98]
call dword [sym.imp.dwmapi.dll_Ordinal_100]
mov edx, eax
mov dword [esp + 0x1c], edx
test edx, edx
jns 0x73165268
mov edi, dword [esi + 0xb24]
mov dword [esi + 0xb20], 0
mov dword [esi + 0xb28], 0
test edi, edi
je 0x731651d5
mov edx, edi
mov ecx, esi
call fcn.731633c0
test edi, edi
je 0x731651cb
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 0xb24], 0
lea edi, [esi + 0x54]
lea ecx, [esi + 0xc]
mov edx, edi
call fcn.7316e4d0
test eax, eax
jns 0x73165203
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x1c]
cmp edx, 0x263005
je 0x7316521b
cmp edx, 0x263008
jne 0x7316535c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp edx, 0x263008
jne 0x73165360
mov dword [esp + 0x3c], 1
mov dword [esp + 0x28], 0
jmp 0x73165360
mov ecx, dword [esp + 0x34]
xor eax, eax
mov edi, edi
cmp dword [eax*8 + 0x73155150], ecx
je 0x73165289
inc eax
cmp eax, 0x5f
jb 0x73165270
mov dword [esp + 0x18], 0
jmp 0x73165294
mov eax, dword [eax*8 + 0x73155154]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x28], 0
jne 0x73165207
cmp edx, 0x263008
je 0x73165207
mov dword [ebx + 0xd8], 0
mov edi, dword [esp + 0xc]
cmp dword [0x731f8520], 0
jne 0x731652ce
cmp dword [ebx + 0xd8], 0x88760870
jne 0x731652d5
mov ecx, esi
call fcn.73166730
mov eax, dword [esi + 0x8c]
test al, 2
jne 0x73165c34
test edi, edi
je 0x73165307
cmp dword [ebx + 0xd8], 0
jne 0x73165307
or eax, 8
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.7315f110
and dword [esi + 0x8c], 0xfffffff7
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x7316534d
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x120]
push eax
push 0
push 0
push edx
push ecx
push dword [ebx + 0x98]
call dword [sym.imp.dwmapi.dll_Ordinal_101]
mov dword [esi + 0x118], 0
jmp 0x73165c5a
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0xb20], 0
je 0x7316536f
test byte [ebx + 0x2c], 1
jne 0x73165377
test eax, eax
je 0x7316576c
push 0x38
lea eax, [esp + 0xec]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x130], 0x3c
lea eax, [esp + 0x130]
push eax
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_GetWindowInfo]
test eax, eax
je 0x73165b1d
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0xb28]
je 0x731653f0
mov edi, dword [esi + 0xb24]
test edi, edi
je 0x731653ea
mov edx, edi
mov ecx, esi
call fcn.731633c0
test edi, edi
je 0x731653dc
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x28]
mov dword [esi + 0xb24], 0
mov dword [esi + 0xb28], eax
cmp dword [esp + 0x3c], 0
je 0x73165404
mov dword [esp + 0x10], 0
jmp 0x731654cd
mov edi, dword [esi + 0xb24]
test edi, edi
jne 0x731654c9
push 0x38
lea eax, [esp + 0x5c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x5c
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x73165b0e
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [esi + 0xb28]
or dword [esp + 0x88], 0x10881
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov dword [edi + 0x10], ecx
mov ecx, esi
push 1
push eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], 1
mov dword [esp + 0x68], 2
call fcn.73163a90
add esp, 0xc
mov dword [ebx + 0xd8], eax
cmp eax, 0x80070057
je 0x73165af8
test eax, eax
js 0x73165b02
mov eax, dword [esp + 0x84]
mov dword [edi], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 4], 0
mov dword [edi + 0x3c], esi
mov dword [edi + 0x1c], eax
mov dword [esi + 0xb24], edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x73165770
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov ecx, dword [esp + 0x144]
sub edi, ecx
mov dword [esp + 0xf0], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xf4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0xf8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x148]
sub edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x44], 1
mov dword [esp + 0x34], 0
cmp edi, eax
jle 0x7316553e
mov edi, eax
mov eax, dword [ebx + 0x14]
cmp edx, eax
jle 0x73165547
mov edx, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x7316555a
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x73165565
mov dword [esp + 0x34], eax
sub edi, dword [esp + 0x134]
sub ecx, dword [esp + 0x134]
add ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x144]
add eax, edi
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x138]
add edi, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x138]
add edx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
cmp ecx, eax
jb 0x731655bd
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jb 0x731655c7
mov ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
cmp edi, eax
jb 0x731655d4
mov edi, eax
cmp edx, eax
jb 0x731655da
mov edx, eax
cmp ecx, dword [esp + 0x38]
jle 0x731652ab
cmp edx, edi
jle 0x731652ab
cmp dword [esi + 0x1188], 0
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov eax, dword [esi + 0x684]
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
je 0x73165666
mov edi, dword [esi + 0x89c]
mov ecx, edi
push 0
push eax
call dword [0x731fd4e8]
call edi
jmp 0x73165677
mov edi, dword [esi + 0x730]
mov ecx, edi
push eax
call dword [0x731fd4e8]
call edi
mov dword [ebx + 0xd8], eax
test eax, eax
js 0x73165716
or dword [esi + 0x8c], 8
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 0x768]
mov ecx, edi
or dword [esp + 0x11c], 0x500
mov dword [esi + 0x1158], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x115c], eax
lea eax, [esp + 0xe8]
push eax
push dword [esi + 0x684]
call dword [0x731fd4e8]
call edi
mov dword [ebx + 0xd8], eax
test eax, eax
js 0x73165716
cmp dword [esi + 0x1188], 0
mov eax, dword [esi + 0x684]
je 0x731656f7
mov edi, dword [esi + 0x89c]
mov ecx, edi
push 0
push eax
call dword [0x731fd4e8]
call edi
jmp 0x73165708
mov edi, dword [esi + 0x730]
mov ecx, edi
push eax
call dword [0x731fd4e8]
call edi
mov dword [ebx + 0xd8], eax
mov dword [esp + 0xc], 0
and dword [esi + 0x8c], 0xfffffff7
mov dword [esi + 0x1158], 0
mov dword [esi + 0x115c], 0
cmp dword [ebx + 0xd8], 0
jl 0x7316576c
lea eax, [esp + 0x108]
push eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [ebx + 0x98]
call dword [sym.imp.dwmapi.dll_Ordinal_101]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
cmp dword [esi + 0xb20], 0
je 0x73165787
test byte [ebx + 0x2c], 1
je 0x73165787
test eax, eax
je 0x731652b5
cmp dword [esp + 0x44], 0
jne 0x731652b5
cmp dword [esi + 0x1188], 0
mov eax, dword [esi + 0x684]
je 0x731657b6
mov edi, dword [esi + 0x89c]
mov ecx, edi
push 0
push eax
call dword [0x731fd4e8]
call edi
jmp 0x731657c7
mov edi, dword [esi + 0x730]
mov ecx, edi
push eax
call dword [0x731fd4e8]
call edi
mov dword [ebx + 0xd8], eax
mov dword [esp + 0xc], 0
test eax, eax
js 0x731652b5
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 1
cmp dword [esp + 0x3c], ecx
jne 0x73165863
mov edx, dword [esp + 0x10]
test byte [edx + 0x44], 1
jne 0x73165863
mov eax, dword [edx]
mov dword [esp + 0x98], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x9c], eax
jmp 0x73165871
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov eax, dword [esi + 0x118]
or eax, 1
mov dword [esi + 0x118], eax
cmp dword [esp + 0x14], ecx
jne 0x73165891
or eax, 0x2000
mov dword [esi + 0x118], eax
test byte [ebx + 0x2c], 1
jne 0x731658a1
cmp dword [esp + 0x2c], ecx
jne 0x731658a1
xor eax, eax
jmp 0x731658a7
mov eax, dword [ebx + 0x98]
mov dword [esi + 0xd4], eax
lea edi, [ebx + 0x1c]
mov eax, dword [edi]
mov dword [esi + 0xf8], eax
mov eax, dword [edi + 4]
mov dword [esi + 0xfc], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x100], eax
mov eax, dword [edi + 0xc]
or dword [esi + 0x118], 0x80
mov edx, dword [esi + 0x118]
mov dword [esi + 0x104], eax
or edx, 0x40
mov eax, dword [ebx + 8]
mov dword [esi + 0xe8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xec], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0xf0], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0xf4], eax
mov dword [esi + 0x118], edx
cmp dword [esi + 0xd4], ecx
je 0x7316591c
xor eax, eax
jmp 0x7316592e
mov eax, dword [esi + 0xb3c]
or edx, 0x100
mov dword [esi + 0x118], edx
mov dword [esi + 0xd8], eax
mov dword [esi + 0x10c], edi
mov edi, dword [esp + 0x14]
mov dword [esi + 0x108], 1
test edi, edi
jne 0x731659ed
mov eax, dword [ebx + 0x2c]
test al, 2
je 0x731659ed
test al, 1
je 0x731659d0
lea eax, [esp + 0xc8]
push eax
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x731659d3
mov eax, dword [esi + 0x54]
neg eax
mov dword [esp + 0x120], eax
mov eax, dword [esi + 0x58]
neg eax
mov dword [esp + 0x124], eax
lea eax, [esp + 0x120]
push eax
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x731659d3
push dword [esp + 0x124]
lea eax, [esp + 0xcc]
push dword [esp + 0x124]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
test eax, eax
je 0x731659d3
lea edi, [esp + 0xc8]
jmp 0x731659d3
lea edi, [ebx + 8]
mov edx, edi
mov ecx, ebx
call fcn.731677f0
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0xcc], eax
mov edx, dword [esi + 0x118]
mov eax, ecx
xor eax, edx
and eax, 7
xor ecx, eax
mov dword [esp + 0xa0], ecx
test edi, edi
je 0x73165a59
mov eax, dword [esp + 0x28]
or edx, 0x10000
cmp dword [esi + 0x1184], 0x2000
mov dword [esi + 0x118], edx
cdq
mov dword [esi + 0x240], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x248], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x228], 3
mov dword [esi + 0x244], edx
mov dword [esi + 0x24c], eax
jae 0x73165a59
mov dword [esp + 0xa4], 1
lea edx, [esp + 0x90]
mov ecx, esi
call fcn.7315f180
mov dword [ebx + 0xd8], eax
mov dword [esi + 0x10c], 0
cmp dword [ebx + 0xd8], 0
jl 0x731652b5
cmp dword [esi + 0xb20], 0
je 0x731652b5
test byte [ebx + 0x2c], 1
je 0x731652b5
test byte [esi + 0x8c], 1
jne 0x731652b5
test edi, edi
jne 0x731652b5
lea edi, [esi + 0x54]
lea ecx, [esi + 0xc]
mov edx, edi
call fcn.7316e4d0
test eax, eax
jns 0x73165ade
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebx + 0x98], 0
mov edi, dword [esp + 0x10]
je 0x73165b3d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
jmp 0x731650c1
mov dword [ebx + 0xd8], 0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x731652b5
mov dword [ebx + 0xd8], 0x8007000e
jmp 0x731652b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x578
jne 0x731652b5
mov dword [ebx + 0xd8], 0x80070578
jmp 0x731652b5
push 0x38
lea eax, [esp + 0x94]
push 0
push eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x3c]
add esp, 0xc
test dword [ebx + 0x2c], 0x10000
mov ecx, dword [esp + 0xc4]
mov eax, dword [edx]
mov dword [esp + 0x90], eax
mov eax, dword [edi]
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0xa4], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 4]
mov dword [esp + 0xac], eax
je 0x73165bf2
mov eax, dword [ebx + 0x90]
or ecx, 4
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [edx + 0x44]
xor eax, dword [edi + 0x44]
test al, 0x10
je 0x73165c09
or ecx, 0x80
mov dword [esp + 0xc4], ecx
mov edi, dword [esi + 0x768]
lea eax, [esp + 0x90]
push eax
push dword [esi + 0x684]
mov ecx, edi
call dword [0x731fd4e8]
call edi
mov dword [ebx + 0xd8], eax
xor edi, edi
jmp 0x731652b9
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x98], 0
jne 0x73165c4f
test edi, edi
je 0x73165c4f
cmp dword [edi + 0x1c], 1
je 0x73165c4f
xor eax, eax
jmp 0x73165c54
mov eax, 0x88760868
mov dword [ebx + 0xd8], eax
mov ecx, dword [esp + 0x16c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret 4