Function at 0x624344
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc84
mov byte [esp], dl
mov ebx, eax
xor eax, eax
mov dword [esp + 0x368], eax
xor eax, eax
mov dword [esp + 0x340], eax
mov dword [esp + 0x344], eax
xor eax, eax
mov dword [esp + 0x348], eax
mov al, byte [ebx + 0x40]
sub al, 2
jb 0x624387
je 0x625654
jmp 0x625721
mov dl, 1
mov eax, dword [0x61dc0c]
call fcn.00622f7c
mov dword [esp + 4], eax
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.006232e0
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x10], eax
mov al, byte [esp]
mov byte [ebx + 0x20], al
mov eax, ebx
call fcn.00623c18
mov eax, dword [esp + 4]
mov al, byte [eax + 0x20]
test al, al
je case.0x6243de.0
and eax, 0x7f
cmp eax, 6
ja case.0x6243de.0
jmp dword [eax*4 + 0x6243e5]
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x6243de.0
jmp dword [eax*4 + 0x624416]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov byte [eax + 2], 0
mov eax, dword [esp + 0x28]
mov byte [eax], 0
mov eax, dword [esp + 0x28]
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x24]
add eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov byte [eax + 2], 0xff
mov eax, dword [esp + 0x2c]
mov byte [eax], 0xff
mov eax, dword [esp + 0x2c]
mov byte [eax + 1], 0xff
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x6244c8
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 0x14]
call fcn.005fe3e0
test eax, eax
setne al
mov byte [edi], al
inc edi
inc ebp
dec esi
jne 0x6244b1
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x62448a
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624535
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 0x14]
call fcn.005fe3e0
test eax, eax
setne al
mov edx, eax
shl eax, 8
sub eax, edx
mov byte [edi], al
inc edi
inc ebp
dec esi
jne 0x624517
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6244f0
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x6245a8
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 0x14]
call fcn.005fe3e0
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 0x10
sub eax, edx
mov word [edi], ax
add edi, 2
inc ebp
dec esi
jne 0x624584
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x62455d
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x62461e
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 0x14]
call fcn.005fe3e0
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 8
sub eax, edx
mov byte [edi], al
inc edi
mov byte [edi], al
inc edi
mov byte [edi], al
inc edi
inc ebp
dec esi
jne 0x6245f7
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6245d0
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624698
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 0x14]
call fcn.005fe3e0
test eax, eax
setne al
movsx eax, al
mov dword [esp + 0x370], eax
fild dword [esp + 0x370]
fstp dword [edi]
wait
add edi, 4
inc ebp
dec esi
jne 0x62466d
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624646
jmp case.0x6243de.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x6243de.0
jmp dword [eax*4 + 0x6246bc]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x6246ea
je 0x6247ac
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624799
inc esi
xor ebp, ebp
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x24]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
shr eax, 2
mov edx, ebp
and edx, 7
shl edx, 2
mov ecx, dword [0x7a872c]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 0x14]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fe3fc
inc dword [esp + 0x14]
inc ebp
dec esi
jne 0x62472a
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624703
jmp case.0x6243de.0
lea eax, [esp + 0x340]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00606bec
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624847
inc esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x24]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
mov byte [edi], al
inc edi
inc dword [esp + 0x14]
dec esi
jne 0x624805
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6247e0
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x6248e8
inc esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x24]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
shl eax, 8
imul eax, eax, 0xd4
xor edx, edx
mov dl, byte [ecx + 1]
shl edx, 8
imul edx, edx, 0x2c9
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 8
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov word [edi], ax
add edi, 2
inc dword [esp + 0x14]
dec esi
jne 0x624894
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x62486f
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624965
inc esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x24]
lea eax, [edx + eax]
mov dl, byte [eax]
mov byte [edi], dl
inc edi
mov dl, byte [eax + 1]
mov byte [edi], dl
inc edi
mov al, byte [eax + 2]
mov byte [edi], al
inc edi
inc dword [esp + 0x14]
dec esi
jne 0x624939
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624914
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624a2c
inc esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x24]
lea eax, [edx + eax]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x370], edx
fild dword [esp + 0x370]
fld xword [0x62572c]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x374], edx
fild dword [esp + 0x374]
fld xword [0x625738]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x378], eax
fild dword [esp + 0x378]
fld xword [0x625744]
fmulp st(1)
faddp st(1)
fdiv dword [0x625750]
fstp dword [edi]
wait
add edi, 4
inc dword [esp + 0x14]
dec esi
jne 0x6249b2
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x62498d
jmp case.0x6243de.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x6243de.0
jmp dword [eax*4 + 0x624a54]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x624a82
je 0x624b0f
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624b00
inc esi
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x7a872c]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x10]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x14]
movzx edx, byte [edx]
shr edx, 2
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fe3fc
inc dword [esp + 0x14]
inc ebp
dec esi
jne 0x624ac2
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624a9b
jmp case.0x6243de.0
lea eax, [esp + 0x340]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00606bec
jmp case.0x6243de.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + edx]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov byte [edx + 2], al
mov edx, dword [esp + 0x34]
mov byte [edx + 1], al
mov edx, dword [esp + 0x34]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x624b2c
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, edi
call fcn.00408628
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624b6e
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624bfc
inc esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
shl eax, 8
mov word [edi], ax
inc dword [esp + 0x14]
add edi, 2
dec esi
jne 0x624be5
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624bc0
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624c6b
inc esi
mov eax, dword [esp + 0x14]
mov al, byte [eax]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x14]
mov al, byte [eax]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x14]
mov al, byte [eax]
mov byte [edi], al
inc edi
inc dword [esp + 0x14]
dec esi
jne 0x624c49
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624c24
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624ce0
inc esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
mov dword [esp + 0x370], eax
fild dword [esp + 0x370]
fdiv dword [0x625750]
fstp dword [edi]
wait
inc dword [esp + 0x14]
add edi, 4
dec esi
jne 0x624cb8
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624c93
jmp case.0x6243de.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x6243de.0
jmp dword [eax*4 + 0x624d04]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x624d32
je 0x624dc0
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624db1
inc esi
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x7a872c]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x10]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x18]
movzx edx, word [edx]
shr edx, 0xa
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fe3fc
add dword [esp + 0x18], 2
inc ebp
dec esi
jne 0x624d72
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624d4b
jmp case.0x6243de.0
lea eax, [esp + 0x340]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00606bec
jmp case.0x6243de.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + edx]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x38]
mov byte [edx + 2], al
mov edx, dword [esp + 0x38]
mov byte [edx + 1], al
mov edx, dword [esp + 0x38]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x624ddd
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624e59
inc esi
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
add dword [esp + 0x18], 2
dec esi
jne 0x624e44
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624e1f
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624ebb
inc esi
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
add dword [esp + 0x18], 2
dec esi
jne 0x624ea6
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624e81
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624f37
inc esi
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
add dword [esp + 0x18], 2
dec esi
jne 0x624f08
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624ee3
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x624fad
inc esi
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
mov dword [esp + 0x370], eax
fild dword [esp + 0x370]
fdiv dword [0x625754]
fstp dword [edi]
wait
add edi, 4
add dword [esp + 0x18], 2
dec esi
jne 0x624f84
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x624f5f
jmp case.0x6243de.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x6243de.0
jmp dword [eax*4 + 0x624fd1]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x624fff
je 0x6250b2
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x62509f
inc esi
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
shr eax, 2
mov edx, ebp
and edx, 7
shl edx, 2
mov ecx, dword [0x7a872c]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 0x14]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fe3fc
add dword [esp + 0x1c], 3
inc ebp
dec esi
jne 0x62503f
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x625018
jmp case.0x6243de.0
lea eax, [esp + 0x340]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00606bec
jmp case.0x6243de.0
lea eax, [esp + 0x40]
push eax
push 0xff
push pe_nt_image_headers32
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x18]
mov dl, 1
mov eax, dword [0x5b106c]
call fcn.005b1bc8
mov dword [esp + 0x24], eax
xor eax, eax
lea edx, [esp + 0x42]
lea ecx, [eax + eax*2]
mov esi, dword [ebx + 0x24]
lea esi, [esi + ecx + 2]
mov cl, byte [edx]
mov byte [esi], cl
lea ecx, [eax + eax*2]
mov esi, dword [ebx + 0x24]
lea esi, [esi + ecx + 1]
mov cl, byte [edx - 1]
mov byte [esi], cl
lea ecx, [eax + eax*2]
mov esi, dword [ebx + 0x24]
add esi, ecx
mov cl, byte [edx - 2]
mov byte [esi], cl
inc eax
add edx, 3
cmp eax, 0x100
jne 0x6250fa
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl 0x625195
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x62518b
inc esi
mov eax, dword [esp + 0x1c]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
mov eax, dword [esp + 0x28]
call fcn.005b1d28
mov byte [edi], al
inc edi
add dword [esp + 0x1c], 3
dec esi
jne 0x625169
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x625144
mov eax, dword [esp + 0x24]
call fcn.004044a8
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x625214
inc esi
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
mov byte [edi], al
add dword [esp + 0x1c], 3
inc edi
dec esi
jne 0x6251e1
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6251bc
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x6252a6
inc esi
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + 2]
shl eax, 8
imul eax, eax, 0xd4
xor edx, edx
mov dl, byte [ecx + 1]
shl edx, 8
imul edx, edx, 0x2c9
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 8
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov word [edi], ax
add dword [esp + 0x1c], 3
add edi, 2
dec esi
jne 0x625261
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x62523c
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x62535e
inc esi
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x370], edx
fild dword [esp + 0x370]
fld xword [0x62572c]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x374], edx
fild dword [esp + 0x374]
fld xword [0x625738]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x378], eax
fild dword [esp + 0x378]
fld xword [0x625744]
fmulp st(1)
faddp st(1)
fdiv dword [0x625750]
fstp dword [edi]
wait
add dword [esp + 0x1c], 3
add edi, 4
dec esi
jne 0x6252f3
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6252ce
jmp case.0x6243de.0
xor eax, eax
mov al, byte [esp]
cmp eax, 5
ja case.0x6243de.0
jmp dword [eax*4 + 0x625386]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x6253b0
je 0x625443
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x625434
inc esi
xor ebp, ebp
mov eax, dword [esp + 0x20]
fld dword [eax]
fdiv dword [0x625758]
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x7a872c]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x10]
and edx, 7
fild dword [eax + edx*4]
fcompp
fnstsw ax
sahf
setb cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fe3fc
add dword [esp + 0x20], 4
inc ebp
dec esi
jne 0x6253f0
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6253c9
jmp case.0x6243de.0
lea eax, [esp + 0x340]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, dword [esp + 8]
call fcn.00606bec
jmp case.0x6243de.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + edx]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x3c]
mov byte [edx + 2], al
mov edx, dword [esp + 0x3c]
mov byte [edx + 1], al
mov edx, dword [esp + 0x3c]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x625460
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x6254e3
inc esi
mov eax, dword [esp + 0x20]
fld dword [eax]
fmul dword [0x625750]
call fcn.00403000
mov byte [edi], al
add dword [esp + 0x20], 4
inc edi
dec esi
jne 0x6254c7
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6254a2
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x62554c
inc esi
mov eax, dword [esp + 0x20]
fld dword [eax]
fmul dword [0x625750]
call fcn.00403000
mov byte [edi], al
add dword [esp + 0x20], 4
inc edi
dec esi
jne 0x625530
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x62550b
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x6255b8
inc esi
mov eax, dword [esp + 0x20]
fld dword [eax]
fmul dword [0x625754]
call fcn.00403000
mov word [edi], ax
add dword [esp + 0x20], 4
add edi, 2
dec esi
jne 0x625599
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x625574
jmp case.0x6243de.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x6243de.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x625622
inc esi
mov eax, dword [esp + 0x20]
fld dword [eax]
fmul dword [0x625750]
call fcn.00403000
mov edx, eax
mov byte [edi], dl
inc edi
mov byte [edi], dl
inc edi
mov byte [edi], dl
inc edi
add dword [esp + 0x20], 4
dec esi
jne 0x6255fe
inc dword [esp + 0x10]
dec dword [esp + 0x30]
jne 0x6255d9
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [esp + 4]
call fcn.004044a8
mov eax, ebx
call fcn.00626df4
jmp 0x625721
mov eax, dword [ebx + 0x38]
call fcn.0042e6c0
dec al
je 0x625669
sub al, 5
je 0x62569d
jmp 0x6256fa
cmp byte [esp], 5
jne 0x6256fa
mov eax, dword [ebx + 0x38]
call fcn.005fbe74
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x340]
lea edx, [ebx + 0x38]
lea eax, [esp + 0xc]
call fcn.005fd398
mov eax, dword [esp + 0xc]
call fcn.004044a8
jmp 0x6256fa
cmp byte [esp], 1
jne 0x6256fa
mov dl, 1
mov eax, dword [0x61dc0c]
call fcn.00622f7c
mov dword [esp + 8], eax
mov cl, 1
mov edx, dword [ebx + 0x38]
mov eax, dword [esp + 8]
call fcn.00623e64
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x6256cc
je 0x6256de
jmp 0x6256f1
lea edx, [esp + 0x340]
mov eax, dword [esp + 8]
call fcn.005fccc0
jmp 0x6256f1
lea ecx, [esp + 0x340]
or edx, 0xffffffff
mov eax, dword [esp + 8]
call fcn.005fce8c
mov eax, dword [esp + 8]
call fcn.004044a8
mov al, byte [esp]
mov byte [ebx + 0x20], al
and eax, 0x7f
mov esi, dword [eax*4 + 0x70e02c]
mov dword [ebx + 0x14], esi
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.0061e490
mov dword [ebx + 0x1c], eax
mov eax, ebx
call fcn.006233fc
add esp, 0x37c
pop ebp
pop edi
pop esi
pop ebx
ret