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

Disassembly:
push 0xffffffffffffffff
push 0x86e878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi + 0x7a4]
push ebx
push ebx
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x3c], 0x89adc8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [edi + 0x1030]
lea edx, [esp + 0x3c]
push edx
lea ecx, [edi + 0x100c]
push eax
mov dword [esp + 0x88], ebx
call fcn.0058d280
push 0x9b5220
lea ecx, [esp + 0x30]
call fcn.00831f5f
push 0x9b5220
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 1
call fcn.00831f5f
mov eax, dword [esp + 0x44]
mov byte [esp + 0x80], 2
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x51a4f2
push ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x51a355
add ecx, 8
push ecx
lea ecx, [esp + 0x14]
call fcn.00832032
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x51a32f
dec ecx
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00825c35
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 3
call fcn.00832032
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
call fcn.00831eeb
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x1038]
push ebx
push ecx
push ebx
push ebx
lea esi, [edi + 0x788]
push eax
push SysReAllocString
push 3
mov ecx, esi
call fcn.00828785
mov ebp, eax
jmp 0x51a4a2
lea esi, [eax + 8]
lea ecx, [esp + 0x54]
push esi
call fcn.00831c58
mov ecx, dword [esi + 8]
lea eax, [esi + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x88], 4
mov dword [esp + 0x64], edx
call fcn.00831c58
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x74], eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x54]
mov ecx, edi
push edx
mov byte [esp + 0x88], 5
call fcn.0051df30
push ebx
push eax
mov eax, dword [esp + 0x5c]
push ebx
push ebx
lea esi, [edi + 0x788]
push eax
push SysReAllocString
push 3
mov ecx, esi
call fcn.00828785
mov edx, dword [esp + 0x60]
mov ebp, eax
mov eax, dword [esp + 0x5c]
mov ecx, 0xa
add eax, 0x3ff
adc edx, ebx
call fcn.005fd550
push edx
push eax
lea ecx, [esp + 0x18]
push str._u_KB
push ecx
call fcn.00826097
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push edx
push 1
push ebp
call fcn.00828880
fld qword [esp + 0x6c]
lea eax, [esp + 0x2c]
push 0x92f11c
fstp qword [esp + 0x38]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], ebx
call fcn.005f19ce
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
push ebp
mov byte [esp + 0x90], 6
call fcn.00828880
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 5
call fcn.00831eeb
mov ecx, dword [esp + 0x64]
push ecx
push 3
push ebp
mov ecx, esi
call fcn.00828880
cmp dword [esp + 0x74], ebx
je 0x51a480
push ebx
push ebx
push ebx
push 3
push 0x947bb0
push 3
push 4
push ebp
mov ecx, esi
call fcn.00828807
lea ecx, [esp + 0x64]
mov byte [esp + 0x84], 7
call fcn.00831eeb
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 2
call fcn.00831eeb
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
push ebx
push ebx
push ebx
push ebx
push 4
push ebx
push ebp
call fcn.00828807
mov eax, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0051e400
test eax, eax
je 0x51a4dc
push ebx
push ebx
push ebx
push 1
push 0x947bb0
push 3
push 4
push ebp
mov ecx, esi
call fcn.00828807
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x51a2c6
pop ebp
lea esi, [edi + 0xfb0]
push 0x9b5220
mov ecx, esi
call fcn.00832082
mov eax, dword [edi + 0x1030]
cmp eax, ebx
je 0x51a5a1
push eax
lea ecx, [edi + 0x100c]
call fcn.0058d350
test eax, eax
jne 0x51a5a1
mov eax, dword [edi + 0x1038]
push ebx
push eax
push ebx
push ebx
push 0x955fa0
push ebx
push 3
lea ecx, [edi + 0x788]
call fcn.00828785
mov ecx, dword [edi + 0x1030]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
call fcn.0051dd60
mov ecx, dword [edi + 0x1030]
lea edx, [esp + 0x28]
add ecx, 8
mov byte [esp + 0x80], 8
push ecx
push eax
push edx
call fcn.0083212a
push eax
mov ecx, esi
mov byte [esp + 0x84], 9
call fcn.00832032
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 8
call fcn.00831eeb
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 2
call fcn.00831eeb
push ebx
mov ecx, edi
call fcn.00830530
mov ecx, edi
call fcn.0051d410
lea esi, [edi + 0x788]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.004a1230
cmp eax, 0xffffffff
jne 0x51a5d1
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0xc0]
mov esi, dword [edi + 0xfc4]
push 0x9b5220
lea ecx, [esp + 0x18]
call fcn.00831f5f
push 0x11ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 0xa
call fcn.008325e8
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x105c]
mov ecx, dword [edi + 0x1058]
push edx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00518d40
add esp, 0x10
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
push esi
push 0x11ad
push ecx
mov byte [esp + 0x90], 0xb
call fcn.008260aa
mov edx, dword [esp + 0x1c]
add esp, 0x10
lea ecx, [edi + 0x8b4]
push edx
call fcn.008313ed
mov eax, dword [edi + 0x8d0]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0xa
call fcn.00831eeb
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 2
call fcn.00831eeb
lea ecx, [esp + 0xc]
mov byte [esp + 0x80], 1
call fcn.00831eeb
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], bl
call fcn.00831eeb
mov dword [esp + 0x3c], 0x89adc8
mov eax, dword [esp + 0x40]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x78], 0xc
pop ebx
je 0x51a6d3
push eax
call fcn.008325dd
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret