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

Disassembly:
sub esp, 0x84
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
mov esi, ecx
mov eax, dword [esi + 4]
push ebp
lea ebx, [esi + 4]
push 0xb
push eax
mov dword [esp + 0x30], esi
call edi
mov ecx, dword [ebx]
push 0xffff0000
push ebp
push 0x1101
push ecx
call edi
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 4]
push ebp
push ebp
push 0x408
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
call edi
mov esi, dword [esi + 0x40]
cmp eax, esi
jl 0x485864
mov eax, esi
dec eax
mov esi, 0xffff0000
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], eax
test eax, eax
jle 0x485a68
jmp 0x485884
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
lea eax, [ebp + 1]
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push 0x459
push ecx
call edi
mov ecx, eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jle 0x485c23
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push 0
push ebp
push 0x40e
push eax
mov dword [esp + 0x34], esi
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
push 0
push ebp
push 0x40f
push edx
mov dword [esp + 0x24], eax
call edi
mov edi, eax
test eax, eax
jne 0x4858e6
mov edi, 0x4bad64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push edi
call fcn.004852b0
mov ebp, eax
test ebp, ebp
jl 0x485954
mov eax, dword [esp + 0x14]
sub eax, ebp
cmp eax, 0x40
jle 0x48593b
mov edx, dword [0x514540]
mov eax, dword [edx + 0xc]
mov ecx, 0x514540
call eax
lea ecx, [edi + ebp*2]
push ecx
push 0x40
lea edx, [esp + 0x18]
add eax, 0x10
push str._.s...
push edx
mov dword [esp + 0x20], eax
call fcn.00402950
mov edi, dword [esp + 0x20]
jmp 0x485b34
push 0xffff0002
push esi
push 0
push 0
push 0
push 0
push 0
lea ecx, [edi + ebp*2]
push ecx
jmp 0x485b89
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x4859d5
cmp dword [esp + 0x14], 0x40
jle 0x4859bf
mov edx, dword [0x514540]
mov eax, dword [edx + 0xc]
mov ecx, 0x514540
call eax
push edi
push 0x40
lea ecx, [esp + 0x18]
add eax, 0x10
push str._.s...
push ecx
mov dword [esp + 0x20], eax
call fcn.00402950
mov edi, dword [esp + 0x20]
add esp, 0x10
push 0xffff0002
push esi
push ebp
push ebp
push ebp
push ebp
push ebp
push edi
push 1
mov ecx, ebx
call fcn.0043e900
mov esi, eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x485b63
push 0xffff0002
push esi
push 0
push 0
push 0
push 0
push 0
push edi
jmp 0x485b89
add ebp, 0xffffffff
js 0x485a48
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebp
push 0x40e
push edx
call edi
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push ebp
push 0x40f
push ecx
call edi
mov dword [esp + 0x10], eax
test eax, eax
jne 0x485a1e
mov dword [esp + 0x10], 0x4bad64
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.004852b0
mov edi, eax
test edi, edi
jge 0x485af5
test ebp, ebp
je 0x485af5
sub ebp, 1
jns 0x4859e0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
jl 0x485880
mov eax, dword [ebx]
push 0xffff0000
push 4
push 0x110a
push eax
call edi
test eax, eax
jne 0x485c3d
mov edx, dword [0x5144c8]
push 0x10
lea ecx, [esp + 0x6c]
push ecx
push 0x3ae7
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
xor esi, esi
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0049e9f0
mov eax, dword [ebx]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push esi
push 0x1132
lea ecx, [esp + 0x74]
push eax
mov dword [esp + 0x44], 0xffff0000
mov dword [esp + 0x48], 0xffff0002
mov dword [esp + 0x4c], 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x70], esi
call edi
jmp 0x485c3f
mov eax, dword [esp + 0x14]
sub eax, edi
cmp eax, 0x40
jle 0x485b71
mov edx, dword [0x514540]
mov eax, dword [edx + 0xc]
mov ecx, 0x514540
call eax
mov ecx, dword [esp + 0x10]
lea edx, [ecx + edi*2]
push edx
add eax, 0x10
push 0x40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push str._.s...
push eax
call fcn.00402950
mov edi, dword [esp + 0x24]
add esp, 0x10
push 0xffff0002
push esi
push 0
push 0
push 0
push 0
push 0
push edi
push 1
mov ecx, ebx
call fcn.0043e900
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485b94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x485b94
mov ecx, dword [esp + 0x10]
push 0xffff0002
push esi
push 0
push 0
push 0
push 0
push 0
lea edx, [ecx + edi*2]
push edx
push 1
mov ecx, ebx
call fcn.0043e900
mov esi, eax
cmp esi, dword [esp + 0x24]
je 0x485a48
mov ecx, dword [esp + 0x1c]
xor eax, eax
lea edx, [esp + 0x68]
push edx
push eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebx]
push 0x113f
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 4
mov dword [esp + 0x9c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x485a48
jge 0x485a4e
mov ecx, dword [ebx]
push esi
push 3
push 0x110a
push ecx
call edi
mov esi, eax
jmp 0x485a4e
xor esi, esi
mov ecx, dword [ebx]
push esi
push 1
push 0xb
push ecx
call edi
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x84
ret