Function at 0x4b8840
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64dba8
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov eax, dword [esp + 0x274]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edx, dword [ebp + 0x302e]
mov esi, dword [ebp + 0x335ba]
mov ecx, dword [ebp + 0x335d2]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x4b8d46
mov eax, dword [esp + 0x288]
xor ebx, ebx
cmp eax, ebx
je 0x4b96ec
mov eax, dword [ebp + 0x563d0]
cmp eax, 1
je 0x4b88b0
cmp eax, 3
je 0x4b88b0
cmp eax, 2
jne 0x4b96ec
cmp eax, 3
mov dword [esp + 0x18], 1
jne 0x4b88c5
mov dword [esp + 0x18], 9
mov eax, dword [ebp + 0xe2]
mov ecx, dword [ebp + 0xe6]
mov esi, dword [ebp + 0x2ff6]
sub ecx, eax
mov dword [esp + 0x1c], esi
lea edx, [ecx + esi + 1]
cmp esi, edx
jge 0x4b8cfb
add eax, esi
cmp eax, 0x32
jge 0x4b8cfb
mov edx, dword [ebp]
lea ecx, [esp + 0x38]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x18]
mov esi, dword [ebp + 0x335d2]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x668278
mov edi, dword [ebp + 0x302e]
mov ecx, dword [ebp + 0x335c6]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x274], ebx
mov ebx, dword [ebp + 0x302a]
add ecx, edi
add edx, ebx
add ecx, esi
add edx, eax
add esi, edi
push ecx
add eax, ebx
push edx
push esi
push eax
call dword [fcn.0065e104]
push eax
lea ecx, [esp + 0x24]
call fcn.006440f8
mov eax, dword [esp + 0x284]
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call dword [0x65e108]
xor ebx, ebx
cmp eax, ebx
je 0x4b8ca3
push ebx
lea ecx, [esp + 0x40]
call fcn.0052b820
mov eax, dword [ebp + 0x563d0]
mov byte [esp + 0x274], 1
cmp eax, 1
mov dword [esp + 0x14], ebx
jne 0x4b89cb
push 0xb5
lea ecx, [esp + 0x40]
call fcn.0052fa10
push ebx
push 0x80
lea ecx, [esp + 0x44]
call fcn.0052f6c0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
call fcn.00530660
mov dword [esp + 0x14], eax
jmp 0x4b8c2a
cmp eax, 3
jne 0x4b8a93
push 0x70
call fcn.00643b70
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x274], 2
je 0x4b89f8
push ebx
mov ecx, eax
call fcn.0052b820
mov ebx, eax
mov byte [esp + 0x274], 1
mov dword [esp + 0x14], ebx
call dword [fcn.0065f4e0]
push eax
mov ecx, ebx
call fcn.00643d92
mov edi, 0x8516
mov esi, 0x69ee78
mov eax, dword [esi]
lea ecx, [eax + eax*8]
lea edx, [ecx*2 + 0x69dd68]
lea ecx, [esp + 0x10]
push edx
call fcn.00643d2c
push 0x6b5d7c
push 0x6a1a30
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 3
call fcn.00644602
push 0x6b5d74
push 0x69b040
lea ecx, [esp + 0x18]
call fcn.00644602
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
push edi
push 0
mov ecx, ebx
call fcn.005305e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 1
call fcn.00643d26
add esi, 4
inc edi
cmp esi, 0x69eed0
jle 0x4b8a1c
jmp 0x4b8c2a
cmp eax, 2
jne 0x4b8b76
mov esi, dword [ebp + 0x2fee]
push 0x69d710
call fcn.0048a540
lea ecx, [esi - 0x32]
xor edx, edx
shl ecx, 6
add esp, 4
mov dl, byte [ecx + 0x827a91]
cmp edx, eax
je 0x4b8aca
cmp esi, 0x15
jne 0x4b8b76
push 0x70
call fcn.00643b70
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x274], 4
je 0x4b8aee
push ebx
mov ecx, eax
call fcn.0052b820
mov ebx, eax
mov byte [esp + 0x274], 1
mov dword [esp + 0x14], ebx
call dword [fcn.0065f4e0]
push eax
mov ecx, ebx
call fcn.00643d92
mov edi, 0x8516
mov esi, 0x69ed98
mov eax, dword [esi]
lea eax, [eax + eax*8]
lea ecx, [eax*2 + 0x69dd68]
push ecx
lea ecx, [esp + 0x38]
call fcn.00643d2c
push 0x6b5d7c
push 0x6a1a30
lea ecx, [esp + 0x3c]
mov byte [esp + 0x27c], 5
call fcn.00644602
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push edx
push edi
push 0
mov ecx, ebx
call fcn.005305e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x274], 1
call fcn.00643d26
add esi, 4
inc edi
cmp esi, 0x69edec
jl 0x4b8b12
jmp 0x4b8c2a
cmp dword [ebp + 0x563d0], 2
jne 0x4b8c2a
push 0x70
call fcn.00643b70
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x274], 6
je 0x4b8ba7
push ebx
mov ecx, eax
call fcn.0052b820
mov ebx, eax
mov byte [esp + 0x274], 1
mov dword [esp + 0x14], ebx
call dword [fcn.0065f4e0]
push eax
mov ecx, ebx
call fcn.00643d92
mov edi, 0x8516
mov esi, 0x69ed28
mov eax, dword [esi]
lea eax, [eax + eax*8]
lea ecx, [eax*2 + 0x69dd68]
push ecx
lea ecx, [esp + 0x34]
call fcn.00643d2c
push 0x6b5d7c
push 0x6a1a30
lea ecx, [esp + 0x38]
mov byte [esp + 0x27c], 7
call fcn.00644602
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push edx
push edi
push 0
mov ecx, ebx
call fcn.005305e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x274], 1
call fcn.00643d26
add esi, 4
inc edi
cmp esi, 0x69ed90
jl 0x4b8bcb
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax + 4]
push ecx
call dword [fcn.0065f544]
push eax
call fcn.00643dc2
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x280]
push edx
push eax
call dword [fcn.0065f55c]
mov esi, dword [esp + 0x1c]
mov dword [ebp + 0x335ea], esi
call fcn.00643ee2
xor ebx, ebx
cmp eax, ebx
je 0x4b8c71
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4b8c73
xor eax, eax
mov ecx, dword [esp + 0x280]
push ebx
push eax
mov eax, dword [esp + 0x28c]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push 2
call fcn.00643f12
lea ecx, [esp + 0x3c]
mov byte [esp + 0x274], 0
call fcn.0052b930
jmp 0x4b8ca7
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], 0x661578
lea ecx, [esp + 0x20]
mov dword [esp + 0x274], 8
call fcn.0064406e
mov eax, dword [ebp + 0xe2]
mov edx, dword [ebp + 0xe6]
mov ecx, dword [ebp + 0x2ff6]
sub edx, eax
inc esi
mov dword [esp + 0x274], 0xffffffff
lea edx, [edx + ecx + 1]
mov dword [esp + 0x20], 0x6602dc
cmp esi, edx
mov dword [esp + 0x1c], esi
jl 0x4b88e9
mov edx, dword [ebp + 0x5054c]
mov ecx, dword [ebp + 0x50548]
mov eax, edx
cmp eax, edx
je 0x4b8d31
mov esi, eax
mov edi, ecx
add eax, 0x10
add ecx, 0x10
mov ebx, dword [esi]
cmp eax, edx
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov esi, dword [esi + 0xc]
mov dword [edi + 0xc], esi
jne 0x4b8d0d
mov eax, dword [ebp + 0x5054c]
mov dword [ebp + 0x5054c], ecx
mov dword [esp + 0x38], eax
jmp 0x4b96ec
sub eax, dword [ebp + 0x335be]
sub eax, edx
sub eax, ecx
cdq
idiv dword [ebp + 0x335c2]
mov edi, eax
test edi, edi
mov dword [esp + 0x30], edi
jl 0x4b9149
cmp edi, dword [ebp + 0xf2]
jge 0x4b9149
mov esi, dword [fcn.0065f5e8]
push 0x11
call esi
push 0x10
mov ebx, eax
call esi
test bx, bx
mov dword [esp + 0x1c], eax
jl 0x4b8e5c
test ax, ax
jl 0x4b8e5c
mov eax, dword [esp + 0x288]
test eax, eax
mov eax, dword [ebp + 0x50548]
jne 0x4b8e12
test eax, eax
je 0x4b8e2a
mov ecx, dword [ebp + 0x5054c]
sub ecx, eax
test ecx, 0xfffffff0
je 0x4b8e2a
mov ecx, dword [ebp + 0x5054c]
mov edx, eax
cmp ecx, ecx
mov eax, ecx
je 0x4b8df2
mov esi, eax
mov edi, edx
add eax, 0x10
add edx, 0x10
mov ebx, dword [esi]
cmp eax, ecx
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov esi, dword [esi + 0xc]
mov dword [edi + 0xc], esi
jne 0x4b8dca
mov edi, dword [esp + 0x30]
mov eax, dword [ebp + 0x5054c]
mov dword [ebp + 0x5054c], edx
mov edx, dword [ebp]
push 0
push 0
push 0xf
mov ecx, ebp
mov dword [esp + 0x24], eax
call dword [edx + 4]
jmp 0x4b8e2a
test eax, eax
je 0x4b8e2a
mov ecx, dword [ebp + 0x5054c]
sub ecx, eax
test ecx, 0xfffffff0
jne 0x4b9149
mov esi, dword [esp + 0x27c]
mov ecx, ebp
push esi
call fcn.004a5340
mov edx, dword [ebp + 0xde]
push esi
add edx, edi
mov ecx, ebp
mov dword [ebp + 0xda], edx
call fcn.004a5340
mov eax, dword [ebp + 0xda]
push 1
jmp 0x4b913d
mov eax, dword [ebp + 0x50548]
lea ebx, [ebp + 0x50544]
test eax, eax
mov esi, 1
je 0x4b8e7e
mov ecx, dword [ebx + 8]
sub ecx, eax
test ecx, 0xfffffff0
jne 0x4b8ecd
mov ecx, dword [ebp + 0xda]
mov eax, dword [ebp + 0xde]
xor edx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov edx, ecx
sub edx, eax
mov dword [esp + 0x28], edx
movsx eax, word [ebp + ecx*2 + 0x10e]
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
push ecx
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.00636b30
xor eax, eax
mov dword [esp + 0x18], esi
xor ecx, ecx
mov edx, dword [ebx + 4]
test edx, edx
je 0x4b8f3c
mov esi, dword [ebx + 8]
sub esi, edx
sar esi, 4
cmp eax, esi
jae 0x4b8f3c
mov edx, dword [ebp + 0x50548]
cmp dword [edx + ecx], 0
je 0x4b8f06
mov esi, dword [edx + ecx + 4]
cmp esi, dword [ebp + 0xde]
jne 0x4b8f06
cmp dword [edx + ecx + 8], edi
je 0x4b8f0c
inc eax
add ecx, 0x10
jmp 0x4b8ed5
mov ecx, dword [ebp + 0x50548]
mov dword [esp + 0x18], 0
shl eax, 4
mov dword [eax + ecx], 0
mov edx, dword [ebp + 0xde]
mov eax, dword [esp + 0x27c]
add edx, edi
push edx
push eax
mov ecx, ebp
call fcn.004c0e50
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4b8f47
xor eax, eax
jmp 0x4b8f4f
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
mov ecx, dword [ebp + 0x50548]
shl eax, 4
lea ecx, [eax + ecx - 0x10]
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4b912c
test eax, eax
je 0x4b90be
cmp word [esp + 0x1c], 0
jge 0x4b90be
mov eax, dword [ebx + 4]
test eax, eax
je 0x4b90be
mov esi, dword [ebx + 8]
sub esi, eax
test esi, 0xfffffff0
je 0x4b90be
cmp ecx, edi
mov esi, ecx
jl 0x4b8fb1
mov esi, edi
cmp ecx, edi
jg 0x4b8fb7
mov ecx, edi
mov eax, dword [ebp + 0xde]
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x4b912c
cmp esi, ecx
mov dword [esp + 0x1c], esi
jg 0x4b912c
xor eax, eax
xor edx, edx
mov dword [esp + 0x24], eax
cmp esi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xde]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
jl 0x4b9011
cmp esi, dword [ebp + 0xf2]
jge 0x4b9011
add esi, eax
movsx ecx, word [ebp + esi*2 + 0x10e]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 4]
test eax, eax
je 0x4b905a
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, dword [esp + 0x10]
sar ecx, 4
cmp eax, ecx
jae 0x4b905a
mov eax, dword [ebp + 0x50548]
mov ecx, 4
lea esi, [esp + 0x20]
lea edi, [eax + edx]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x4b905a
mov ecx, dword [esp + 0x10]
inc ecx
add edx, 0x10
mov dword [esp + 0x10], ecx
jmp 0x4b901d
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4b9065
xor eax, eax
jmp 0x4b906d
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x10], eax
jne 0x4b90a3
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
mov ecx, ebx
call fcn.00636b30
mov edx, dword [ebp + 0xde]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x27c]
add edx, esi
push edx
push eax
mov ecx, ebp
call fcn.004c0e50
jmp 0x4b90a7
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jle 0x4b8fd5
mov edi, dword [esp + 0x30]
jmp 0x4b912c
xor ecx, ecx
mov eax, dword [ebp + 0xde]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0xf2]
cmp edi, ecx
mov dword [esp + 0x28], edi
jge 0x4b90fa
add eax, edi
movsx edx, word [ebp + eax*2 + 0x10e]
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x2c], 1
call fcn.00636b30
mov edx, dword [ebp + 0xde]
mov eax, dword [esp + 0x27c]
add edx, edi
mov ecx, ebp
push edx
push eax
call fcn.004c0e50
mov ecx, dword [ebp + 0xde]
push 1
lea eax, [ecx + edi]
mov dword [ebp + 0xda], eax
mov ecx, dword [ebp + 0x301a]
push eax
call fcn.00513c40
mov eax, dword [esp + 0x288]
test eax, eax
je 0x4b96ec
push 0
lea ecx, [esp + 0x200]
call fcn.0052b820
push 0xb5
lea ecx, [esp + 0x200]
mov dword [esp + 0x278], 9
call fcn.0052fa10
push 0
push 0x80
lea ecx, [esp + 0x204]
call fcn.0052f6c0
push 0
lea ecx, [esp + 0x200]
call fcn.00530660
mov edi, eax
push 0
push 0x8018
mov edx, dword [edi + 4]
push edx
call dword [0x65f588]
push 4
mov ecx, edi
call fcn.00530660
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], eax
call fcn.0052b820
push 0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x278], 0xa
call fcn.0052b820
push 0
lea ecx, [esp + 0x120]
mov byte [esp + 0x278], 0xb
call fcn.0052b820
push 0
lea ecx, [esp + 0x190]
mov byte [esp + 0x278], 0xc
call fcn.0052b820
mov eax, dword [ebp + 0x3002]
mov byte [esp + 0x274], 0xd
test eax, eax
jne 0x4b946e
mov ebx, dword [fcn.0065f4e0]
call ebx
push eax
lea ecx, [esp + 0xb0]
call fcn.00643d92
xor esi, esi
mov ecx, dword [0x826824]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4b924e
xor edx, edx
jmp 0x4b9264
mov edx, dword [ecx + 0x10]
sub edx, eax
mov eax, 0x78787879
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jge 0x4b92ac
push esi
call fcn.0043e4b0
push 0xffffffffffffffff
lea ecx, [esi + 0x8728]
push eax
push ecx
push 0
lea ecx, [esp + 0xbc]
call fcn.005305e0
test esi, esi
je 0x4b92a9
mov eax, esi
mov ecx, 0x19
cdq
idiv ecx
test edx, edx
jne 0x4b92a9
lea edx, [esp + 0xac]
push edx
push esi
call fcn.0047f8f0
add esp, 8
inc esi
jmp 0x4b923d
test esi, esi
jle 0x4b92ca
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x6a1efc
push eax
push 0x10
call fcn.005305e0
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00643d92
mov eax, dword [0x826808]
xor esi, esi
test eax, eax
jle 0x4b934a
mov ebp, 0x7f66d8
push 0xffffffffffffffff
lea ecx, [esi + 0x83f3]
push ebp
push ecx
push 0
lea ecx, [esp + 0x4c]
call fcn.005305e0
cmp ebp, 0x7f66d8
je 0x4b931f
mov eax, esi
mov ecx, 0x12
cdq
idiv ecx
test edx, edx
jne 0x4b931f
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.0047f8f0
add esp, 8
mov eax, dword [0x826808]
inc esi
add ebp, 0x32b
cmp esi, eax
jl 0x4b92e6
test esi, esi
jle 0x4b934a
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x6a1ed8
push eax
push 0x10
call fcn.005305e0
call ebx
push eax
lea ecx, [esp + 0x120]
call fcn.00643d92
mov eax, dword [0x826810]
xor esi, esi
test eax, eax
jle 0x4b93d8
xor ebp, ebp
mov ecx, dword [0x82680c]
push 0xffffffffffffffff
lea eax, [esi + 0x8661]
lea edx, [ecx + ebp]
lea ecx, [esp + 0x120]
push edx
push eax
push 0
call fcn.005305e0
test ebp, ebp
je 0x4b93aa
mov eax, esi
mov ecx, 0x12
cdq
idiv ecx
test edx, edx
jne 0x4b93aa
lea edx, [esp + 0x11c]
push edx
push esi
call fcn.0047f8f0
add esp, 8
mov eax, dword [0x826810]
inc esi
add ebp, 0x2eed
cmp esi, eax
jl 0x4b9366
test esi, esi
jle 0x4b93d8
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x6a1ecc
push eax
push 0x10
call fcn.005305e0
call ebx
push eax
lea ecx, [esp + 0x190]
call fcn.00643d92
mov eax, dword [0x826804]
xor esi, esi
test eax, eax
jle 0x4b952e
mov ebp, 0x80a3ac
push 0xffffffffffffffff
lea ecx, [esi + 0x883f]
push ebp
push ecx
push 0
lea ecx, [esp + 0x19c]
call fcn.005305e0
cmp ebp, 0x80a3ac
je 0x4b943a
mov eax, esi
mov ecx, 0x19
cdq
idiv ecx
test edx, edx
jne 0x4b943a
lea edx, [esp + 0x18c]
push edx
push esi
call fcn.0047f8f0
add esp, 8
mov eax, dword [0x826804]
inc esi
add ebp, 0x13
cmp esi, eax
jl 0x4b93fb
test esi, esi
jle 0x4b952e
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x6b5d68
push eax
push 0x10
call fcn.005305e0
jmp 0x4b952e
lea ecx, [esp + 0x14]
call fcn.00643d62
mov ecx, dword [edi + 4]
mov ebx, dword [fcn.0065f598]
push ecx
mov byte [esp + 0x278], 0xe
xor esi, esi
call ebx
test eax, eax
jbe 0x4b951d
mov ebp, dword [fcn.0065f1ec]
lea edx, [esp + 0x14]
push 0x400
push edx
push esi
mov ecx, edi
call fcn.0052fa60
mov eax, dword [esp + 0x14]
push 0x6b5d5c
push eax
call ebp
add esp, 8
test eax, eax
je 0x4b94cd
mov ecx, dword [edi + 4]
inc esi
push ecx
call ebx
cmp esi, eax
jb 0x4b949b
jmp 0x4b951d
test esi, esi
jle 0x4b951d
push 0x410
push esi
mov ecx, edi
call fcn.00530460
lea edx, [esp + 0x14]
push 0x400
push edx
push esi
mov ecx, edi
call fcn.0052fa60
mov eax, dword [esp + 0x14]
push 0x6b5d50
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4b9510
push 0x410
push esi
mov ecx, edi
call fcn.00530460
push 0xc00
push esi
mov ecx, edi
call fcn.00530460
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0xd
call fcn.00643d26
mov eax, dword [0x6e6900]
test eax, eax
je 0x4b962f
mov eax, dword [0x6e7381]
test eax, eax
jne 0x4b962f
mov eax, dword [0x6e7385]
test eax, eax
jne 0x4b962f
mov eax, dword [0x6e74dd]
test eax, eax
je 0x4b962f
push 0xffffffffffffffff
push 0
push 0
push 0xc00
push 0
mov ecx, edi
call fcn.00530630
mov eax, dword [0x6e6c1d]
test eax, eax
je 0x4b9599
push 0xffffffffffffffff
push 0x6b54a0
push 0x151a
push 0x400
push 0
mov ecx, edi
call fcn.00530630
push 0xffffffffffffffff
push 0x6b5494
push 0x14ca
push 0x400
push 0
mov ecx, edi
call fcn.00530630
push 0xffffffffffffffff
push 0x6b5484
push 0x14b5
push 0x400
push 0
mov ecx, edi
call fcn.00530630
push 0xffffffffffffffff
push 0x6b5474
push 0x14a0
push 0x400
push 0
mov ecx, edi
call fcn.00530630
push 0xffffffffffffffff
push 0
push 0
push 0xc00
push 0
mov ecx, edi
call fcn.00530630
push 0xffffffffffffffff
push 0x6b5468
push 0x13ee
push 0x400
push 0
mov ecx, edi
call fcn.00530630
push 0xffffffffffffffff
push 0x6b545c
push 0x13e3
push 0x400
push 0
mov ecx, edi
call fcn.00530630
mov ecx, dword [esp + 0x27c]
mov edx, dword [ecx + 4]
push edx
call dword [fcn.0065f544]
push eax
call fcn.00643dc2
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x280]
push ecx
push edx
call dword [fcn.0065f55c]
call fcn.00643ee2
test eax, eax
je 0x4b966a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4b966c
xor eax, eax
mov ecx, dword [esp + 0x280]
push 0
push eax
mov eax, dword [esp + 0x28c]
push eax
push ecx
push 2
mov ecx, edi
call fcn.00643f12
lea ecx, [esp + 0x18c]
mov byte [esp + 0x274], 0xc
call fcn.0052b930
lea ecx, [esp + 0x11c]
mov byte [esp + 0x274], 0xb
call fcn.0052b930
lea ecx, [esp + 0xac]
mov byte [esp + 0x274], 0xa
call fcn.0052b930
lea ecx, [esp + 0x3c]
mov byte [esp + 0x274], 9
call fcn.0052b930
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x274], 0xffffffff
call fcn.0052b930
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x268
ret 0x10