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

Disassembly:
push 0xffffffffffffffff
push 0x54368b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [0x58f614]
lea eax, [esp + 0x58]
mov dword [esp + 0x30], 7
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x3ff
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 0x78]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push 9
push 0x110a
push edx
mov dword [esp + 0x470], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
call ebp
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x10], ebx
je 0x4defa9
push ebx
lea ecx, [esi + 0x5c]
call fcn.00512080
cmp eax, 0xffffffff
jne 0x4def69
mov eax, dword [esi + 0x78]
push ebx
push 2
push 0x110a
push eax
call ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 1
mov ebx, eax
cmp ebx, edi
je 0x4defa5
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x30]
push ecx
push edi
push 0x110c
push edx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x68], 0
call ebp
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.00514473
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ebx, edi
jmp 0x4defa9
mov dword [esp + 0x24], edi
mov edx, dword [esi + 0x78]
push edi
push edi
push 0x110a
push edx
call ebp
mov ecx, dword [esp + 0x468]
mov edi, eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4defd1
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x20], eax
jle 0x4df176
jmp 0x4defef
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xb4]
test edi, edi
mov ebx, dword [ecx + eax*4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x28], eax
je 0x4df0d0
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x30]
push eax
push 0
push 0x110c
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x68], 0
call ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4df059
test cl, cl
je 0x4df055
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4df059
add eax, 2
add ebp, 2
test cl, cl
jne 0x4df034
xor eax, eax
jmp 0x4df05e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4df07c
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push edi
lea ecx, [esi + 0x5c]
call fcn.005120dc
cmp dword [esp + 0x48], ebx
je 0x4df097
push 0
push 0
push 0
push ebx
push ebx
push 0
push 0x22
push edi
lea ecx, [esi + 0x5c]
call fcn.005120dc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4df0b6
push 0
push 0
push 0
push 0
push 0
push 0
push 4
push edi
lea ecx, [esi + 0x5c]
call fcn.005120dc
mov ecx, dword [esi + 0x78]
push edi
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x2c]
mov edi, eax
jmp 0x4df107
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push ebx
lea ebp, [esi + 0x5c]
push ebx
push eax
push 0x23
mov ecx, ebp
call fcn.0051212a
push 0
push 0
push 0
push 0
push 0
mov ebx, eax
push 0
push 4
push ebx
mov ecx, ebp
call fcn.005120dc
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4df14b
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4df138
test cl, cl
je 0x4df134
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4df138
add eax, 2
add ebp, 2
test cl, cl
jne 0x4df113
xor eax, eax
jmp 0x4df13d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4df14b
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jmp 0x4df157
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4df157
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4defe5
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x4df1ae
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 1
push 0x110a
push eax
mov ebp, edi
call ebx
mov ecx, dword [esi + 0x78]
push ebp
push 0
push 0x1101
push ecx
mov edi, eax
call ebx
test edi, edi
jne 0x4df17a
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
je 0x4df1e8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4df1da
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4df1da
mov edx, dword [esi + 0x78]
push ebx
push 1
push 0x110a
push edx
call ebp
test eax, eax
je 0x4df1da
mov dword [esp + 0x10], eax
mov ebx, eax
mov eax, dword [esi + 0x78]
push ebx
push 9
push 0x110b
push eax
call ebp
mov ecx, dword [esp + 0x468]
mov eax, dword [esi + 0xb8]
cmp ecx, eax
jge 0x4df234
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push 0xf
add esi, 0x5c
push 0xf
push 0x58e764
push 0x23
mov ecx, esi
call fcn.0051212a
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.005120dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x460], 0xffffffff
call fcn.00514336
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 4