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

Disassembly:
push 0xffffffffffffffff
push 0x557440
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5ad634]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ad634]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00422db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x544da1
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x90], 0
call fcn.0042b7fc
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0042a3f1
cmp eax, dword [esi + 0x60]
jne 0x54528f
cmp byte [0x5ba51c], 0
jne 0x54528f
test byte [esi + 0x88], 8
je 0x544fe6
cmp dword [esi + 0x10c], 0
je 0x544fe6
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
call fcn.00407430
mov eax, dword [esp + 0x50]
mov byte [esp + 0x8c], 1
mov ebx, eax
test eax, eax
jne 0x544e3c
lea ecx, [esp + 0x3c]
call fcn.00407470
lea ecx, [esp + 0x14]
call fcn.00401740
jmp 0x5452ec
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x60]
call fcn.0045cea4
lea ecx, [esp + 0x58]
call fcn.00543010
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xd8]
mov eax, dword [eax]
lea edi, [esi + 0xf4]
mov byte [esp + 0x8c], 2
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [edi]
mov ebp, dword [esi + 0xec]
mov ecx, dword [esi + 0xd8]
test eax, eax
je 0x544e8e
cmp eax, ecx
je 0x544e93
call fcn.005222f9
cmp dword [edi + 4], ebp
je 0x544fb2
mov eax, dword [edi]
test eax, eax
jne 0x544ead
call fcn.005222f9
mov eax, dword [edi]
test eax, eax
je 0x544eb1
mov eax, dword [eax]
jmp 0x544eb3
xor eax, eax
mov edx, dword [edi + 4]
cmp edx, dword [eax + 0x14]
jne 0x544ec0
call fcn.005222f9
mov ebp, dword [edi + 4]
push 0xffffffffffffffff
push 0
add ebp, 8
push ebp
lea ecx, [esp + 0x64]
call fcn.004075c0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x74], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x78], ecx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x7c], edx
test eax, eax
jne 0x544efa
call fcn.005222f9
mov eax, dword [edi]
test eax, eax
je 0x544efe
mov eax, dword [eax]
jmp 0x544f00
xor eax, eax
mov ecx, dword [edi + 4]
cmp ecx, dword [eax + 0x14]
jne 0x544f0d
call fcn.005222f9
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x40]
mov ebp, 0x10
add ecx, 8
cmp dword [esp + 0x54], ebp
jae 0x544f26
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
push edx
push 0
push eax
call fcn.00542620
test eax, eax
je 0x544f65
mov eax, dword [edi]
test eax, eax
jne 0x544f48
call fcn.005222f9
mov eax, dword [edi]
test eax, eax
je 0x544f4c
mov eax, dword [eax]
jmp 0x544f4e
xor eax, eax
mov ecx, dword [edi + 4]
cmp ecx, dword [eax + 0x14]
jne 0x544f5b
call fcn.005222f9
mov edx, dword [edi + 4]
mov eax, dword [edx]
jmp 0x544e75
mov ecx, edi
mov byte [0x5ba51c], 1
call fcn.00542850
cmp dword [eax + 0x18], ebp
jb 0x544f7d
mov eax, dword [eax + 4]
jmp 0x544f80
add eax, 4
mov ecx, dword [esi + 0x60]
push eax
call fcn.00430f28
mov ecx, edi
call fcn.00542850
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x60]
mov ecx, dword [ecx + 0x20]
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xb1
push ecx
call ebx
mov byte [0x5ba51c], 0
jmp 0x544fbd
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, 0x10
lea ecx, [esp + 0x58]
call fcn.005428a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 0
call fcn.00407470
cmp byte [0x5ba51c], 0
jne 0x545295
jmp 0x544ff1
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, 0x10
test byte [esi + 0x88], 0x10
je 0x545295
lea ecx, [esp + 0x20]
call fcn.00542e80
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x90], 3
call fcn.00407430
cmp dword [esp + 0x50], 0
mov byte [esp + 0x8c], 4
jne 0x545064
cmp dword [esi + 0xbc], 0
je 0x545044
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x402
push eax
call ebx
lea ecx, [esp + 0x3c]
call fcn.00407470
lea ecx, [esp + 0x20]
call fcn.00544840
lea ecx, [esp + 0x14]
call fcn.00401740
jmp 0x5452ec
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 0xb0
push eax
call ebx
lea ecx, [esp + 0x58]
call fcn.00543010
mov eax, dword [esi + 0xec]
mov eax, dword [eax]
mov ecx, dword [esi + 0xd8]
mov byte [esp + 0x8c], 5
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
jmp 0x5450b0
mov eax, dword [esi + 0xf4]
mov edi, dword [esi + 0xec]
mov ecx, dword [esi + 0xd8]
test eax, eax
je 0x5450ca
cmp eax, ecx
je 0x5450cf
call fcn.005222f9
cmp dword [esi + 0xf8], edi
je 0x545238
mov eax, dword [esi + 0xf4]
test eax, eax
jne 0x5450f4
call fcn.005222f9
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x5450f8
mov eax, dword [eax]
jmp 0x5450fa
xor eax, eax
mov ecx, dword [esi + 0xf8]
cmp ecx, dword [eax + 0x14]
jne 0x54510a
call fcn.005222f9
mov edi, dword [esi + 0xf8]
push 0xffffffffffffffff
push 0
add edi, 8
push edi
lea ecx, [esp + 0x64]
call fcn.004075c0
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x74], edx
mov eax, dword [edi + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xf4]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x7c], ecx
test eax, eax
jne 0x54514f
call fcn.005222f9
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x545153
mov eax, dword [eax]
jmp 0x545155
xor eax, eax
mov edx, dword [esi + 0xf8]
cmp edx, dword [eax + 0x14]
jne 0x545165
call fcn.005222f9
mov ecx, dword [esi + 0xf8]
mov eax, dword [esp + 0x40]
add ecx, 8
cmp dword [esp + 0x54], ebp
jae 0x54517c
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
push edx
push 0
push eax
call fcn.00542620
test eax, eax
jne 0x5451f6
mov eax, dword [esi + 0xf4]
test eax, eax
jne 0x5451a6
call fcn.005222f9
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x5451aa
mov eax, dword [eax]
jmp 0x5451ac
xor eax, eax
mov ecx, dword [esi + 0xf8]
cmp ecx, dword [eax + 0x14]
jne 0x5451bc
call fcn.005222f9
mov ecx, dword [esi + 0xf8]
mov eax, dword [esp + 0x40]
add ecx, 8
cmp dword [esp + 0x54], ebp
jae 0x5451d3
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push 0
call fcn.005426e0
test eax, eax
je 0x5451f6
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x24]
call fcn.00544c10
mov eax, dword [esi + 0xf4]
test eax, eax
jne 0x54520f
call fcn.005222f9
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x545213
mov eax, dword [eax]
jmp 0x545215
xor eax, eax
mov edx, dword [esi + 0xf8]
cmp edx, dword [eax + 0x14]
jne 0x545225
call fcn.005222f9
mov eax, dword [esi + 0xf8]
mov ecx, dword [eax]
mov dword [esi + 0xf8], ecx
jmp 0x5450b0
cmp dword [esi + 0xbc], 0
je 0x545250
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x402
push edx
call ebx
cmp dword [esp + 0x38], 1
jbe 0x54526a
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esi + 0x5c], 0
call fcn.00541ff0
lea ecx, [esp + 0x58]
call fcn.005428a0
lea ecx, [esp + 0x3c]
call fcn.00407470
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0
call fcn.00544840
jmp 0x545295
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0xbc], 0
jne 0x5452c1
mov ecx, esi
call fcn.00430f6f
mov ecx, dword [esi + 0x20]
mov esi, dword [esi + 0x58]
mov edx, dword [esi + 0x20]
push ecx
movzx ecx, ax
or ecx, 0x60000
push ecx
push 0x111
push edx
call ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5452ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00521840
add esp, 0x7c
ret