Function at 0x516680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x2cc]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
jne 0x5166a6
mov eax, 1
jmp 0x5170a4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
sub ecx, 0x20
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0x4d
ja case.0x5166cd.11
mov eax, dword [ebp - 0x78]
xor edx, edx
mov dl, byte [eax + 0x5170db]
jmp dword [edx*4 + 0x5170ab]
mov ecx, dword [ebp - 0x74]
call fcn.0050ee33
and eax, 1
test eax, eax
je 0x516701
push 0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x30c]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.00513ba2
mov eax, 1
jmp 0x5170a4
jmp case.0x5166cd.11
mov ecx, dword [ebp - 0x74]
call fcn.0050ee33
and eax, 1
test eax, eax
je 0x516733
push 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x30c]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00513ba2
mov eax, 1
jmp 0x5170a4
jmp case.0x5166cd.11
mov ecx, dword [ebp - 0x74]
call fcn.0050ee33
and eax, 1
test eax, eax
je 0x516765
push 2
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00513ba2
mov eax, 1
jmp 0x5170a4
jmp case.0x5166cd.11
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x5167a6
mov ecx, dword [ebp - 0x74]
call fcn.0050ee33
and eax, 1
test eax, eax
je 0x5167a6
push 1
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00513ba2
mov eax, 1
jmp 0x5170a4
mov dword [ebp - 0xc], 0
jmp 0x5167b8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2cc]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x40]
jge 0x5167ea
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2c8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + 0x300]
jne 0x5167e8
jmp 0x5167ea
jmp 0x5167af
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x44]
jne 0x51681a
xor ecx, ecx
shl ecx, 2
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2c8]
mov edx, dword [ebp - 0x74]
mov eax, dword [eax + ecx]
mov dword [edx + 0x300], eax
jmp 0x516848
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jge 0x516830
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2c8]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov dword [ecx + 0x300], eax
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x30c], 0
je 0x516862
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
mov dword [ebp - 8], eax
jmp 0x516877
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x308]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x516895
push 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x300]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x5168db
mov ecx, dword [ebp - 0x74]
call fcn.0050ee33
and eax, 1
test eax, eax
je 0x5168db
push 0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x30c]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.00513ba2
mov eax, 1
jmp 0x5170a4
mov dword [ebp - 0xc], 0
jmp 0x5168ed
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x48]
jge 0x51691f
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2c8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + 0x300]
jne 0x51691d
jmp 0x51691f
jmp 0x5168e4
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x2cc]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x4c]
jne 0x51694f
xor eax, eax
shl eax, 2
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2c8]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edx + eax]
mov dword [ecx + 0x300], edx
jmp 0x516993
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x50]
jl 0x51697b
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x2c8]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ecx + eax*4]
mov dword [edx + 0x300], ecx
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x30c], 0
je 0x5169ad
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x30c]
mov dword [ebp - 8], ecx
jmp 0x5169c2
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x308]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5169e0
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x30c], 0
je 0x516a0d
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0050d1a0
mov dword [ebp - 8], eax
jmp 0x516a22
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x308]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x516a3b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x54]
jge 0x516a74
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2c8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + 0x300]
jne 0x516a72
mov dword [ebp - 4], 1
jmp 0x516a74
jmp 0x516a32
cmp dword [ebp - 4], 0
jne 0x516a87
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x300], 0
cmp dword [ebp - 8], 0
je 0x516aa5
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x30c], 0
je 0x516ad2
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
jmp 0x516ae7
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x308]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x516b00
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x58]
jge 0x516b39
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2c8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + 0x300]
jne 0x516b37
mov dword [ebp - 4], 1
jmp 0x516b39
jmp 0x516af7
cmp dword [ebp - 4], 0
jne 0x516b4c
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x300], 0
cmp dword [ebp - 8], 0
je 0x516b6a
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x74]
call fcn.0050d51f
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xe0
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov esi, dword [edx + 0xc]
sub esi, dword [eax + 4]
mov ecx, dword [ebp - 0x74]
call fcn.0050d5ef
cmp esi, eax
jl 0x516bb3
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
push 1
mov ecx, dword [ebp - 0x74]
call fcn.00550056
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0051720e
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x516bf1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2cc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x60]
jge 0x516c2a
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2c8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + 0x300]
jne 0x516c28
mov dword [ebp - 4], 1
jmp 0x516c2a
jmp 0x516be8
cmp dword [ebp - 4], 0
jne 0x516c3d
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x300], 0
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x30c], 0
je 0x516c8c
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x30c]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00517292
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jle 0x516c8c
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x300]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0050dd4d
mov eax, 1
jmp 0x5170a4
cmp dword [ebp - 0x1c], 0
je 0x516d27
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x30c]
je 0x516cbe
push 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x300]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
jmp 0x516d27
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x516cd7
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jge 0x516cf0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0051720e
mov dword [ebp - 0x1c], eax
push 1
mov eax, dword [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp - 0x74]
call fcn.00550026
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x74]
call fcn.0050d51f
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xe0
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov esi, dword [edx + 0xc]
sub esi, dword [eax + 4]
mov ecx, dword [ebp - 0x74]
call fcn.0050d5ef
cmp esi, eax
jl 0x516d70
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
push 1
mov ecx, dword [ebp - 0x74]
call fcn.00550056
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d4a9
cmp dword [ebp - 0x2c], eax
jl 0x516da1
mov ecx, dword [ebp - 0x74]
call fcn.0050d4a9
sub eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0051720e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x516dc9
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2cc]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x68]
jge 0x516e02
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x2c8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + 0x300]
jne 0x516e00
mov dword [ebp - 4], 1
jmp 0x516e02
jmp 0x516dc0
cmp dword [ebp - 4], 0
jne 0x516e15
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x300], 0
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x30c], 0
je 0x516e64
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x30c]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00517292
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jge 0x516e64
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x300]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30c]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0050dd4d
mov eax, 1
jmp 0x5170a4
cmp dword [ebp - 0x24], 0
je 0x516f34
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx + 0x30c]
je 0x516e99
push 1
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x300]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
jmp 0x516f34
mov ecx, dword [ebp - 0x74]
call fcn.0050d4a9
sub eax, dword [ebp - 0x28]
sub eax, 1
cmp dword [ebp - 0x30], eax
jge 0x516ed5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
lea esi, [ecx + eax + 1]
mov ecx, dword [ebp - 0x74]
call fcn.0050d4a9
sub eax, dword [ebp - 0x28]
sub eax, 1
cmp esi, eax
jge 0x516ed5
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x74]
call fcn.0050d4a9
cmp dword [ebp - 0x2c], eax
jl 0x516efd
mov ecx, dword [ebp - 0x74]
call fcn.0050d4a9
sub eax, 1
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0051720e
mov dword [ebp - 0x24], eax
push 1
mov eax, dword [ebp - 0x30]
push eax
push 1
mov ecx, dword [ebp - 0x74]
call fcn.00550026
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x308]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x516f6c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x6c]
jge 0x516fa5
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2c8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + 0x300]
jne 0x516fa3
mov dword [ebp - 4], 1
jmp 0x516fa5
jmp 0x516f63
cmp dword [ebp - 4], 0
jne 0x516fb8
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x300], 0
cmp dword [ebp - 8], 0
je 0x516fd6
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x308]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x517018
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.0050d108
mov dword [ebp - 0x38], eax
jmp 0x516ffb
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x517031
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2cc]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jge 0x51706a
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x2c8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + 0x300]
jne 0x517068
mov dword [ebp - 4], 1
jmp 0x51706a
jmp 0x517028
cmp dword [ebp - 4], 0
jne 0x51707d
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x300], 0
cmp dword [ebp - 8], 0
je 0x51709b
push 1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x300]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.005145ab
mov eax, 1
jmp 0x5170a4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4