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

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, edx
cmp edi, 0xffff0000
mov dword [esp + 0x18], edi
mov ebp, ecx
jne 0x54e221
mov eax, dword [0x5f8b84]
push 0
push 0
push 0x110a
push eax
jmp 0x54e230
mov ecx, dword [0x5f8b84]
push edi
push 4
push 0x110a
push ecx
call esi
test ebp, ebp
mov ebx, eax
mov dword [esp + 0x10], 0
je 0x54e66a
mov ebp, dword [ebp + 0x30]
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x54e66a
jmp 0x54e260
mov ebp, dword [esp + 0x14]
lea esp, [esp]
test ebx, ebx
je 0x54e301
jmp 0x54e270
mov edx, 0x3e7
lea ecx, [esp + 0x78]
call fcn.00420e60
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5f8b84]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x110c
lea edx, [esp + 0x84]
push ecx
mov dword [esp + 0x2c], 0x5d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x3e7
call esi
test eax, eax
je 0x54e2e7
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
call fcn.005505e0
cmp dword [ebp + 8], eax
jne 0x54e2e7
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x1c]
shr edx, 0x10
cmp eax, edx
je 0x54e3f8
mov eax, dword [0x5f8b84]
push ebx
push 1
push 0x110a
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x54e270
mov eax, dword [0x5f8cb0]
test eax, eax
jne 0x54e314
mov dword [0x5f8cb0], 1
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
jne 0x54e33d
mov dword [esp + 0x48], 0xffff0001
mov ecx, dword [ebp]
movzx edx, word [ebp + 0x1c]
mov dword [esp + 0x5c], ecx
movzx ecx, byte [ebp + 8]
shl edx, 0x10
or edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x70], edx
xor edx, edx
cmp ecx, eax
setne dl
lea ecx, [esp + 0x44]
push ecx
push eax
push 0x1100
mov dword [esp + 0x58], 0x67
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], edx
mov edx, dword [0x5f8b84]
push edx
mov dword [esp + 0x78], eax
call esi
mov ebp, eax
test ebp, ebp
je 0x54e58c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
test eax, eax
je 0x54e575
mov eax, dword [esp + 0x464]
inc eax
push eax
mov edx, ebp
call fcn.0054e1f0
mov edx, dword [0x5f8b84]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x110c
push edx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], ebp
call esi
test eax, eax
je 0x54e58c
mov eax, dword [0x5f8b84]
push ebp
push 1
push 0x110a
push eax
jmp 0x54e584
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
mov edi, dword [edx]
mov cl, byte [edi]
mov al, cl
cmp cl, byte [ebp]
jne 0x54e427
test al, al
je 0x54e423
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [ebp + 1]
jne 0x54e427
add edi, 2
add ebp, 2
test al, al
jne 0x54e402
xor eax, eax
jmp 0x54e42c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov ebp, 1
je 0x54e478
mov eax, dword [0x5f8cb0]
test eax, eax
jne 0x54e444
mov dword [0x5f8cb0], ebp
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5f8b84]
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x28], ebx
mov edx, dword [edx]
push 0x110d
push ecx
mov dword [esp + 0x3c], edx
call esi
mov edx, dword [0x5f8b84]
push ebx
push 2
push 0x110a
push edx
call esi
mov edi, eax
test edi, edi
je 0x54e522
cmp edi, dword [esp + 0x10]
je 0x54e522
mov eax, dword [0x5f8cb0]
test eax, eax
jne 0x54e4ac
mov dword [0x5f8cb0], ebp
mov eax, dword [0x5f8cb8]
cmp eax, edi
jne 0x54e4f7
push eax
mov eax, dword [0x5f8b84]
push ebp
push 0x110a
push eax
call esi
test eax, eax
jne 0x54e4e3
mov ecx, dword [0x5f8cb8]
mov edx, dword [0x5f8b84]
push ecx
push 2
push 0x110a
push edx
call esi
test eax, eax
je 0x54e4eb
mov dword [0x5f8cbc], ebp
jmp 0x54e4f2
xor eax, eax
mov dword [0x5f8cbc], eax
mov dword [0x5f8cb8], eax
mov eax, dword [0x5f8b84]
push edi
push 0
push 0x1101
push eax
call esi
mov ecx, dword [0x5f8b84]
push ebx
push 2
push 0x110a
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x54e493
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
test eax, eax
je 0x54e56f
mov edx, dword [esp + 0x464]
inc edx
push edx
mov edx, ebx
call fcn.0054e1f0
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5f8b84]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x110c
push ecx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], ebx
call esi
test eax, eax
je 0x54e58c
mov dword [esp + 0x10], ebx
jmp 0x54e58c
mov ecx, dword [0x5f8b84]
push ebp
push 1
push 0x110a
push ecx
mov dword [esp + 0x20], ebp
call esi
mov ebx, eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x54e255
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x54e666
mov eax, dword [0x5f8b84]
push ebx
push 1
push 0x110a
push eax
call esi
mov edi, eax
xor ebp, ebp
cmp edi, ebp
je 0x54e6d5
cmp dword [0x5f8cb0], ebp
jne 0x54e5d9
mov dword [0x5f8cb0], 1
mov eax, dword [0x5f8cb8]
cmp eax, edi
jne 0x54e62e
mov ecx, dword [0x5f8b84]
push eax
push 1
push 0x110a
push ecx
call esi
cmp eax, ebp
jne 0x54e611
mov edx, dword [0x5f8cb8]
mov eax, dword [0x5f8b84]
push edx
push 2
push 0x110a
push eax
call esi
cmp eax, ebp
je 0x54e622
mov dword [0x5f8cb8], eax
mov dword [0x5f8cbc], 1
jmp 0x54e62e
mov dword [0x5f8cb8], ebp
mov dword [0x5f8cbc], ebp
mov ecx, dword [0x5f8b84]
push edi
push ebp
push 0x1101
push ecx
call esi
mov edx, dword [0x5f8b84]
push ebx
push 1
push 0x110a
push edx
call esi
mov edi, eax
cmp edi, ebp
jne 0x54e5c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret 4
mov edi, dword [esp + 0x18]
cmp edi, 0xffff0000
je 0x54e6d5
mov eax, dword [0x5f8b84]
push edi
push 4
push 0x110a
push eax
call esi
mov edi, eax
test edi, edi
je 0x54e6d5
jmp 0x54e690
mov eax, dword [0x5f8cb0]
test eax, eax
jne 0x54e6a3
mov dword [0x5f8cb0], 1
mov ecx, edi
call fcn.0054e180
mov ecx, dword [0x5f8b84]
push edi
push 0
push 0x1101
push ecx
call esi
mov edx, dword [esp + 0x18]
mov eax, dword [0x5f8b84]
push edx
push 4
push 0x110a
push eax
call esi
mov edi, eax
test edi, edi
jne 0x54e690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret 4