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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x538c46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x245], 0
jne 0x538c28
mov eax, dword [ebp - 4]
cmp dword [eax + 0x23c], 0
je 0x538c28
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
call fcn.0043a74c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x228]
mov eax, ebx
call fcn.00541728
mov edx, eax
mov eax, dword [ebx + 0x2cc]
call fcn.0053d438
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x234]
jne 0x538728
mov eax, dword [ebp - 0x14]
call fcn.0053b85c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.0043b0a0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.0043b000
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004f7c30
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x240]
call fcn.004a2a78
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004f6f38
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x234]
xor eax, eax
mov dword [edx + 0x210], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
cmp eax, 0xffffffff
jne 0x5386c9
mov eax, dword [ebp - 4]
call fcn.00441654
xor al, 1
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x538568
push 0
call sub.user32.dll_GetDC
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
mov eax, dword [eax + 0x1f0]
call fcn.0041f7a8
xor ecx, ecx
push ebp
push 0x5386c2
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dl, 1
mov eax, dword [0x412264]
call fcn.00403230
mov edi, eax
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0053c008
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x58]
mov edx, edi
call fcn.004a80d4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
mov eax, dword [eax + 0x1f0]
call fcn.0041f624
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
mov eax, dword [eax + 0x1f0]
call fcn.0041f728
push eax
call sub.gdi32.dll_GetTextMetricsA
xor eax, eax
mov dword [ebp - 0x1c], eax
mov esi, dword [edi + 8]
dec esi
test esi, esi
jl 0x53864b
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, edi
call fcn.00413f08
call fcn.0049c378
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
mov eax, dword [eax + 0x1f0]
mov edx, 0x538c5c
call fcn.0041f564
sub eax, dword [ebp - 0x38]
pop edx
imul edx, eax
add edx, dword [ebp - 0x38]
add edx, 4
add dword [ebp - 0x1c], edx
mov edx, ebx
mov eax, edi
call fcn.00413f08
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x64]
call fcn.00404428
jne 0x538647
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
mov dword [eax + 0x210], ebx
inc ebx
dec esi
jne 0x5385e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
mov edx, dword [ebp - 0x1c]
call fcn.0043a990
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
cmp edx, dword [eax + 0x38]
jle 0x538675
call fcn.0043a74c
mov eax, edi
call fcn.00403260
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5386d3
cmp byte [ebp - 0x15], 0
je 0x5386c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
mov eax, dword [eax + 0x1f0]
call fcn.0041f728
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
mov eax, dword [eax + 0x1f0]
xor edx, edx
call fcn.0041f7a8
ret
test eax, eax
jle 0x5386d3
xchg edx, eax
call fcn.0043a990
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.0053c008
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004f6fa4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x240]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004f6fd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
lea edx, [eax + 0x320]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004f6f70
jmp 0x538b63
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x248]
cmp eax, edx
jne 0x5388ad
mov eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x60]
call fcn.0043b0a0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.0043b000
xor eax, eax
push ebp
push 0x5387d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.0049121c
cmp dword [ebp - 0x84], 0
jne 0x53879b
call fcn.0040c3a4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.0048b32c
jmp 0x5387c9
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.0049121c
mov eax, dword [ebp - 0x88]
call fcn.0040d8c4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.0048b32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53886a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.00441358
lea edx, [ebp - 0x78]
call fcn.00427368
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.0043a74c
mov edx, dword [ebp - 0x6c]
sub edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
call fcn.0043a76c
jmp 0x538b63
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.0043b0a0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.0043b000
mov eax, dword [ebp - 0x14]
call fcn.0053c2ec
test eax, eax
je 0x5389a9
mov eax, dword [ebp - 0x14]
call fcn.0053c2ec
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5389a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
call fcn.00415150
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 0x14]
call fcn.0053b9ec
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0053c2ec
mov edx, dword [eax]
call dword [edx + 0x14]
pop edx
call fcn.005374d0
mov esi, eax
dec esi
test esi, esi
jl 0x538993
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0053b9ec
lea ecx, [ebp - 0x8c]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0053b9ec
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
pop edx
mov edi, dword [eax]
call dword [edi + 0x38]
inc ebx
dec esi
jne 0x53894d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
call fcn.0041520c
jmp 0x5389c1
mov eax, dword [ebp - 0x14]
call fcn.0053b9ec
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.00433f24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 0x34]
jl 0x538a02
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x238]
mov eax, ebx
call fcn.00433d74
mov edx, eax
mov eax, dword [ebp - 0x14]
imul edx, dword [eax + 0x34]
add edx, 4
mov eax, ebx
call fcn.0043a76c
jmp 0x538a35
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x238]
mov eax, dword [ebx + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.00433d74
imul esi, eax
mov edx, esi
add edx, 4
mov eax, ebx
call fcn.0043a76c
mov eax, dword [ebp - 0x14]
call fcn.0053b85c
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x538a5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
or edx, 0xffffffff
call fcn.00433cec
jmp 0x538adf
mov eax, dword [ebp - 0x14]
call fcn.0053c2ec
test eax, eax
je 0x538aae
mov eax, dword [ebp - 0x14]
call fcn.0053c2ec
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x538aae
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.0049121c
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0053b9ec
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.00433cec
jmp 0x538adf
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 4]
call fcn.0049121c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x238]
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, eax
mov eax, ebx
call fcn.00433cec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.0043a978
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x538b52
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f0]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 0x1f8]
call fcn.0041f564
mov edi, eax
cmp edi, dword [ebp - 0x10]
jle 0x538b4e
mov dword [ebp - 0x10], edi
inc ebx
dec esi
jne 0x538b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 0x10]
call fcn.0043a990
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00413238
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0043aa8c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x3c]
mov ebx, dword [ebp - 8]
add edi, ebx
push 0
lea eax, [ebp - 0x68]
push eax
push 0
push 0x30
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax + 0x3c]
mov ecx, edx
add ecx, edi
cmp ecx, dword [ebp - 0x5c]
jle 0x538bc1
mov edi, ebx
sub edi, edx
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x68]
cmp edx, dword [eax + 0x38]
jge 0x538bd1
call fcn.0043a74c
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0x23c]
mov edx, dword [ebx + 0x38]
mov ecx, edx
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x60]
cmp ecx, eax
jle 0x538bee
sub eax, edx
mov dword [ebp - 0xc], eax
push 0x51
push 0
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, ebx
call fcn.00441358
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov byte [eax + 0x245], 1
mov eax, dword [ebp - 4]
call fcn.004e5e6c
mov eax, dword [ebp - 4]
call fcn.00441358
push eax
call sub.user32.dll_SetFocus
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538c4d
lea eax, [ebp - 0x98]
mov edx, 8
call fcn.004040ac
ret