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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x594480
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x74], edi
je 0x51f2d8
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 0x74]
cmp dword [edx + 0x4a14], edi
jne 0x51e7b9
lea esi, [ebp + 0x9b8]
cmp esi, edi
je 0x51e7ea
cmp dword [esi + 0x1c], edi
je 0x51e7ea
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, eax
sub ecx, 0xf
push 1
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.0056bfd0
mov eax, dword [ebp + 0x74]
cmp eax, edi
je 0x51e7ea
cmp dword [eax + 0x1b0], edi
je 0x51e7ea
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, edx
mov ecx, esi
push eax
call fcn.004874f0
jmp 0x51e7ea
lea ecx, [ebp + 0x598]
cmp ecx, edi
je 0x51e7ea
cmp dword [ecx + 0x1c], edi
je 0x51e7ea
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
sub edx, eax
sub edx, 0xf
push 1
push edx
mov edx, dword [esp + 0x44]
sub esi, edx
push esi
push eax
push edx
call fcn.0056bfd0
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x4a14]
mov dword [ebp + 0xa98], edi
cmp ecx, edi
jne 0x51ed7f
mov ecx, dword [ebp + 0x9d4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x1009
push ecx
call esi
mov edx, dword [ebp + 0x9d4]
push edi
push edi
push 0xb
push edx
call esi
mov ebx, dword [0x5fe8ac]
xor ecx, ecx
inc ebx
mov dword [esp + 0x20], ecx
mov dword [0x5fe8ac], ebx
mov eax, dword [ebp + 0xbc]
cmp eax, edi
jle 0x51ebf1
mov eax, dword [ebp + 0xc0]
mov ebx, dword [eax + ecx*4]
cmp ebx, edi
mov dword [esp + 0x18], ebx
je 0x51ebc8
lea esi, [ebx + 0x104]
mov edi, 0x5fe7d8
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x51e88d
test al, al
je 0x51e889
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x51e88d
add esi, 2
add edi, 2
test al, al
jne 0x51e865
xor eax, eax
jmp 0x51e892
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51ebc6
mov edi, 0x5fe7d8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x51e907
mov esi, dword [ebx + 0x64]
xor edx, edx
mov eax, esi
shr eax, 4
div dword [ecx + 0x5be0]
mov ecx, dword [ecx + 0x5bdc]
test ecx, ecx
je 0x51e907
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x51e907
cmp dword [eax + 8], esi
je 0x51e9ad
mov eax, dword [eax]
test eax, eax
jne 0x51e8f8
mov edx, dword [ebx + 0x64]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x38], 6
call sub.iphlpapi.dll_SendARP
test eax, eax
jne 0x51ea4b
xor ebx, ebx
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
xor ecx, ecx
lea edx, [esp + 0x10]
mov cl, byte [esp + ebx + 0x34]
mov byte [esp + 0x68], 3
push ecx
push str._.2x
push edx
call fcn.00563eb4
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00568c0e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [eax + 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0x68], al
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0056870c
inc ebx
cmp ebx, 6
jl 0x51e92e
mov ebx, dword [esp + 0x18]
jmp 0x51eb14
test eax, eax
je 0x51e907
add eax, 0xc
lea ecx, [esp + 0x1c]
push eax
call fcn.00568845
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x51e9d0
add eax, 0x529c
jmp 0x51e9d5
mov eax, 0x5e7a88
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0056877a
push ecx
lea edx, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x74], 1
call fcn.0056877a
push ecx
mov byte [esp + 0x74], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.0056877a
mov eax, dword [ebx + 0x64]
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x7c], 0
call fcn.00442200
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
jmp 0x51eb0f
mov edi, 0x5fe7d8
lea esi, [ebx + 0x104]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x51ea7e
test al, al
je 0x51ea7a
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x51ea7e
add esi, 2
add edi, 2
test al, al
jne 0x51ea56
xor eax, eax
jmp 0x51ea83
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51eb14
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x51ea99
add eax, 0x529c
jmp 0x51ea9e
mov eax, 0x5e7a88
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0056877a
push ecx
lea eax, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x74], 4
call fcn.0056877a
push ecx
mov byte [esp + 0x74], 5
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
call fcn.0056877a
mov ecx, dword [ebx + 0x64]
lea edx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x7c], 0
call fcn.00442200
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.0056870c
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x51ebb5
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea esi, [ebx + 0x104]
push edx
push esi
lea ecx, [eax + 0x5b24]
mov byte [esp + 0x70], 6
call fcn.005672cc
test eax, eax
je 0x51eb5c
mov eax, dword [esp + 0x10]
push 0x32
lea ecx, [ebx + 0x6c]
push eax
push ecx
call fcn.0043a0b0
add esp, 0xc
mov edx, dword [0x5f9f88]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0x74]
lea eax, [esp + 0x14]
push eax
push esi
add ecx, 0x5b08
mov byte [esp + 0x70], 7
call fcn.005672cc
test eax, eax
je 0x51eb99
mov ecx, dword [esp + 0x14]
push 0x32
lea edx, [ebx + 0x520]
push ecx
push edx
call fcn.0043a0b0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 6
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 0
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.0056870c
xor edi, edi
push 1
push edi
push edi
push ebx
mov ecx, ebp
call fcn.00517040
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xbc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x51e845
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x9d4]
push edi
push 1
push 0xb
push eax
call esi
mov ecx, dword [ebp + 0x74]
cmp dword [ecx + 0x1b0], edi
je 0x51ec1d
lea esi, [ebp + 0x9b8]
push edi
mov ecx, esi
call fcn.004874f0
jmp 0x51ed4e
mov dword [esp + 0x4c], method.CGopherLocator.virtual_0
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], 8
call fcn.004ec340
mov eax, dword [esp + 0x54]
mov edx, dword [ebp + 0x74]
mov ebx, eax
inc eax
mov esi, dword [edx + 0x5a48]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x54]
call fcn.004ec340
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
mov dword [eax + ebx*4], esi
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x74]
mov ebx, eax
inc eax
mov esi, dword [ecx + 0x5a54]
push eax
lea ecx, [esp + 0x54]
call fcn.004ec340
mov edx, dword [esp + 0x50]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
mov dword [edx + ebx*4], esi
mov eax, dword [ebp + 0x74]
mov esi, dword [eax + 0x5a60]
mov eax, dword [esp + 0x58]
mov ebx, eax
inc eax
push eax
call fcn.004ec340
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
mov dword [ecx + ebx*4], esi
mov eax, dword [esp + 0x58]
mov edx, dword [ebp + 0x74]
mov ebx, eax
inc eax
lea ecx, [esp + 0x50]
mov esi, dword [edx + 0x5a50]
push eax
call fcn.004ec340
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
mov dword [eax + ebx*4], esi
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x74]
mov ebx, eax
inc eax
mov esi, dword [ecx + 0x5a58]
push eax
lea ecx, [esp + 0x54]
call fcn.004ec340
mov edx, dword [esp + 0x50]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
mov dword [edx + ebx*4], esi
mov eax, dword [ebp + 0x74]
mov esi, dword [eax + 0x5a5c]
mov eax, dword [esp + 0x58]
mov ebx, eax
inc eax
push eax
call fcn.004ec340
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x4c]
push edx
mov dword [ecx + ebx*4], esi
lea esi, [ebp + 0x9b8]
mov ecx, esi
call fcn.00487810
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
mov dword [esp + 0x4c], 0x5999c4
je 0x51ed4e
push eax
call fcn.00567b2c
add esp, 4
mov edx, dword [0x5fe8ac]
push edi
dec edx
lea ecx, [ebp + 0x598]
mov dword [0x5fe8ac], edx
mov dword [ebp + 0xa98], 1
call fcn.0056c060
push 5
mov ecx, esi
call fcn.0056c060
jmp 0x51f1ad
lea ecx, [ebp + 0x598]
push 1
call fcn.004a5220
mov eax, dword [ebp + 0x5b4]
push edi
push edi
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x5fe8ac]
mov dword [esp + 0x18], edi
inc edx
mov dword [0x5fe8ac], edx
mov eax, dword [ebp + 0xbc]
cmp eax, edi
jle 0x51f167
mov ecx, dword [ebp + 0xc0]
mov edx, dword [esp + 0x18]
mov ebx, dword [ecx + edx*4]
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x51f142
lea esi, [ebx + 0x104]
mov edi, 0x5fe7d8
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x51ee08
test al, al
je 0x51ee04
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x51ee08
add esi, 2
add edi, 2
test al, al
jne 0x51ede0
xor eax, eax
jmp 0x51ee0d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51f142
mov edi, 0x5fe7d8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0x68], 9
test ecx, ecx
je 0x51ee82
mov esi, dword [ebx + 0x64]
xor edx, edx
mov eax, esi
shr eax, 4
div dword [ecx + 0x5be0]
mov ecx, dword [ecx + 0x5bdc]
test ecx, ecx
je 0x51ee82
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x51ee82
cmp dword [eax + 8], esi
je 0x51ef29
mov eax, dword [eax]
test eax, eax
jne 0x51ee73
mov edx, dword [ebx + 0x64]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x38], 6
call sub.iphlpapi.dll_SendARP
test eax, eax
jne 0x51efc7
xor ebx, ebx
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
xor ecx, ecx
lea edx, [esp + 0x10]
mov cl, byte [esp + ebx + 0x34]
mov byte [esp + 0x68], 0xc
push ecx
push str._.2x
push edx
call fcn.00563eb4
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00568c0e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x68], 9
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [eax + 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0056870c
inc ebx
cmp ebx, 6
jl 0x51eea9
mov ebx, dword [esp + 0x20]
jmp 0x51f090
test eax, eax
je 0x51ee82
add eax, 0xc
lea ecx, [esp + 0x1c]
push eax
call fcn.00568845
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x51ef4c
add eax, 0x529c
jmp 0x51ef51
mov eax, 0x5e7a88
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0056877a
push ecx
lea edx, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x74], 0xa
call fcn.0056877a
push ecx
mov byte [esp + 0x74], 0xb
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.0056877a
mov eax, dword [ebx + 0x64]
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x7c], 9
call fcn.00442200
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
jmp 0x51f08b
mov edi, 0x5fe7d8
lea esi, [ebx + 0x104]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x51effa
test al, al
je 0x51eff6
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x51effa
add esi, 2
add edi, 2
test al, al
jne 0x51efd2
xor eax, eax
jmp 0x51efff
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x51f090
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x51f015
add eax, 0x529c
jmp 0x51f01a
mov eax, 0x5e7a88
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0056877a
push ecx
lea eax, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x74], 0xd
call fcn.0056877a
push ecx
mov byte [esp + 0x74], 0xe
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebx
call fcn.0056877a
mov ecx, dword [ebx + 0x64]
lea edx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x7c], 9
call fcn.00442200
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.0056870c
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x51f131
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea esi, [ebx + 0x104]
push edx
push esi
lea ecx, [eax + 0x5b24]
mov byte [esp + 0x70], 0xf
call fcn.005672cc
test eax, eax
je 0x51f0d8
mov eax, dword [esp + 0x10]
push 0x32
lea ecx, [ebx + 0x6c]
push eax
push ecx
call fcn.0043a0b0
add esp, 0xc
mov edx, dword [0x5f9f88]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0x74]
lea eax, [esp + 0x14]
push eax
push esi
add ecx, 0x5b08
mov byte [esp + 0x70], 0x10
call fcn.005672cc
test eax, eax
je 0x51f115
mov ecx, dword [esp + 0x14]
push 0x32
lea edx, [ebx + 0x520]
push ecx
push edx
call fcn.0043a0b0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 0xf
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 9
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.0056870c
push 1
push 0
push 0
push ebx
mov ecx, ebp
call fcn.00517040
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xbc]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x51edbc
mov eax, dword [ebp + 0x5b4]
push 0
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x5fe8ac]
push 5
dec edx
lea ecx, [ebp + 0x598]
mov dword [0x5fe8ac], edx
mov dword [ebp + 0xa98], 1
call fcn.0056c060
push 0
lea ecx, [ebp + 0x9b8]
call fcn.0056c060
xor edi, edi
mov eax, dword [ebp + 0x7c]
cmp eax, edi
je 0x51f2d8
add eax, 0xcc
cmp eax, edi
je 0x51f2d8
cmp dword [eax + 0x1c], edi
je 0x51f2d8
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
mov esi, dword [ebp + 0xbc]
lea edx, [esp + 0x20]
push 3
push edx
mov dword [esp + 0x70], 0x11
call fcn.00494150
mov ebx, eax
lea eax, [esp + 0x2c]
push 2
push eax
mov byte [esp + 0x78], 0x12
call fcn.00494150
add esp, 0x10
push ebx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x74], 0x13
call fcn.0056893b
push 0x5f430c
lea edx, [esp + 0x30]
mov bl, 0x14
push eax
push edx
mov byte [esp + 0x74], bl
call fcn.005689a1
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x74], 0x15
call fcn.00563eb4
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], bl
call fcn.0056870c
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0x13
call fcn.0056870c
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x12
call fcn.0056870c
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0x11
call fcn.0056870c
mov ecx, dword [ebp + 0x7c]
add ecx, 0xcc
call fcn.00466120
test eax, eax
jle 0x51f2b7
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [ebp + 0x7c]
push edi
add ecx, 0xcc
call fcn.00463f10
mov eax, dword [ebp + 0x7c]
push 1
add eax, 0xcc
push edi
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x7c]
push eax
push edi
push 1
call fcn.0047b260
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret