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

Disassembly:
sub esp, 0xd0
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push 0x3e9
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x24], ebp
call fcn.10057540
push ebp
push ebp
mov ebx, dword [esp + 0xec]
mov dword [esp + 0xa0], eax
lea edi, [ebx + 0x14]
mov ecx, edi
call fcn.10051070
cmp eax, ebp
je 0x10053ec7
cmp dword [esp + 0xe8], ebp
jne 0x100539ba
lea esi, [eax + 0x18]
push esi
call fcn.1002a460
add esi, eax
push esi
call fcn.1002a460
add esi, eax
add esp, 8
mov esi, dword [esi]
cmp esi, ebp
je 0x100539ba
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100539ba
cmp dword [esi + 0x1b0], ebp
je 0x100539cd
push ebp
push ebp
mov ecx, esi
call fcn.100978f0
cmp dword [esp + 0xf0], 1
jne 0x10053a18
mov dword [esp + 0xf4], ebp
jmp 0x10053a32
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x100539f6
push 9
mov ecx, esi
call fcn.100b104d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd0
ret 0x14
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.100ae690
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd0
ret 0x14
mov eax, dword [esp + 0xf4]
cmp eax, ebp
je 0x10053a32
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10053ec7
push ebp
push ebp
push 0x7d9
call fcn.10057540
lea ecx, [ebx + 0x34]
push edi
mov dword [esp + 0x20], ecx
call fcn.10051000
push ebx
mov ecx, dword [esp + 0x9c]
call fcn.100516f0
cmp eax, ebp
mov dword [esp + 0x48], eax
je 0x10053ec7
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x14], ebp
call fcn.10051da0
cmp eax, ebp
mov dword [esp + 0x24], ebp
jle 0x10053aad
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x24]
push ebp
push ecx
push ebp
push 0xffffffffffffffff
push eax
push ebp
push edx
mov ecx, edi
call fcn.10051070
push eax
call fcn.1007d3f0
add esp, 0x18
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x50]
call fcn.100299a0
mov esi, 0x100c3c34
lea ecx, [esp + 0x78]
mov dword [esp + 0x50], esi
call fcn.100299a0
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], esi
call fcn.100299a0
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], esi
call fcn.100299a0
mov ebx, dword [ebx + 0x18]
cmp ebx, ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x14], ebx
jle 0x10053db4
mov eax, dword [esp + 0x4c]
mov edi, ebx
sub edi, eax
mov eax, dword [esp + 0xe4]
neg edi
sbb edi, edi
lea esi, [eax + 0x14]
and edi, ebx
push 0
push edi
mov ecx, esi
call fcn.10051070
mov ebp, eax
test ebp, ebp
je 0x10053db4
push edi
mov ecx, esi
call fcn.10051960
cmp eax, 1
jne 0x10053b38
dec ebx
mov dword [esp + 0x14], ebx
jmp 0x10053dac
mov ecx, dword [ebp]
push 0
push ecx
push 0x3ea
call fcn.10057540
mov ebx, eax
test ebx, ebx
je 0x10053ed6
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10053ed6
push 1
call eax
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10053ed6
lea esi, [ebp + 0x18]
push esi
call fcn.1002a460
add esi, eax
push esi
call fcn.1002a460
add esp, 8
add esi, eax
mov eax, dword [esp + 0xe4]
lea edx, [esp + 0x8c]
push edx
push ebp
lea ebp, [eax + 0x14]
mov dword [esp + 0x30], esi
mov ecx, ebp
add esi, 4
call fcn.10051980
push edi
mov ecx, ebp
mov dword [esp + 0xa0], eax
call fcn.100510c0
mov ecx, dword [ebx + 0x14]
shr ecx, 8
and ecx, 1
mov dword [esp + 0x94], eax
push ecx
lea ecx, [esp + 0x68]
call fcn.10029c30
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x90], edx
mov edx, dword [esi + 0xc]
add esi, 0x18
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], ecx
mov eax, dword [esi]
mov dword [esp + 0xa4], edx
xor ebp, ebp
mov ecx, dword [esi + eax*4 + 4]
lea eax, [esi + eax*4 + 4]
lea esi, [eax + ecx + 4]
push esi
call fcn.1002a460
mov ecx, dword [ebx + 0x14]
lea esi, [esi + eax + 4]
add esp, 4
mov eax, dword [esi]
test ch, 0x80
mov dword [esp + 0x20], eax
je 0x10053c2e
push ebp
lea ecx, [esp + 0x38]
call fcn.10029cb0
jmp 0x10053c62
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x10053c4a
test edi, edi
jne 0x10053c4a
push 1
lea ecx, [esp + 0x38]
call fcn.10029cb0
jmp 0x10053c62
and al, 1
lea ecx, [esp + 0x34]
push eax
call fcn.10029cb0
test byte [esp + 0x20], 2
je 0x10053c62
mov ebp, 0x8000000
test byte [esp + 0x20], 4
je 0x10053c6f
or ebp, 0x10000
test edi, edi
jne 0x10053d21
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xa4]
push edi
mov ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x9c]
mov dword [0x100ed3f0], edx
mov edx, dword [esp + 0xb0]
push edi
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xbc]
push ebx
push 0
push edx
push ebp
push eax
push ecx
call dword [esp + 0x64]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
mov dword [0x100ed3f0], ebp
mov dword [esp + 0x18], esi
je 0x10053e42
mov eax, dword [esi + 0x1c]
cmp eax, ebp
mov dword [esp + 0xac], eax
je 0x10053e42
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10053e42
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x10], ebp
mov dword [esi + 0xd4], edx
jmp 0x10053d7f
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
push 0
mov ebx, dword [esp + 0x34]
push 0
push edi
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xbc]
push 0
push ebx
push eax
push ebp
push ecx
push edx
call dword [esp + 0x64]
add ebx, 0xa
mov esi, eax
mov dword [esp + 0x30], ebx
test esi, esi
je 0x10053e67
mov eax, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x54]
mov dword [eax], esi
call fcn.10029c30
push esi
lea ecx, [esp + 0x7c]
call fcn.10029c30
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
mov ebx, eax
test ebx, ebx
jg 0x10053af5
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x58]
and eax, esi
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
mov edi, eax
mov edx, dword [esp + 0x3c]
neg edi
sbb edi, edi
and edi, ecx
mov ecx, dword [esp + 0x88]
neg ecx
sbb ecx, ecx
and ecx, ebx
mov ebx, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
neg ecx
sbb ecx, ecx
and ecx, edx
shr eax, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xe4]
push 0
push ebx
lea esi, [eax + 0x14]
mov ecx, esi
call fcn.10051070
mov ebp, eax
test ebp, ebp
je 0x10053fef
push ebx
mov ecx, esi
call fcn.10051960
cmp eax, 1
jne 0x10053eff
inc ebx
jmp 0x10053e0c
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10053e51
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
cmp ebx, ebp
je 0x10053e5c
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x10053e8e
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10053e76
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10053e85
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x100c3c18
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.10029ba0
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
call fcn.10029ba0
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], esi
call fcn.10029ba0
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], esi
call fcn.10029ba0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd0
ret 0x14
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10053ee5
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10053ef4
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x10053e8e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe4]
push ecx
lea ecx, [edx + 0x14]
call fcn.100510c0
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.1002a4f0
mov ecx, dword [esp + 0x2c]
mov ebx, eax
lea esi, [ebp + 0x18]
mov edx, dword [ecx + ebx*4]
push esi
mov dword [esp + 0x38], edx
call fcn.1002a460
add esi, eax
push esi
call fcn.1002a460
lea esi, [eax + esi + 0x18]
add esp, 0x14
mov eax, dword [esi]
test eax, eax
je 0x10053f62
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.1002a4f0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [ecx + eax*4]
jmp 0x10053f66
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10053f6d
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetParent]
push eax
call fcn.100ae690
mov ecx, dword [esp + 0x4c]
cmp dword [ecx + ebx*4], 0
je 0x10053fdf
mov eax, dword [esi + 4]
add esi, 4
add esi, 4
test eax, eax
jle 0x10053fdf
cmp dword [esi], 0
je 0x10053fb6
dec eax
add esi, 4
test eax, eax
jg 0x10053f99
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x10053e10
test eax, eax
jle 0x10053fdf
mov ebx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esi]
test eax, eax
je 0x10053fd9
mov edx, dword [esp + 0x14]
push eax
push edx
push edi
call fcn.1002a4f0
add esp, 0xc
mov byte [eax + ebx], 0
add esi, 4
dec ebp
jne 0x10053fc0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x10053e10
mov ebp, 1
xor ebx, ebx
mov dword [esp + 0x10], ebp
push ebx
push ebp
mov ecx, esi
call fcn.10051070
mov edi, eax
cmp edi, ebx
je 0x100540fc
push ebp
mov ecx, esi
call fcn.10051960
cmp eax, 1
jne 0x10054021
inc ebp
mov dword [esp + 0x10], ebp
jmp 0x10053ffa
add edi, 0x18
push edi
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + edi]
mov ebp, dword [eax + edi + 0x18]
add eax, edi
mov eax, edx
add esp, 8
cmp eax, 2
mov dword [esp + 0x30], ecx
lea ebx, [edx - 1]
jl 0x10054089
push 0
push ebx
mov ecx, esi
call fcn.10051070
push ebx
mov ecx, esi
mov edi, eax
call fcn.10051960
test eax, eax
jne 0x10054083
add edi, 0x18
push edi
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
add edi, eax
add esp, 8
cmp dword [edi + 0x18], ebp
je 0x100540b5
dec ebx
cmp ebx, 1
jge 0x10054050
mov eax, dword [esp + 0x30]
push 0x13
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x10]
inc eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov ebp, eax
jmp 0x10053ffa
cmp ebx, 1
jl 0x10054089
push 0
push ebx
mov ecx, esi
call fcn.10051070
test eax, eax
je 0x100540a3
lea edi, [eax + 0x18]
push edi
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
add edi, eax
add esp, 8
mov edi, dword [edi]
test edi, edi
je 0x100540a3
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x1c]
push 0x13
push 0
mov edx, dword [ecx + 0x1c]
push 0
push 0
push 0
push eax
push edx
jmp 0x1005409d
xor ebp, ebp
mov eax, ebp
inc ebp
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x18], ebp
call fcn.10051070
mov edi, eax
cmp edi, ebx
je 0x10054185
lea edx, [ebp - 1]
mov ecx, esi
push edx
call fcn.10051960
cmp eax, 1
je 0x100540fe
lea ebx, [edi + 0x18]
mov edi, ebx
push edi
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
mov ecx, dword [edi + eax + 0x1c]
lea eax, [edi + eax + 0x1c]
mov edi, ebx
push edi
lea ebp, [eax + ecx*4 + 4]
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
lea edi, [eax + edi + 0x14]
mov eax, dword [ebp]
add esp, 0x10
test eax, eax
jle 0x10054178
add ebp, 4
push eax
push ebp
call fcn.10015770
mov ebp, dword [esp + 0x18]
add esp, 8
mov dword [edi], eax
xor ebx, ebx
jmp 0x100540fe
mov ebp, dword [esp + 0x10]
xor ebx, ebx
mov dword [edi], ebx
jmp 0x100540fe
mov edx, dword [esp + 0xe4]
mov ebp, dword [edx + 0x18]
dec ebp
js 0x10054203
lea eax, [ebp + 1]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov eax, ebp
dec ebp
dec edi
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.10051070
mov edi, eax
cmp edi, ebx
je 0x10054203
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10051960
test eax, eax
jne 0x100541ff
add edi, 0x18
push edi
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
add edi, eax
add esp, 8
mov edi, dword [edi]
cmp edi, ebx
je 0x100541ff
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100541ff
mov eax, dword [edi + 0x1c]
push ebx
push ebx
push 0x806f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, ebx
jge 0x10054199
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push 0x8004
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 1
cmp dword [esp + 0x14], esi
jle 0x1005424f
mov eax, dword [esp + 0x20]
lea edi, [eax + 4]
mov ecx, dword [esp + 0x2c]
mov dl, byte [esi + ecx]
mov ecx, dword [edi]
dec dl
neg dl
sbb edx, edx
and edx, 0xfffffff8
add edx, 8
push edx
call fcn.100b104d
inc esi
add edi, 4
cmp esi, dword [esp + 0x14]
jl 0x1005422a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1d8]
cmp eax, ebx
je 0x10054264
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push 0x7da
mov dword [edx + 0x1d8], ecx
call fcn.10057540
push ebx
mov eax, dword [esp + 0xe8]
lea ecx, [eax + 0x14]
call fcn.100510c0
lea ecx, [esp + 0xb4]
push ebx
mov edi, dword [esp + 0x4c]
mov esi, eax
push ecx
push 0x7d8
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
call fcn.10057540
mov ebp, dword [esp + 0xac]
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10054499
lea edx, [esp + 0xb4]
push ebx
push edx
push 0x7d8
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], 3
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
call fcn.10057540
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10054499
lea eax, [esp + 0xb4]
push ebx
push eax
push 0x7d8
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], 4
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
call fcn.10057540
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10054499
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
neg eax
sbb eax, eax
and eax, edx
cmp byte [eax], 0
je 0x100543b5
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push ecx
push edx
push edi
mov ecx, 0x100ecf68
call fcn.10053820
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1005448b
mov ecx, dword [esp + 0xf0]
mov eax, 1
cmp ecx, eax
jne 0x1005448b
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx + 0x1b8], eax
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x28]
mov eax, ebp
push edx
push eax
inc ebp
call fcn.10051740
test eax, eax
je 0x1005448b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xe4]
cmp eax, ecx
je 0x100543e4
push ebx
push ebx
lea ecx, [eax + 0x14]
call fcn.10051070
mov edi, eax
add edi, 0x18
push edi
call fcn.1002a460
add edi, eax
push edi
call fcn.1002a460
add edi, eax
add esp, 8
mov edi, dword [edi]
cmp edi, ebx
je 0x100543e4
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100543e4
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.100ae690
test eax, eax
jne 0x100543e4
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
push eax
lea esi, [edx + 0x1bc]
mov ecx, esi
call fcn.10029c30
mov ecx, edi
call fcn.100b1074
push eax
mov ecx, esi
call fcn.10029c30
push ebx
mov ecx, edi
call fcn.100b108f
jmp 0x100543e4
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x1b4], 1
mov esi, 0x100c3c18
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.10029ba0
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], esi
call fcn.10029ba0
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], esi
call fcn.10029ba0
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], esi
call fcn.10029ba0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd0
ret 0x14