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

Disassembly:
push 0xffffffffffffffff
push 0x50b60d
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 0x42186b
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.004b7070
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push edi
mov dword [esp + 0x80], 0
call fcn.00422030
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.00420db0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x7c], 1
call fcn.00420cb0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
push ecx
lea ecx, [esp + 0x58]
call fcn.00420d30
mov edx, dword [0x5580c0]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x7c], 4
call fcn.004b7850
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4215ab
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x58]
call fcn.004b7850
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push edx
push 0x554014
push eax
call fcn.004d41c8
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4215fa
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004dd67c
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.004dd67c
or ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x78], 6
jmp 0x421683
lea ecx, [esp + 0x20]
push 0x5525a8
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004dd6e2
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.004dd67c
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.004dd67c
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.004dd67c
or ebx, 0x20
mov dword [esp + 0x10], ebx
mov dword [esp + 0x78], 0xa
push eax
lea ecx, [esp + 0x1c]
call fcn.004dd1c2
test bl, 0x20
mov dword [esp + 0x78], 0x11
je 0x4216aa
and ebx, 0xffffffdf
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ebx
call fcn.004dd44d
test bl, 0x10
mov dword [esp + 0x78], 0x10
je 0x4216c7
and ebx, 0xffffffef
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call fcn.004dd44d
test bl, 8
mov dword [esp + 0x78], 0xf
je 0x4216e4
and ebx, 0xfffffff7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
call fcn.004dd44d
test bl, 4
mov dword [esp + 0x78], 0xe
je 0x421701
and ebx, 0xfffffffb
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], ebx
call fcn.004dd44d
test bl, 2
mov dword [esp + 0x78], 0xd
je 0x42171e
and ebx, 0xfffffffd
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], ebx
call fcn.004dd44d
test bl, 1
mov dword [esp + 0x78], 0xc
je 0x42173b
and ebx, 0xfffffffe
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
call fcn.004dd44d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esi + 0x344]
mov dword [esp + 0x30], 0
call fcn.004d84ff
test eax, eax
je 0x4217ab
mov edi, dword [esp + 0x28]
test edi, edi
mov dword [esp + 0x50], edi
je 0x421797
lea ecx, [edi + 0x20]
mov byte [esp + 0x78], 0x13
call fcn.004dd44d
lea ecx, [edi + 0x1c]
mov byte [esp + 0x78], 0x12
call fcn.004dd44d
mov ecx, edi
mov byte [esp + 0x78], 0xc
call fcn.0041b080
push edi
call fcn.004ddabf
add esp, 4
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x344]
push edx
call fcn.004d85a5
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.004dd44d
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.004dd44d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call fcn.004dd44d
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 0
call fcn.004dd44d
lea ecx, [esp + 0x6c]
mov dword [esp + 0x78], 0x17
call fcn.004dd44d
lea ecx, [esp + 0x68]
mov byte [esp + 0x78], 0x16
call fcn.004dd44d
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 0x15
call fcn.004dd44d
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0x14
call fcn.004dd44d
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0xffffffff
call fcn.004dd44d
test edi, edi
jne 0x4214e4
mov edx, dword [esi + 0xfc]
push 0
push 1
push 0xb
push edx
call ebp
push 0
mov ecx, esi
call fcn.0041f4c0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret