Function at 0x501500
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618462
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push esi
mov eax, dword [0x68e4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x128]
call eax
movzx ecx, al
test ecx, ecx
jne 0x501589
mov edx, dword [ebp + 8]
cmp dword [edx], 8
jle 0x501589
mov eax, dword [ebp + 8]
cmp dword [eax], 0x13
jge 0x501589
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x48], 0
je 0x501578
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x48]
mov edx, dword [eax + 0x15c]
call edx
jmp 0x501584
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0049ebb0
jmp 0x501f1d
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x15
jne 0x5015a0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x1ad], 1
jmp 0x501f1d
mov eax, dword [ebp + 8]
cmp dword [eax], 0x14
jne 0x5015b7
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x1ad], 0
jmp 0x501f1d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 3
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0xf
ja case.0x5015dc.1
mov edx, dword [ebp - 0x3c]
movzx eax, byte [edx + 0x501f40]
jmp dword [eax*4 + 0x501f30]
mov dword [ebp - 0x14], 0
push str.AutoTableItem
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x501958
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59d]
test edx, edx
je 0x501652
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x501637
mov byte [ebp - 0x17], 1
jmp 0x50163b
mov byte [ebp - 0x17], 0
movzx edx, byte [ebp - 0x17]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
call eax
jmp 0x501958
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59c]
test edx, edx
jne 0x50167c
push 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
jmp 0x501958
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x501694
mov dword [ebp - 0x70], 1
jmp 0x50169b
mov dword [ebp - 0x70], 0
mov dl, byte [ebp - 0x70]
mov byte [ebp - 0x15], dl
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x5016b7
mov dword [ebp - 0x74], 1
jmp 0x5016be
mov dword [ebp - 0x74], 0
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0x18], cl
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x5016f0
movzx eax, byte [ebp - 0x18]
test eax, eax
jne 0x5016f0
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
jmp 0x501958
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x501742
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5a0], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
call edx
movzx eax, al
test eax, eax
jne 0x501727
mov byte [ebp - 0x16], 1
jmp 0x50172b
mov byte [ebp - 0x16], 0
movzx ecx, byte [ebp - 0x16]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x14]
call edx
jmp 0x501958
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
cmp edx, dword [ecx + 0x5a0]
jge 0x501767
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
jmp 0x501773
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5a0]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
cmp edx, dword [ecx + 0x5a0]
jle 0x501792
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x7c], eax
jmp 0x50179e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5a0]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
push 0x697b18
push 8
call fcn.0053762b
add esp, 8
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x80], 0
je 0x5017d6
mov ecx, dword [ebp - 0x80]
call fcn.004bf480
mov dword [ebp - 0x84], eax
jmp 0x5017e0
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x590
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x590]
mov edx, dword [eax + 4]
call edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004cd2d0
jmp 0x501836
push 0
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004c0440
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004cd4b0
push eax
lea ecx, [ebp - 0x54]
call fcn.004c03b0
movzx eax, al
test eax, eax
je 0x501895
lea ecx, [ebp - 0x54]
call fcn.004c0420
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x8c]
jl 0x501878
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x90]
jle 0x501893
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x590
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x590]
mov edx, dword [eax + 0xc]
call edx
jmp 0x501825
mov ecx, dword [ebp - 0x38]
call fcn.004cd340
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x88], 0
je 0x5018d0
push 1
mov ecx, dword [ebp - 0x88]
call fcn.004c0630
mov dword [ebp - 0xb8], eax
jmp 0x5018da
mov dword [ebp - 0xb8], 0
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x44], edx
jmp 0x5018ee
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x90]
jg 0x501958
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5b4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5b4]
add eax, 0x558
mov edx, dword [ecx + 0x558]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [ebp - 0x94], eax
push str.AutoTableItem
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x94]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x501956
push 1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x14]
call eax
jmp 0x5018e5
jmp 0x501f1d
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x14]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
sub eax, 0xd
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x54
ja case.0x501984.1
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x501f7c]
jmp dword [edx*4 + 0x501f50]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x5019a4
mov dword [ebp - 0x98], 1
jmp 0x5019ae
mov dword [ebp - 0x98], 0
mov cl, byte [ebp - 0x98]
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x5019f1
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x558]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 1
jle 0x5019e9
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59c]
test edx, edx
je 0x5019f1
mov ecx, dword [ebp - 0x10]
call fcn.005037f0
jmp 0x501f1d
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x59d]
test ecx, ecx
jne 0x501aba
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5a0]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x5b4]
call fcn.004b8fe0
cmp dword [ebp - 0x4c], eax
jge 0x501a3b
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x5b4]
call fcn.004b8fe0
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5b4]
call fcn.004b8fe0
mov ecx, dword [ebp - 0x4c]
sub ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x501a5c
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jl 0x501aba
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x501ab8
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x501ab8
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00502400
jmp 0x501aba
jmp 0x501a53
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59d]
test edx, edx
jne 0x501bc0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5a0]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5b4]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x5b4]
add ecx, 0x558
mov edx, dword [eax + 0x558]
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x5b4]
call fcn.004b8fe0
sub esi, eax
cmp dword [ebp - 0x50], esi
jl 0x501b2d
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x5b4]
call fcn.004b8fe0
mov ecx, dword [ebp - 0x50]
sub ecx, eax
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x5b4]
call fcn.004b8fe0
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
jmp 0x501b4c
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x24], eax
jge 0x501bc0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x501bbe
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x501bbe
push 0
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00502400
jmp 0x501bc0
jmp 0x501b43
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59d]
test edx, edx
jne 0x501c7f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x5a0], 1
jge 0x501bef
mov dword [ebp - 0x9c], 1
jmp 0x501bfe
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5a0]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x501c21
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jl 0x501c7f
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x501c7d
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x501c7d
push 0
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00502400
jmp 0x501c7f
jmp 0x501c18
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59d]
test edx, edx
jne 0x501d54
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x5a0], 0xffffffff
jge 0x501cae
mov dword [ebp - 0xa0], 0xffffffff
jmp 0x501cbd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5a0]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x501ce0
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x558]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0x2c], eax
jge 0x501d54
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x501d52
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x501d52
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00502400
jmp 0x501d54
jmp 0x501cd7
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d8]
call eax
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1dc]
call eax
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59d]
test edx, edx
jne 0x501e1e
mov dword [ebp - 0x30], 0
jmp 0x501da7
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x30], eax
jge 0x501e1e
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x501e1c
push 0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00502400
jmp 0x501e1e
jmp 0x501d9e
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x59d]
test edx, edx
jne 0x501ebe
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x558]
mov eax, dword [edx + 0xc]
call eax
sub eax, 1
mov dword [ebp - 0x34], eax
jmp 0x501e5d
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jl 0x501ebe
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x558]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x501ebc
push 0
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00503a00
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00502400
jmp 0x501ebe
jmp 0x501e54
jmp 0x501f1d
jmp 0x501f1d
jmp case.0x5015dc.1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x501eed
cmp dword [ebp - 0xac], 1
je 0x501eff
jmp case.0x5015dc.1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d0]
call eax
jmp 0x501f1d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d4]
call eax
jmp 0x501f1d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0049ebb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4