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

Disassembly:
sub esp, 0xcc
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
push 0xffff0000
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [ebp + 0xa4]
push 0x1101
push eax
mov dword [esp + 0x58], 0xffff0002
mov dword [esp + 0x2c], 0x23
call ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, 0x595c78
call fcn.00413650
lea edx, [esp + 0x78]
mov ecx, 0xa
lea esi, [esp + 0x1c]
lea edi, [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], 0xffff0000
lea eax, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xa4]
push eax
push 0
push 0x1100
push ecx
call ebx
mov dword [ebp + 0x13c], eax
mov dword [esp + 0x44], eax
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [0x595c80]
mov dword [esp + 0x10], ecx
test eax, eax
jle 0x4d4c03
lea eax, [ecx + ecx*2]
shl eax, 2
mov dword [esp + 0x18], eax
mov edx, dword [eax + 0x595c90]
test edx, edx
je 0x4d4bf1
mov edx, dword [eax + 0x595c98]
mov ecx, 0xa
lea esi, [esp + 0x1c]
lea edi, [esp + 0x4c]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xa4]
push eax
push 0
push 0x1100
push ecx
call ebx
mov edx, dword [esp + 0x18]
lea ebx, [ebp + 0x88]
mov ecx, dword [edx + 0x595c90]
push ecx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, ebx
call fcn.004f1846
cmp dword [esp + 0x10], 3
jne 0x4d4be7
mov ecx, 0x595c78
call fcn.004b4030
test eax, eax
je 0x4d4be7
mov edx, dword [0x571b40]
mov eax, 2
push edx
mov ecx, 0x595e30
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.004044e0
mov dword [esp + 0x2c], eax
mov ecx, 0xa
lea esi, [esp + 0x1c]
lea edi, [esp + 0x4c]
lea eax, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xa4]
push eax
push 0
push 0x1100
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x571b38]
mov edi, eax
push edx
push 0
push 0
push 0
push 0
push 0
push 4
push edi
mov ecx, ebx
call fcn.004f1846
mov esi, 0x595d98
cmp dword [esi], 0
je 0x4d4bcf
mov eax, dword [esi + 8]
push 0xffff0002
push edi
push 0
push 0
push 0
push 1
push 1
push eax
push 0x23
mov ecx, ebx
call fcn.004f1894
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, ebx
call fcn.004f1846
add esi, 0xc
cmp esi, 0x595dd4
jl 0x4d4b92
mov eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x595c80]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4d4a9e
mov edx, dword [ebp + 0x13c]
mov eax, dword [ebp + 0xa4]
push edx
push 2
push 0x1102
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d4c48
mov ecx, dword [ebp + 0xa4]
push eax
push 3
push 0x110a
push ecx
call ebx
test eax, eax
je 0x4d4c48
mov edx, dword [ebp + 0xa4]
push eax
push 2
push 0x1102
push edx
call ebx
mov ecx, ebp
call fcn.004f825d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret