Function at 0x47fb3f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, 0x577c18
mov esi, 0x577c28
mov edi, 0x577c40
cmp dword [0x551e6c], 0
jne 0x47fb71
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jl 0x47fb71
xor eax, eax
jmp 0x480d99
cmp dword [0x551e78], 0
je 0x47fb81
xor eax, eax
jmp 0x480d99
mov dword [0x551e78], 1
xor edx, edx
mov dword [0x551e68], edx
push 0
push 0x577c44
push dword [ebp + 8]
call fcn.00516353
mov dword [0x577c24], eax
cmp dword [0x577c24], 0
je 0x47fbbf
mov ecx, dword [0x577c24]
cmp dword [ecx + 0x618], 0
jne 0x47fbcd
xor eax, eax
mov dword [0x551e78], eax
xor eax, eax
jmp 0x480d99
mov edx, dword [0x577c24]
mov ecx, dword [edx + 0x818]
mov dword [0x577c00], ecx
mov eax, dword [0x577c24]
cmp dword [eax + 0x670], 1
je 0x47fc05
mov edx, dword [0x577c24]
cmp dword [edx + 0x670], 2
jne 0x47fc18
cmp dword [0x5578ec], 1
jne 0x47fc18
mov ecx, dword [0x577c24]
mov eax, dword [ecx + 0x818]
dec eax
add dword [0x577c00], eax
mov edx, dword [0x577c24]
cmp byte [edx + 0x64c], 1
jne 0x47fc55
mov ecx, dword [0x577c24]
cmp dword [ecx + 0x75c], 0
je 0x47fc55
mov eax, dword [0x577c24]
cmp byte [eax + 0x667], 1
jne 0x47fc55
mov edx, dword [0x577c44]
add edx, 3
mov dword [0x577bfc], edx
jmp 0x47fc5f
mov dword [0x577bfc], 2
movzx ecx, word [ebp + 0xc]
mov dword [0x577c54], ecx
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and ax, 0xffff
movzx edx, ax
mov dword [0x577c58], edx
mov ecx, dword [0x577c54]
cmp ecx, dword [0x577bfc]
jge 0x47fc98
xor eax, eax
mov dword [0x551e78], eax
xor eax, eax
jmp 0x480d99
mov edx, dword [0x577c58]
cmp edx, dword [0x577c50]
jl 0x47fcb5
xor ecx, ecx
mov dword [0x551e78], ecx
xor eax, eax
jmp 0x480d99
cmp dword [0x577c58], 0
jge 0x47fccd
xor edx, edx
mov dword [0x551e78], edx
xor eax, eax
jmp 0x480d99
mov edx, dword [0x577c24]
mov ecx, dword [edx + 0x618]
mov eax, dword [ecx + 0x38]
mov dword [ebx], eax
mov edx, dword [0x577c24]
mov ecx, dword [edx + 0x644]
mov eax, dword [0x577c24]
sub ecx, dword [eax + 0x648]
mov dword [0x577c04], ecx
jmp 0x47fd1a
mov edx, dword [0x577c24]
mov ecx, dword [edx + 0x618]
cmp ecx, dword [ebx]
je 0x47fd23
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
mov dword [ebx], edx
dec dword [0x577c04]
cmp dword [0x577c04], 0
jg 0x47fcfd
cmp dword [ebx], 0
jne 0x47fd37
xor ecx, ecx
mov dword [0x551e78], ecx
xor eax, eax
jmp 0x480d99
xor edx, edx
mov dword [0x577c10], edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
mov dword [0x577c08], eax
mov edx, dword [0x577c50]
sub edx, dword [0x577c00]
dec edx
mov dword [0x577c0c], edx
mov ecx, dword [0x577c24]
mov eax, dword [ecx + 0x618]
cmp eax, dword [ebx]
je 0x47fe4d
mov edx, dword [0x577c00]
sub dword [0x577c0c], edx
inc dword [0x577c10]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [ebx], eax
mov edx, dword [ebx]
mov ecx, dword [edx + 8]
cmp ecx, dword [0x577c08]
je 0x47fd5c
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov dword [0x577c08], edx
mov ecx, dword [0x577c24]
cmp dword [ecx + 0x670], 3
je 0x47fdc7
mov eax, dword [0x577c24]
cmp dword [eax + 0x670], 2
jne 0x47fde1
cmp dword [0x5578ec], 2
jne 0x47fde1
mov edx, dword [0x577c24]
mov eax, dword [edx + 0x818]
mov ecx, 3
cdq
idiv ecx
sub dword [0x577c0c], eax
mov eax, dword [0x577c00]
neg eax
cmp eax, dword [0x577c0c]
jle 0x47fd5c
dec dword [0x577c10]
mov edx, dword [0x577c00]
add dword [0x577c0c], edx
mov ecx, dword [0x577c24]
cmp dword [ecx + 0x670], 3
je 0x47fe2c
mov eax, dword [0x577c24]
cmp dword [eax + 0x670], 2
jne 0x47fe46
cmp dword [0x5578ec], 2
jne 0x47fe46
mov edx, dword [0x577c24]
mov eax, dword [edx + 0x818]
mov ecx, 3
cdq
idiv ecx
add dword [0x577c0c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
mov dword [ebx], edx
cmp dword [ebx], 0
jne 0x47fe61
xor ecx, ecx
mov dword [0x551e78], ecx
xor eax, eax
jmp 0x480d99
mov edx, dword [ebx]
mov ecx, dword [edx + 8]
mov dword [0x577c08], ecx
mov eax, dword [0x577c0c]
mov dword [0x577c14], eax
jmp 0x480d7e
mov edx, dword [0x577c14]
cmp edx, dword [0x577c58]
jg 0x480cf7
mov ecx, dword [0x577c14]
add ecx, dword [0x577c00]
cmp ecx, dword [0x577c58]
jle 0x480cf7
push dword [0x577c54]
push dword [0x577bfc]
mov eax, dword [ebx]
push dword [eax]
push dword [0x577c24]
call fcn.0047f4b1
mov dword [0x577c34], eax
cmp dword [0x577c34], 0
jl 0x480d87
mov edx, dword [ebx]
mov ecx, dword [edx]
mov eax, dword [0x577c34]
cmp byte [ecx + eax], 0x20
je 0x480d87
mov edx, dword [ebx]
mov ecx, dword [edx]
mov eax, dword [0x577c34]
cmp byte [ecx + eax], 9
je 0x480d87
mov edx, dword [ebx]
mov dword [0x577c1c], edx
jmp 0x47ff0b
mov ecx, dword [eax + 0x38]
mov dword [0x577c1c], ecx
mov edx, dword [0x577c24]
mov ecx, dword [edx + 0x618]
mov eax, dword [0x577c1c]
cmp ecx, eax
je 0x47ff2b
mov edx, dword [eax + 0x38]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 8]
je 0x47ff02
cmp dword [0x577c1c], 0
je 0x480d87
mov byte [0x578043], 0
mov eax, dword [0x577c1c]
mov dword [0x577c20], eax
jmp 0x47ffce
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x47ff88
mov dword [0x577c3c], edx
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x47ff69
inc dword [esi]
dec dword [0x577c3c]
mov ecx, dword [esi]
cmp byte [ecx], 0x20
jne 0x47ff79
cmp dword [0x577c3c], 0
jg 0x47ff61
mov eax, dword [esi]
cmp byte [eax], 0
jne 0x47ff92
mov dword [esi], 0x551e7c
jmp 0x47ff92
mov edx, dword [0x577c20]
mov ecx, dword [edx]
mov dword [esi], ecx
push 0x578043
call fcn.005395b8
pop ecx
push eax
push dword [esi]
call fcn.005395b8
pop ecx
pop edx
add edx, eax
cmp edx, 0x3b5
ja 0x47ffe9
push dword [esi]
push 0x578043
call fcn.005394dc
add esp, 8
mov eax, dword [0x577c20]
mov ecx, dword [eax + 0x34]
mov dword [0x577c20], ecx
mov eax, dword [0x577c20]
test eax, eax
je 0x47ffe9
mov edx, dword [eax + 8]
mov ecx, dword [0x577c1c]
cmp edx, dword [ecx + 8]
je 0x47ff4e
mov eax, dword [0x577c1c]
mov edx, dword [eax]
push esi
push edi
mov edi, edx
mov esi, 0x577c5c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [0x577c1c]
cmp eax, dword [ebx]
jne 0x48002b
xor edx, edx
mov dword [0x577c3c], edx
jmp 0x48004b
mov dword [0x577c3c], 1
push 0x577c5c
call fcn.005395b8
pop ecx
add eax, dword [0x577c34]
mov dword [0x577c34], eax
mov ecx, dword [0x577c1c]
mov eax, dword [ecx + 0x34]
mov dword [0x577c1c], eax
jmp 0x480167
cmp eax, dword [ebx]
jne 0x48006a
xor edx, edx
mov dword [0x577c3c], edx
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x480123
mov dword [0x577c38], edx
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x480089
inc dword [esi]
dec dword [0x577c38]
mov ecx, dword [esi]
mov al, byte [ecx]
cmp al, 0x20
je 0x480095
cmp al, 9
jne 0x48009e
cmp dword [0x577c38], 0
jg 0x480081
mov edx, dword [esi]
cmp byte [edx], 0
je 0x4800f0
push dword [esi]
push 0x577c5c
call fcn.005394dc
add esp, 8
cmp dword [0x577c3c], 0
je 0x4800d0
push dword [esi]
call fcn.005395b8
pop ecx
add eax, dword [0x577c34]
mov dword [0x577c34], eax
mov ecx, dword [0x577c1c]
cmp ecx, dword [ebx]
jne 0x480159
mov eax, dword [0x577c1c]
mov edx, dword [eax + 0x10]
sub edx, dword [0x577c38]
sub dword [0x577c34], edx
jmp 0x480159
push 0x551e7f
push 0x577c5c
call fcn.005394dc
add esp, 8
cmp dword [0x577c3c], 0
je 0x480111
inc dword [0x577c34]
mov ecx, dword [0x577c1c]
cmp ecx, dword [ebx]
jne 0x480159
dec dword [0x577c34]
jmp 0x480159
mov eax, dword [0x577c1c]
push dword [eax]
push 0x577c5c
call fcn.005394dc
add esp, 8
cmp dword [0x577c3c], 0
je 0x480159
mov edx, dword [0x577c1c]
push dword [edx]
call fcn.005395b8
pop ecx
add eax, dword [0x577c34]
mov dword [0x577c34], eax
mov ecx, dword [0x577c1c]
mov eax, dword [ecx + 0x34]
mov dword [0x577c1c], eax
mov eax, dword [0x577c1c]
test eax, eax
je 0x48017e
mov edx, dword [eax + 8]
mov ecx, dword [ebx]
cmp edx, dword [ecx + 8]
je 0x48005e
cmp dword [0x577c34], 0
jl 0x480d87
push 0x577c5c
call fcn.005395b8
pop ecx
cmp eax, dword [0x577c34]
jle 0x480d87
mov eax, 0x577c5c
add eax, dword [0x577c34]
mov dword [esi], eax
jmp 0x4801b3
dec dword [esi]
mov edx, 0x577c5c
cmp edx, dword [esi]
jae 0x4801c8
mov ecx, dword [esi]
mov al, byte [ecx]
cmp al, 0x20
je 0x4801c8
cmp al, 9
jne 0x4801b1
mov edx, dword [esi]
cmp byte [edx], 0x20
je 0x4801d6
mov ecx, dword [esi]
cmp byte [ecx], 9
jne 0x4801fe
inc dword [esi]
mov eax, dword [esi]
cmp byte [eax], 0
je 0x480d87
push dword [esi]
call fcn.005395b8
pop ecx
inc eax
push eax
push dword [esi]
push 0x577c5c
call fcn.005393ec
add esp, 0xc
jmp 0x480217
push dword [esi]
call fcn.005395b8
pop ecx
inc eax
push eax
push dword [esi]
push 0x577c5c
call fcn.005393ec
add esp, 0xc
mov dword [esi], 0x577c5c
jmp 0x48022d
mov edx, dword [esi]
mov al, byte [edx]
cmp al, 0x20
je 0x480234
cmp al, 9
je 0x480234
inc dword [esi]
mov edx, dword [esi]
cmp byte [edx], 0
jne 0x48021f
mov ecx, dword [esi]
cmp byte [ecx], 0
je 0x480242
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x480246
xor edx, edx
mov dword [esi], edx
push 0xf
push 0x577c5c
call fcn.004fec28
cmp byte [0x577c5c], 0
je 0x480d87
cmp dword [0x558a48], 0
je 0x4802e6
mov ecx, dword [0x55014c]
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [0x55014c], eax
xor edx, edx
mov dword [0x558f34], edx
push 1
push 0x1c
push 0x551e82
push 0
call fcn.004efac0
test eax, eax
je 0x4802dd
cmp dword [ebp + 0x10], 1
jne 0x4802b4
mov ecx, dword [ebp + 8]
mov dword [0x55014c], ecx
push 0
push 0x1c
push 0x551e8b
push 0
call fcn.004efac0
inc dword [0x551e68]
mov eax, dword [ebp + 8]
mov dword [0x551e64], eax
mov edx, dword [ebp - 4]
mov dword [0x55014c], edx
xor ecx, ecx
mov dword [0x551e78], ecx
mov eax, 1
jmp 0x480d99
mov edx, dword [ebp - 4]
mov dword [0x55014c], edx
mov dword [esi], 0x577c5c
jmp 0x48030c
push dword [esi]
call fcn.004df19c
test al, al
jne 0x48030a
push dword [esi]
call fcn.004df174
test al, al
jne 0x480313
xor ecx, ecx
mov dword [esi], ecx
jmp 0x480313
inc dword [esi]
mov eax, dword [esi]
cmp byte [eax], 0
jne 0x4802ee
cmp dword [esi], 0
je 0x48047d
mov edx, dword [esi]
cmp byte [edx], 0
je 0x48047d
push 0x2c
push dword [esi]
call fcn.00539518
add esp, 8
mov dword [0x577c2c], eax
cmp dword [0x577c2c], 0
je 0x48034a
mov ecx, dword [0x577c2c]
mov byte [ecx], 0
cmp dword [esi], 0
je 0x48047d
mov eax, dword [esi]
cmp byte [eax], 0
je 0x48047d
mov edx, dword [esi]
cmp byte [edx + 1], 0
je 0x48047d
push dword [esi]
call fcn.005395b8
pop ecx
mov dword [0x577c34], eax
cmp dword [0x577c34], 0
jle 0x4803cd
mov ecx, dword [esi]
mov eax, dword [0x577c34]
xor edx, edx
mov dl, byte [ecx + eax - 1]
cmp edx, 0x3a
jge 0x4803a8
sub edx, 0x22
je 0x4803c1
sub edx, 7
je 0x4803c1
sub edx, 3
je 0x4803c1
sub edx, 2
je 0x4803c1
jmp 0x4803cd
add edx, 0xffffffc6
sub edx, 2
jb 0x4803c1
sub edx, 2
je 0x4803c1
sub edx, 0x1f
je 0x4803c1
sub edx, 0x20
je 0x4803c1
jmp 0x4803cd
mov ecx, dword [esi]
mov eax, dword [0x577c34]
mov byte [ecx + eax - 1], 0
mov edx, dword [esi]
cmp byte [edx], 0
je 0x480d87
mov ecx, dword [0x577c24]
add ecx, 4
push ecx
push dword [esi]
call fcn.0053977c
add esp, 8
test eax, eax
je 0x480d87
inc dword [0x551e68]
mov eax, dword [ebp + 8]
mov dword [0x551e64], eax
cmp dword [ebp + 0x10], 1
jne 0x480433
push dword [esi]
push 0x551e94
push 0x57c4a0
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x57c4a0
push dword [ebp + 8]
call fcn.0049bc6c
jmp 0x48046b
cmp dword [ebp + 0x10], 2
jne 0x48046b
push dword [esi]
call fcn.005395b8
pop ecx
inc eax
push eax
push dword [esi]
push 0x577c5c
call fcn.005393ec
add esp, 0xc
call fcn.004b8c17
push 1
call fcn.004b666c
push dword [ebp + 0xc]
push 0x14
push dword [ebp + 8]
call fcn.004b877d
xor edx, edx
mov dword [0x551e78], edx
mov eax, 1
jmp 0x480d99
push 0x577c5c
call fcn.005395b8
pop ecx
cmp eax, 2
jb 0x48072d
push 0x2e
push 0x577c5e
call fcn.00539518
add esp, 8
test eax, eax
je 0x48072d
xor edx, edx
mov dl, byte [0x577c5c]
cmp edx, 0x3c
jg 0x4804c6
je 0x4804d2
sub edx, 0x22
je 0x4804d2
add edx, 0xfffffffb
sub edx, 2
jb 0x4804d2
jmp 0x4804f1
sub edx, 0x5b
je 0x4804d2
sub edx, 0x20
je 0x4804d2
jmp 0x4804f1
push 0x577c5d
call fcn.005395b8
pop ecx
inc eax
push eax
push 0x577c5d
push 0x577c5c
call fcn.005393ec
add esp, 0xc
push 0x577c5c
call fcn.005395b8
pop ecx
mov dword [0x577c34], eax
cmp dword [0x577c34], 0
jle 0x480553
mov ecx, dword [0x577c34]
xor eax, eax
mov al, byte [ecx + 0x577c5b]
cmp eax, 0x2e
jg 0x480535
je 0x480546
sub eax, 0x22
je 0x480546
sub eax, 5
je 0x480546
sub eax, 2
je 0x480546
sub eax, 3
je 0x480546
jmp 0x480553
sub eax, 0x3e
je 0x480546
sub eax, 0x1f
je 0x480546
sub eax, 0x20
je 0x480546
jmp 0x480553
mov edx, dword [0x577c34]
mov byte [edx + 0x577c5b], 0
cmp byte [0x577c5c], 0
je 0x480d87
mov dword [0x577c34], 0x3e7
xor ecx, ecx
mov dword [0x551e68], ecx
push 0x3a
push 0x577c5c
call fcn.00539518
add esp, 8
test eax, eax
je 0x4805fe
push 7
push 0x551e9e
push 0x577c5c
call fcn.00539814
add esp, 0xc
test eax, eax
jne 0x4805ac
mov dword [0x577c34], 0xb
jmp 0x4806a0
push 8
push 0x551ea7
push 0x577c5c
call fcn.00539814
add esp, 0xc
test eax, eax
jne 0x4805d3
mov dword [0x577c34], 0xc
jmp 0x4806a0
push 6
push 0x551eb1
push 0x577c5c
call fcn.00539814
add esp, 0xc
test eax, eax
jne 0x480d87
mov dword [0x577c34], 0xa
jmp 0x4806a0
push 4
push 0x551eb9
push 0x577c5c
call fcn.00539814
add esp, 0xc
test eax, eax
jne 0x480622
mov dword [0x577c34], 8
jmp 0x48067d
push 4
push 0x551ebf
push 0x577c5c
call fcn.00539814
add esp, 0xc
test eax, eax
jne 0x480646
mov dword [0x577c34], 8
jmp 0x48067d
push 0x40
push 0x577c5c
call fcn.00539518
add esp, 8
test eax, eax
je 0x480d87
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x480d87
inc dword [0x551e68]
mov dword [0x577c34], 6
cmp dword [0x577c34], 8
jne 0x4806a0
push 0x2e
push 0x577c60
call fcn.00539518
add esp, 8
mov dword [esi], eax
cmp dword [esi], 0
je 0x480d87
push 0x577c5c
call fcn.005395b8
pop ecx
cmp eax, dword [0x577c34]
jb 0x480d87
inc dword [0x551e68]
mov eax, dword [ebp + 8]
mov dword [0x551e64], eax
cmp dword [ebp + 0x10], 1
jne 0x4806f3
cmp dword [0x551e68], 2
jne 0x4806e0
push 0x577c5c
call fcn.004e852f
jmp 0x48071b
push 0
push 0x57c887
push 0x577c5c
call fcn.0050dc82
jmp 0x48071b
cmp dword [ebp + 0x10], 2
jne 0x48071b
cmp dword [0x551e68], 1
jne 0x48071b
call fcn.004b8c17
push 1
call fcn.004b7b2f
push dword [ebp + 0xc]
push 0x1b
push dword [ebp + 8]
call fcn.004b877d
xor edx, edx
mov dword [0x551e78], edx
mov eax, 1
jmp 0x480d99
mov edx, dword [0x577c24]
cmp byte [edx + 0x64c], 0
je 0x48075d
mov ecx, dword [0x577c24]
cmp byte [ecx + 0x64c], 1
je 0x48075d
mov eax, dword [0x577c24]
cmp byte [eax + 0x64c], 2
jne 0x480d87
call fcn.0047f7dc
push 0x5784f2
push 0x57842a
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x48077f
mov byte [0x5784f2], 0
push 0x578556
push 0x57848e
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x48079c
mov byte [0x578556], 0
mov edx, dword [0x577c24]
cmp byte [edx + 0x64c], 1
jne 0x4809f9
xor ecx, ecx
mov dword [ebx], ecx
xor eax, eax
mov dword [edi], eax
jmp 0x4808f8
mov edx, dword [edi]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
cmp byte [edx*4 + 0x57842a], 0
je 0x4808f6
xor ecx, ecx
mov dword [0x577c34], ecx
mov eax, dword [0x577c24]
cmp dword [eax + 0x614], 0
je 0x480870
mov edx, dword [0x577c24]
add edx, 0x610
push edx
push 0
imul ecx, dword [edi], 0x64
add ecx, 0x57842a
push ecx
call fcn.0047ae1e
mov dword [0x577c1c], eax
mov eax, dword [0x577c24]
mov edx, dword [eax + 0x608]
mov dword [ebx], edx
jmp 0x480866
mov ecx, dword [ebx]
cmp ecx, dword [0x577c1c]
jne 0x480859
mov eax, dword [ebx]
mov edx, dword [eax]
push esi
push edi
mov edi, edx
mov esi, 0x577c5c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4808f1
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
mov dword [ebx], edx
inc dword [0x577c34]
cmp dword [ebx], 0
jne 0x48081e
jmp 0x4808f1
mov ecx, dword [0x577c24]
mov eax, dword [ecx + 0x608]
mov dword [ebx], eax
jmp 0x4808ec
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov ecx, dword [edi]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
movzx ecx, byte [ecx*4 + 0x57842a]
cmp edx, ecx
jne 0x4808df
imul edx, dword [edi], 0x64
add edx, 0x57842a
push edx
push dword [eax]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4808df
mov eax, dword [ebx]
mov eax, dword [eax]
push esi
push edi
mov edi, eax
mov esi, 0x577c5c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4808f1
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
mov dword [ebx], edx
inc dword [0x577c34]
cmp dword [ebx], 0
jne 0x480880
cmp dword [ebx], 0
jne 0x480901
inc dword [edi]
cmp dword [edi], 4
jl 0x4807bc
cmp dword [ebx], 0
je 0x4809f9
inc dword [0x551e68]
mov ecx, dword [ebp + 8]
mov dword [0x551e64], ecx
cmp dword [ebp + 0x10], 1
jne 0x480995
cmp byte [0x56d890], 0
je 0x4809e8
mov esi, 0x577c5c
mov edi, 0x56d890
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov edx, dword [eax]
mov edi, edx
mov esi, 0x57c887
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 1
push 0x57c887
push 0x577c5c
push dword [ebp + 8]
call fcn.0049bc6c
jmp 0x4809e8
cmp dword [ebp + 0x10], 2
jne 0x4809cb
call fcn.004b8c17
push 1
push 1
push dword [0x577c34]
push 0x425
push dword [ebp + 8]
call fcn.0041d64b
call fcn.004b6796
push dword [ebp + 0xc]
push 3
push dword [ebp + 8]
call fcn.004b877d
jmp 0x4809e8
cmp dword [ebp + 0x10], 3
jne 0x4809e8
push 1
push 1
push dword [0x577c34]
push 0x425
push dword [ebp + 8]
call fcn.0041d64b
xor eax, eax
mov dword [0x551e78], eax
mov eax, 1
jmp 0x480d99
cmp dword [0x557224], 0
je 0x480ba5
xor edx, edx
mov dword [0x577c30], edx
xor ecx, ecx
mov dword [edi], ecx
jmp 0x480aaf
mov eax, dword [edi]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
cmp byte [eax*4 + 0x57842a], 0
je 0x480aad
push 1
imul edx, dword [edi], 0x64
add edx, 0x57842a
push edx
call fcn.004c81d3
mov dword [0x577c30], eax
cmp dword [0x577c30], 0
je 0x480aa5
mov ecx, dword [0x577c30]
cmp dword [ecx + 0x2a4], 0
je 0x480aa5
mov eax, dword [0x577c30]
push esi
push edi
mov esi, 0x577c5c
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x21
push 0x577c5c
call fcn.00539518
add esp, 8
mov dword [esi], eax
cmp dword [esi], 0
je 0x480ab8
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x480ab8
xor edx, edx
mov dword [0x577c30], edx
inc dword [edi]
cmp dword [edi], 4
jl 0x480a17
cmp dword [0x577c30], 0
je 0x480ba5
inc dword [0x551e68]
mov ecx, dword [ebp + 8]
mov dword [0x551e64], ecx
cmp dword [ebp + 0x10], 1
jne 0x480b74
cmp byte [0x56d994], 0
je 0x480b93
push esi
mov esi, 0x577c5c
mov edi, 0x56d994
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [0x577c30]
push esi
mov esi, 0x57c887
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x21
push 0x57c887
call fcn.00539518
add esp, 8
mov dword [esi], eax
cmp dword [esi], 0
je 0x480b5a
mov eax, dword [esi]
mov byte [eax], 0
push 0
push 0
push 1
push 0x57c887
push 0x577c5c
push dword [ebp + 8]
call fcn.0049bc6c
jmp 0x480b93
cmp dword [ebp + 0x10], 2
jne 0x480b93
call fcn.004b8c17
push 0
call fcn.004b6b5a
push dword [ebp + 0xc]
push 7
push dword [ebp + 8]
call fcn.004b877d
xor edx, edx
mov dword [0x551e78], edx
mov eax, 1
jmp 0x480d99
cmp dword [0x55a4e8], 0
je 0x480d87
xor edx, edx
mov dword [ebx], edx
xor ecx, ecx
mov dword [edi], ecx
jmp 0x480c30
mov eax, dword [edi]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
cmp byte [eax*4 + 0x57842a], 0
je 0x480c2e
mov edx, dword [0x55a4e8]
mov dword [ebx], edx
jmp 0x480c23
imul ecx, dword [edi], 0x64
add ecx, 0x57842a
push ecx
push dword [eax]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x480c1c
mov eax, dword [ebx]
mov edx, dword [eax]
push edi
mov edi, edx
mov esi, 0x577c5c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x480c29
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
mov dword [ebx], edx
mov eax, dword [ebx]
test eax, eax
jne 0x480bd8
cmp dword [ebx], 0
jne 0x480c35
inc dword [edi]
cmp dword [edi], 4
jl 0x480bbc
cmp dword [ebx], 0
je 0x480d87
inc dword [0x551e68]
mov edx, dword [ebp + 8]
mov dword [0x551e64], edx
cmp dword [ebp + 0x10], 1
jne 0x480cc9
cmp byte [0x56d688], 0
je 0x480ce6
mov esi, 0x577c5c
mov edi, 0x56d688
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov edx, dword [eax]
mov edi, edx
mov esi, 0x57c887
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 1
push 0x57c887
push 0x577c5c
push dword [ebp + 8]
call fcn.0049bc6c
jmp 0x480ce6
cmp dword [ebp + 0x10], 2
jne 0x480ce6
call fcn.004b8c17
call fcn.004b673e
push dword [ebp + 0xc]
push 2
push dword [ebp + 8]
call fcn.004b877d
xor eax, eax
mov dword [0x551e78], eax
mov eax, 1
jmp 0x480d99
mov edx, dword [ebx]
mov ecx, dword [edx + 0x34]
mov dword [ebx], ecx
cmp dword [ebx], 0
je 0x480d87
mov eax, dword [0x577c00]
add dword [0x577c14], eax
mov edx, dword [ebx]
mov ecx, dword [edx + 8]
cmp ecx, dword [0x577c08]
je 0x480d6a
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov dword [0x577c08], edx
mov ecx, dword [0x577c24]
cmp dword [ecx + 0x670], 3
je 0x480d50
mov eax, dword [0x577c24]
cmp dword [eax + 0x670], 2
jne 0x480d6a
cmp dword [0x5578ec], 2
jne 0x480d6a
mov edx, dword [0x577c24]
mov eax, dword [edx + 0x818]
mov ecx, 3
cdq
idiv ecx
add dword [0x577c14], eax
mov eax, dword [0x577c50]
sub eax, dword [0x577c00]
dec eax
cmp eax, dword [0x577c14]
jl 0x480d87
cmp dword [ebx], 0
jne 0x47fe7b
xor edx, edx
mov dword [0x551e68], edx
xor ecx, ecx
mov dword [0x551e78], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc