Function at 0x5ac060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72f8de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov eax, dword [0x79ce64]
push ebx
mov ebx, ecx
push esi
test eax, eax
mov eax, dword [0x79ce50]
push edi
mov dword [ebp - 0x14], ebx
je 0x5ac099
mov eax, dword [0x79ce54]
cmp eax, 2
je 0x5ad06f
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x5ad06f
mov eax, dword [0x838074]
push eax
call fcn.0052eda0
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
mov byte [ebp - 0xd], al
je 0x5ad06f
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5ad06f
mov eax, dword [0x79ce64]
test eax, eax
mov eax, dword [0x79ce54]
je 0x5ac0f0
mov eax, dword [0x79ce50]
cmp eax, 3
jne 0x5ad06f
mov eax, dword [0x7d6a1c]
test eax, eax
jne 0x5ad06f
mov eax, dword [esi + 0x1c]
cmp eax, 0x2d
jl 0x5ac115
cmp eax, 0xfa0
jl 0x5ac12e
push eax
mov ecx, 0x8365d0
call fcn.006f1bb0
test eax, eax
jne 0x5ac12e
cmp dword [esi + 0x20], 4
jne 0x5ac5fe
mov eax, dword [esi + 0x18]
mov ecx, dword [ebx + 0xb4]
push eax
call fcn.00526d60
mov edi, eax
test edi, edi
je 0x5ac5fe
mov eax, dword [edi + 0x214]
mov ecx, 0x8365d0
push eax
call fcn.006f4b10
test eax, eax
je 0x5ac2ef
mov eax, dword [0x7d69b8]
test eax, eax
je 0x5ac175
push 0x12
mov ecx, 0x7d67b0
call fcn.00507160
mov ecx, dword [ebx + 0x1f8]
mov eax, dword [ebx + 0x1f8]
mov esi, dword [ebx + 0x1f4]
lea edi, [ebx + 0x1f0]
cmp eax, ecx
je 0x5ac19f
mov edx, dword [eax]
add eax, 4
mov dword [esi], edx
add esi, 4
cmp eax, ecx
jne 0x5ac191
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push esi
call fcn.004289b0
push 0x12
mov ecx, 0x7d67b0
mov dword [edi + 8], esi
call fcn.0050a1e0
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x25
mov edx, dword [ecx + 0x18]
push eax
mov dword [ebx + 0x330], edx
mov ecx, dword [edi + 8]
push 1
push ecx
mov ecx, edi
call fcn.004087e0
push 0x458
call fcn.0057ed70
lea edx, [ebp - 0x1f0]
push eax
push edx
call fcn.0070dea8
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x1f0]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [edi + 8]
lea edx, [ebp + 0xc]
push edx
push 1
push eax
mov ecx, edi
mov dword [ebp + 0xc], 0x26
call fcn.004087e0
push 0x459
call fcn.0057ed70
lea ecx, [ebp - 0x1f0]
push eax
push ecx
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x1f0]
mov ecx, esi
push 0
push 0
push 0
push eax
push 0x1f
push 0
call dword [edx + 0x90]
mov edx, dword [edi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push edx
mov ecx, edi
mov dword [ebp + 0xc], 0x27
call fcn.004087e0
push 0x45a
call fcn.0057ed70
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
push 0
push 0
push 0
lea eax, [ebp - 0x1f0]
push eax
push 0x1f
push 0
mov ecx, esi
call dword [edx + 0x90]
mov edx, dword [esi]
push 0
push 0
push 0
push 0
push 0x1e
push 0
mov ecx, esi
call dword [edx + 0x90]
mov ecx, dword [0x79ce40]
mov edx, dword [0x79ce3c]
mov eax, dword [esi]
inc ecx
inc edx
push ecx
push edx
mov ecx, esi
call dword [eax + 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x18]
mov ecx, 0x8365d0
push eax
call fcn.006f4b40
test eax, eax
je 0x5ac3ff
mov eax, dword [0x7d69b8]
test eax, eax
je 0x5ac31a
push 0x12
mov ecx, 0x7d67b0
call fcn.00507160
mov ecx, dword [ebx + 0x1f8]
mov eax, dword [ebx + 0x1f8]
mov esi, dword [ebx + 0x1f4]
lea edi, [ebx + 0x1f0]
cmp eax, ecx
je 0x5ac344
mov edx, dword [eax]
add eax, 4
mov dword [esi], edx
add esi, 4
cmp eax, ecx
jne 0x5ac336
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push esi
call fcn.004289b0
push 0x12
mov ecx, 0x7d67b0
mov dword [edi + 8], esi
call fcn.0050a1e0
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x28
mov edx, dword [ecx + 0x18]
push eax
mov dword [ebx + 0x330], edx
mov ecx, dword [edi + 8]
push 1
push ecx
mov ecx, edi
call fcn.004087e0
push 0x458
call fcn.0057ed70
lea edx, [ebp - 0x1f0]
push eax
push edx
call fcn.0070dea8
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x1f0]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [edi + 8]
lea edx, [ebp + 0xc]
push edx
push 1
push eax
mov ecx, edi
mov dword [ebp + 0xc], 0x29
call fcn.004087e0
push 0x45a
call fcn.0057ed70
lea ecx, [ebp - 0x1f0]
push eax
push ecx
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x1f0]
push 0
push 0
push 0
jmp 0x5ac2a2
mov eax, dword [esi + 0x18]
mov ecx, dword [0x837b68]
cmp eax, ecx
jne 0x5ac5fe
cmp dword [edi + 0x258], 0x64
jne 0x5ac5fe
mov eax, dword [0x7d69b8]
test eax, eax
je 0x5ac432
push 0x12
mov ecx, 0x7d67b0
call fcn.00507160
mov ecx, dword [ebx + 0x1f8]
mov eax, dword [ebx + 0x1f8]
mov esi, dword [ebx + 0x1f4]
lea edi, [ebx + 0x1f0]
cmp eax, ecx
je 0x5ac45c
mov edx, dword [eax]
add eax, 4
mov dword [esi], edx
add esi, 4
cmp eax, ecx
jne 0x5ac44e
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push esi
call fcn.004289b0
push 0x12
mov ecx, 0x7d67b0
mov dword [edi + 8], esi
call fcn.0050a1e0
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x21
mov edx, dword [ecx + 0x18]
push eax
mov dword [ebx + 0x330], edx
mov ecx, dword [edi + 8]
push 1
push ecx
mov ecx, edi
call fcn.004087e0
push 0x254
call fcn.0057ed70
lea edx, [ebp - 0x1f0]
push eax
push edx
call fcn.0070dea8
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x1f0]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [edi + 8]
lea edx, [ebp + 0xc]
push edx
push 1
push eax
mov ecx, edi
mov dword [ebp + 0xc], 0x1d
call fcn.004087e0
push 0x250
call fcn.0057ed70
lea ecx, [ebp - 0x1f0]
push eax
push ecx
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x1f0]
mov ecx, esi
push 0
push 0
push 0
push eax
push 0x1f
push 0
call dword [edx + 0x90]
mov edx, dword [edi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push edx
mov ecx, edi
mov dword [ebp + 0xc], 0x1e
call fcn.004087e0
push 0x251
call fcn.0057ed70
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x1f0]
push 0
push eax
push 0x1f
push 0
mov ecx, esi
call dword [edx + 0x90]
mov edx, dword [edi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push edx
mov ecx, edi
mov dword [ebp + 0xc], 0x20
call fcn.004087e0
push 0x253
call fcn.0057ed70
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x1f0]
mov ecx, esi
push 0
push 0
push 0
push eax
push 0x1f
push 0
call dword [edx + 0x90]
mov edx, dword [edi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push edx
mov ecx, edi
mov dword [ebp + 0xc], 0x1f
call fcn.004087e0
push 0x252
call fcn.0057ed70
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.0070dea8
mov edx, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x1f0]
push 0
push 0
push 0
jmp 0x5ac2a2
mov eax, dword [esi + 0x18]
mov ecx, dword [0x838074]
cmp eax, ecx
je 0x5ad06f
mov eax, dword [esi + 0x1c]
mov ecx, 0x8365d0
push eax
call fcn.006d9270
test eax, eax
jne 0x5ac62c
mov al, byte [ebp - 0xd]
test al, al
je 0x5ad06f
mov eax, dword [esi + 0x18]
mov edi, dword [ebx + 0x158]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebx + 0x154]
call fcn.005b5400
cmp dword [eax], edi
jne 0x5ac65a
mov al, byte [ebp - 0xd]
test al, al
je 0x5ad06f
mov esi, dword [esi + 0x18]
lea edx, [ebp - 0xb8]
push esi
push edx
mov ecx, ebx
call fcn.005a7500
mov eax, dword [eax + 8]
test eax, eax
jne 0x5ac67e
mov al, byte [ebp - 0xd]
mov byte [ebp + 0xf], 1
test al, al
je 0x5ac682
mov byte [ebp + 0xf], 0
push 1
lea ecx, [ebp - 0xb8]
call fcn.00420210
mov al, byte [ebp + 0xf]
test al, al
jne 0x5ad06f
mov eax, dword [0x79ce3c]
mov ecx, dword [ebx + 0xcc]
cmp ecx, eax
jne 0x5ad06f
mov eax, dword [0x79ce40]
mov ecx, dword [ebx + 0xd0]
cmp ecx, eax
jne 0x5ad06f
mov eax, dword [0x7d69b8]
test eax, eax
je 0x5ac6d5
push 0x12
mov ecx, 0x7d67b0
call fcn.00507160
mov ecx, dword [ebx + 0x1f8]
mov edx, dword [ebx + 0x1f8]
mov eax, dword [ebx + 0x1f4]
lea esi, [ebx + 0x1f0]
cmp ecx, edx
je 0x5ac6ff
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
cmp ecx, edx
jne 0x5ac6f1
mov ecx, dword [esi + 8]
push 0x12
mov dword [ebp + 0xc], ecx
mov ecx, 0x7d67b0
mov dword [esi + 8], eax
call fcn.0050a1e0
mov ecx, dword [ebp + 8]
mov edi, eax
lea edx, [ebp - 0x28]
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x330], eax
mov eax, dword [ecx + 0x18]
push eax
push edx
mov ecx, ebx
call fcn.005a7500
mov al, byte [ebp - 0xd]
mov dword [ebp - 4], 0
test al, al
je 0x5ac79c
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0xc], 0x1c
call fcn.004087e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5ac763
mov eax, 0x7367f4
push eax
push 0x1ca
call fcn.0057ed70
add esp, 4
lea edx, [ebp - 0xa8]
push eax
push edx
call fcn.0070dea8
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, edi
call dword [eax + 0x90]
mov ecx, 0x80fe50
call fcn.00530b80
mov eax, dword [eax + 0xb4]
mov eax, dword [eax + 0x3c]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 0x284]
push eax
call fcn.006d9de0
add esp, 4
test al, al
jne 0x5ac838
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x284]
push eax
call fcn.006d9db0
add esp, 4
test al, al
jne 0x5ac838
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x18]
push ecx
push 1
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0x2a
call fcn.004087e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5ac7ff
mov eax, 0x7367f4
push eax
push 0x550
call fcn.0057ed70
add esp, 4
lea edx, [ebp - 0xa8]
push eax
push edx
call fcn.0070dea8
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, edi
call dword [eax + 0x90]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x284]
push eax
call fcn.006d9de0
add esp, 4
test al, al
jne 0x5ac8c1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x284]
push eax
call fcn.006d9db0
add esp, 4
test al, al
jne 0x5ac8c1
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0xc], 4
call fcn.004087e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5ac888
mov eax, 0x7367f4
push eax
push 0x187
call fcn.0057ed70
add esp, 4
lea edx, [ebp - 0xa8]
push eax
push edx
call fcn.0070dea8
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x839c98]
test eax, eax
je 0x5ac979
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5ac8da
mov eax, 0x7367f4
lea edx, [ebp - 0xf0]
push eax
push edx
mov ecx, 0x8365d0
call fcn.006c9680
cmp dword [eax], 0
sete byte [ebp + 0xf]
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.00420210
push 1
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0
call fcn.00420210
mov al, byte [ebp + 0xf]
test al, al
je 0x5ac979
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0xc], 5
call fcn.004087e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5ac940
mov eax, 0x7367f4
push eax
push 0x188
call fcn.0057ed70
add esp, 4
lea edx, [ebp - 0xa8]
push eax
push edx
call fcn.0070dea8
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x83808c]
cmp eax, 0x46
jl 0x5aca8d
mov ecx, 0x8365d0
call fcn.006d8ff0
cmp eax, 0xfb7
jl 0x5ac9ad
mov ecx, 0x8365d0
call fcn.006d8ff0
cmp eax, 0xfcd
jle 0x5aca8d
mov eax, dword [0x839c9c]
test eax, eax
je 0x5aca8d
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5ac9c6
mov eax, 0x7367f4
lea edx, [ebp - 0xf0]
push eax
push edx
mov ecx, 0x8365d0
call fcn.006c9680
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.00420210
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 4], 0
test eax, eax
je 0x5aca19
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5aca10
cmp al, 0xff
je 0x5aca10
dec al
mov byte [ecx], al
jmp 0x5aca19
push ecx
call fcn.006ffa16
add esp, 4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5aca8d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
cmp eax, 6
jle 0x5aca30
cmp eax, 0x17
jne 0x5aca8d
mov eax, dword [esi + 8]
lea edx, [ebp + 0xc]
push edx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0xc], 0x24
call fcn.004087e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5aca54
mov eax, 0x7367f4
push eax
push 0x377
call fcn.0057ed70
add esp, 4
lea ecx, [ebp - 0xa8]
push eax
push ecx
call fcn.0070dea8
mov edx, dword [edi]
add esp, 0xc
lea eax, [ebp - 0xa8]
mov ecx, edi
push 0
push 0
push 0
push eax
push 0x1f
push 0
call dword [edx + 0x90]
mov eax, dword [0x80ffb4]
test eax, eax
je 0x5acbcd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebx + 0xb4]
push eax
call fcn.00526d60
test eax, eax
je 0x5acabe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x9c]
mov ebx, eax
jmp 0x5acac0
xor ebx, ebx
mov eax, dword [0x80ffbc]
test eax, eax
je 0x5acb2a
test ebx, ebx
jne 0x5acb2a
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xc]
push eax
push 1
push ecx
mov ecx, esi
mov dword [ebp + 0xc], 0x16
call fcn.004087e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5acaf1
mov eax, 0x7367f4
push eax
push 0x17e
call fcn.0057ed70
add esp, 4
lea edx, [ebp - 0xa8]
push eax
push edx
call fcn.0070dea8
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0
push 0
push 0
push ecx
push 0x1f
push 0
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x80ffc4]
test eax, eax
je 0x5acbcd
cmp ebx, dword [0x80ffb4]
je 0x5acbcd
mov edx, dword [edi]
push 0
push 0
push 0
push 0
push 0x48
push 0
mov ecx, edi
call dword [edx + 0x90]
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xc]
push eax
push 1
push ecx
mov ecx, esi
mov dword [ebp + 0xc], 0x19
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x18f
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov eax, dword [esi + 8]
lea edx, [ebp + 0xc]
push edx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0xc], 0x1a
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x193
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov edx, dword [edi]
push 0
push 0
push 0
push 0
push 0x48
push 0
mov ecx, edi
call dword [edx + 0x90]
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xc]
push eax
push 1
push ecx
mov ecx, esi
mov dword [ebp + 0xc], 0x14
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x168
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call fcn.0052eda0
add esp, 4
test al, al
jne 0x5acc8e
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5acc3c
mov eax, 0x7367f4
push eax
mov ecx, 0x7d67b0
call fcn.00511030
test eax, eax
jne 0x5acc8e
cmp dword [0x76cabc], 3
je 0x5acc8e
mov ecx, dword [esi + 8]
lea eax, [ebp + 8]
push eax
push 1
push ecx
mov ecx, esi
mov dword [ebp + 8], 0xa
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x166
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov edx, dword [edi]
push 0
push 0
push 0
push 0
push 0x48
push 0
mov ecx, edi
call dword [edx + 0x90]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5accb0
mov eax, 0x7367f4
push eax
mov ecx, 0x8365d0
call fcn.006d80e0
test eax, eax
je 0x5acce6
mov ecx, dword [esi + 8]
lea eax, [ebp + 8]
push eax
push 1
push ecx
mov ecx, esi
mov dword [ebp + 8], 0xd
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x13c
jmp 0x5acd0b
mov eax, dword [esi + 8]
lea edx, [ebp + 8]
push edx
push 1
push eax
mov ecx, esi
mov dword [ebp + 8], 0xc
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x13b
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov eax, dword [0x838074]
push eax
call fcn.0052eda0
add esp, 4
test al, al
je 0x5ad00e
mov edx, dword [edi]
push 0
push 0
push 0
push 0
push 0x48
push 0
mov ecx, edi
call dword [edx + 0x90]
mov ecx, dword [esi + 8]
lea eax, [ebp + 8]
push eax
push 1
push ecx
mov ecx, esi
mov dword [ebp + 8], 0x2c
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x636
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
cmp dword [0x76cabc], 3
je 0x5ace6c
mov eax, dword [esi + 8]
lea edx, [ebp + 8]
push edx
push 1
push eax
mov ecx, esi
mov dword [ebp + 8], 0x17
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x185
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov edx, dword [esi + 8]
lea ecx, [ebp + 8]
push ecx
push 1
push edx
mov ecx, esi
mov dword [ebp + 8], 0x18
call fcn.004087e0
mov ebx, dword [edi]
push 0
push 0
push 0
push 0x186
call fcn.0057ed70
add esp, 4
mov ecx, edi
push eax
push 0x1f
push 0
call dword [ebx + 0x90]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x330]
push ecx
mov ecx, 0x8365d0
call fcn.006f2af0
push eax
push 0x2c9
call fcn.0057ed70
add esp, 4
lea edx, [ebp - 0xa8]
push eax
push edx
call fcn.0070dea8
mov ecx, dword [esi + 8]
add esp, 0xc
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x23
push eax
push 1
push ecx
mov ecx, esi
call fcn.004087e0
mov edx, dword [edi]
push 0
push 0
lea eax, [ebp - 0xa8]
push 0
push eax
push 0x1f
push 0
mov ecx, edi
call dword [edx + 0x90]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x5ace78
mov ecx, 0x7367f4
mov eax, dword [0x839d48]
test eax, eax
jne 0x5ace86
mov eax, 0x7367f4
push ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x330]
push edx
push eax
lea eax, [ebp - 0xa8]
push str._s_:__d__GID__:__s
push eax
call fcn.0070dea8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
add esp, 0x14
sar ecx, 2
cmp ecx, 1
mov dword [ebp + 8], 0x22
mov ebx, eax
jae 0x5acf68
mov edx, dword [esi + 4]
test edx, edx
je 0x5aced6
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x5acedb
mov ecx, 1
test edx, edx
jne 0x5acee3
xor eax, eax
jmp 0x5acee8
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [ebp - 0x14], eax
jge 0x5acef3
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0070dddb
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, esi
push eax
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.00422310
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.00436e10
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push ebx
call fcn.00422310
mov eax, dword [esi + 4]
push eax
mov dword [ebp + 0xc], eax
call fcn.006ffa16
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0041fc10
lea eax, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
jmp 0x5acff3
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x5acfb6
lea edx, [ebx + 4]
mov ecx, esi
push edx
push eax
push ebx
call fcn.00422310
mov eax, dword [esi + 8]
lea ecx, [ebp + 8]
mov edx, eax
push ecx
sub edx, ebx
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00436e10
mov ecx, dword [esi + 8]
mov eax, ebx
cmp ebx, ecx
je 0x5acfef
mov edx, dword [ebp + 8]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x5acfa8
jmp 0x5acfef
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00422310
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp ebx, eax
je 0x5acfdc
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebx
mov dword [ecx], edx
jne 0x5acfcd
lea eax, [ebx + 4]
cmp ebx, eax
je 0x5acfef
mov ecx, dword [ebp + 8]
mov dword [ebx], ecx
add ebx, 4
cmp ebx, eax
jne 0x5acfe3
add dword [esi + 8], 4
mov edx, dword [edi]
push 0
push 0
lea eax, [ebp - 0xa8]
push 0
push eax
push 0x1f
push 0
mov ecx, edi
call dword [edx + 0x90]
mov edx, dword [edi]
push 0
push 0
push 0
push 0
push 0x1e
push 0
mov ecx, edi
call dword [edx + 0x90]
mov ecx, dword [0x79ce40]
mov edx, dword [0x79ce3c]
mov eax, dword [edi]
inc ecx
inc edx
push ecx
push edx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x5ad06f
mov al, byte [ecx - 1]
test al, al
je 0x5ad065
cmp al, 0xff
je 0x5ad065
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
dec ecx
push ecx
call fcn.006ffa16
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8