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

Disassembly:
push 0xffffffffffffffff
push 0x50b2cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 2
push 0xffffffffffffffff
mov eax, dword [esi + 0xfc]
xor ebx, ebx
push 0x100c
push eax
mov dword [esp + 0x20], ebx
call ebp
mov ecx, dword [esi + 0xfc]
push ebx
push ebx
push 0xb
push ecx
lea edi, [eax + 1]
call ebp
test edi, edi
je 0x42160b
mov edx, dword [esi + 0xfc]
dec edi
push 2
push edi
push 0x100c
push edx
mov dword [esp + 0x5c], edi
call ebp
lea ecx, [esp + 0x54]
call fcn.004b6d80
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push edi
mov dword [esp + 0x80], 0
call fcn.00421dd0
mov ecx, dword [esi + 0xfc]
push 0
push 0
push 0x1004
push ecx
call ebp
lea edx, [esp + 0x24]
lea ecx, [esp + 0x54]
push edx
call fcn.00420b50
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x7c], 1
call fcn.00420a50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
push ecx
lea ecx, [esp + 0x58]
call fcn.00420ad0
mov edx, dword [0x5581a0]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x7c], 4
call fcn.004b7560
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42134b
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x58]
call fcn.004b7560
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push edx
push 0x554014
push eax
call fcn.004d3ecc
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42139a
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004dd380
or ebx, 1
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x24]
mov byte [esp + 0x78], 5
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004dd380
or ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x78], 6
jmp 0x421423
lea ecx, [esp + 0x20]
push 0x5525a8
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004dd3e6
or ebx, 4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov dword [esp + 0x84], 7
call fcn.004dd380
or ebx, 8
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov dword [esp + 0x84], 8
call fcn.004dd380
or ebx, 0x10
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov dword [esp + 0x84], 9
call fcn.004dd380
or ebx, 0x20
mov dword [esp + 0x10], ebx
mov dword [esp + 0x78], 0xa
push eax
lea ecx, [esp + 0x1c]
call fcn.004dcec6
test bl, 0x20
mov dword [esp + 0x78], 0x11
je 0x42144a
and ebx, 0xffffffdf
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ebx
call fcn.004dd151
test bl, 0x10
mov dword [esp + 0x78], 0x10
je 0x421467
and ebx, 0xffffffef
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call fcn.004dd151
test bl, 8
mov dword [esp + 0x78], 0xf
je 0x421484
and ebx, 0xfffffff7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
call fcn.004dd151
test bl, 4
mov dword [esp + 0x78], 0xe
je 0x4214a1
and ebx, 0xfffffffb
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ebx
call fcn.004dd151
test bl, 2
mov dword [esp + 0x78], 0xd
je 0x4214be
and ebx, 0xfffffffd
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], ebx
call fcn.004dd151
test bl, 1
mov dword [esp + 0x78], 0xc
je 0x4214db
and ebx, 0xfffffffe
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
call fcn.004dd151
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esi + 0x344]
mov dword [esp + 0x30], 0
call fcn.004d81be
test eax, eax
je 0x42154b
mov edi, dword [esp + 0x28]
test edi, edi
mov dword [esp + 0x50], edi
je 0x421537
lea ecx, [edi + 0x20]
mov byte [esp + 0x78], 0x13
call fcn.004dd151
lea ecx, [edi + 0x1c]
mov byte [esp + 0x78], 0x12
call fcn.004dd151
mov ecx, edi
mov byte [esp + 0x78], 0xc
call fcn.0041ae00
push edi
call fcn.004dd7c3
add esp, 4
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x344]
push edx
call fcn.004d8264
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0xfc]
push 0
push edi
push 0x1008
push eax
call ebp
mov ecx, dword [esi + 0xfc]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
lea ecx, [esp + 0x18]
lea edi, [eax + 1]
mov byte [esp + 0x78], 4
call fcn.004dd151
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.004dd151
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.004dd151
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call fcn.004dd151
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 0
call fcn.004dd151
lea ecx, [esp + 0x6c]
mov dword [esp + 0x78], 0x17
call fcn.004dd151
lea ecx, [esp + 0x68]
mov byte [esp + 0x78], 0x16
call fcn.004dd151
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 0x15
call fcn.004dd151
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0x14
call fcn.004dd151
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0xffffffff
call fcn.004dd151
test edi, edi
jne 0x421284
mov edx, dword [esi + 0xfc]
push 0
push 1
push 0xb
push edx
call ebp
push 0
mov ecx, esi
call fcn.0041f260
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret