Function at 0x832b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf94
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x58a]
mov word [ebp - 0x58c], bx
rep stosd dword es:[edi], eax
fld qword [0x893578]
fld qword [0x893578]
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x382]
mov word [ebp - 0x384], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8b4918]
fsub st(1)
fxch st(1)
fmul qword [0x8a1738]
fadd qword [0x8b4910]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8b4908]
fnstsw ax
test ah, 0x41
jne 0x832c03
fld st(0)
fmul qword [0x8b4900]
fsubp st(2)
fadd qword [0x89a4c0]
fcom qword [0x8b48f8]
fnstsw ax
test ah, 1
jne 0x832bca
fxch st(1)
fst qword [ebp - 0x30]
fxch st(1)
fstp st(0)
fcomp qword [0x893578]
fnstsw ax
test ah, 1
je 0x832c5f
pop ebp
push edx
pop edx
inc edi
xor al, 0x59
je 0x832ca7
dec edx
jle 0x832cb4
push ebp
insb byte es:[edi], dx
jge 0x832c83
sub eax, 0x6d357e4d
jge 0x832caa
inc ebp
jl 0x832c74
popal
insd dword es:[edi], dx
bound edi, qword [ecx - 0x4cef46f3]
or dword [edi - 0x53fa50f1], esi
imul eax, dword [edi + esi*4]
add ebp, ecx
fisttp qword [eax]
add byte [eax], al
mov dword [ebp - 0x1c], 0x832c4a
mov dword [ebp - 0x24], 0x832c2c
xor eax, eax
mov byte [ebp + eax - 0x138], al
inc eax
cmp eax, 0x100
jb 0x832c6f
invalid
fld qword [ebp - 0x30]
mov byte [ebp - 0x10], 0
mov eax, 0xff
lock add byte [eax + 0xff], bh
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x18], eax
jmp 0x832c96
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, 1
cmp eax, ebx
jbe 0x832caa
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x832ca2
fdiv dword [edx - 8]
cmp edi, 3
ja case.default.0x832caf
jmp dword [edi*4 + 0x8336d0]
add dword [eax], 0xffffffd9
rol byte [ecx + 0xffe6], 0
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x138]
jmp 0x832d2b
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x138]
shr eax, 8
jmp 0x832d2b
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x138]
shr eax, 0x10
jmp 0x832d2b
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x138]
shr eax, 0x18
jmp 0x832d2b
mov eax, dword [ebp - 0x24]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x138]
add cl, al
inc edi
cmp edi, 0x22
mov byte [ebp - 0x10], cl
jb 0x832d3e
xor edi, edi
add cl, 0x22
mov byte [ebp - 0x10], cl
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x2c], eax
jbe 0x832d5e
mov eax, edx
xor edx, edx
div dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, edx
jb 0x832caa
je 0x832d99
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + edx - 0x138]
mov bl, byte [ebp + ecx - 0x138]
lea edx, [ebp + ecx - 0x138]
mov cl, byte [eax]
xor bl, cl
mov byte [edx], bl
mov cl, bl
mov bl, byte [eax]
xor bl, cl
mov byte [eax], bl
mov cl, byte [edx]
mov al, bl
xor cl, al
mov byte [edx], cl
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
jne 0x832c94
mov dl, byte [ebp - 0x131]
and esi, 0xff
mov byte [ebp - 0x20], dl
mov bl, byte [ebp - 0x135]
mov al, byte [ebp + esi - 0x138]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x28], al
mov cl, byte [ebp - 0x133]
mov al, byte [esi]
mov dl, byte [esi + 1]
add al, 4
sub dl, 2
shl al, 4
or al, dl
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x28]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x138]
lea edi, [ebp + eax - 0x138]
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0x137]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x138]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x138]
lea edx, [ebp + edx - 0x138]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x2c], edx
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ebx], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x10], edx
mov bl, byte [ebp + edx - 0x138]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x138]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x10]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x138]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x138]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x138]
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x28], dl
xor bl, dl
mov dl, byte [esi + 2]
mov byte [ebp - 0x20], bl
add dl, 4
mov bl, byte [esi + 3]
shl dl, 4
sub bl, 2
or dl, bl
mov byte [ebp - 0x18], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x138]
mov dl, byte [ebp + edx - 0x138]
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x138]
lea edx, [ebp + edx - 0x138]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x2c], edx
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ebx], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x10], edx
mov bl, byte [ebp + edx - 0x138]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x138]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x10]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x138]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x138]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x138]
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x28], dl
xor bl, dl
mov dl, byte [esi + 5]
mov byte [ebp - 0x20], bl
mov bl, byte [esi + 4]
add bl, 4
sub dl, 2
shl bl, 4
or dl, bl
mov byte [ebp - 0x18], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x138]
mov dl, byte [ebp + edx - 0x138]
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x138]
lea edx, [ebp + edx - 0x138]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x2c], edx
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ebx], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x10], edx
mov bl, byte [ebp + edx - 0x138]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x138]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x10]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x138]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x138]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x138]
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x28], dl
xor bl, dl
mov dl, byte [esi + 7]
mov byte [ebp - 0x20], bl
mov bl, byte [esi + 6]
add bl, 4
sub dl, 2
shl bl, 4
or dl, bl
mov byte [ebp - 0x18], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x138]
mov dl, byte [ebp + edx - 0x138]
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x138]
lea edx, [ebp + edx - 0x138]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
and ebx, 0xff
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ebx], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x10], edx
mov bl, byte [ebp + edx - 0x138]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x138]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x10]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x138]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x138]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x138]
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x28], dl
xor bl, dl
mov dl, byte [esi + 9]
mov byte [ebp - 0x20], bl
mov bl, byte [esi + 8]
add bl, 4
sub dl, 2
shl bl, 4
or dl, bl
mov byte [ebp - 0x18], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x138]
mov dl, byte [ebp + edx - 0x138]
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x138]
lea edx, [ebp + edx - 0x138]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x2c], edx
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ebx], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x10], edx
mov bl, byte [ebp + edx - 0x138]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x138]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x10]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x138]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x138]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x138]
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x28], dl
xor bl, dl
mov dl, byte [esi + 0xb]
mov byte [ebp - 0x20], bl
mov bl, byte [esi + 0xa]
add bl, 4
sub dl, 2
shl bl, 4
or dl, bl
mov byte [ebp - 0x18], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x138]
mov dl, byte [ebp + edx - 0x138]
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 4]
add al, bl
inc dl
mov byte [ebp - 0x1c], al
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x138]
lea edx, [ebp + edx - 0x138]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x2c], edx
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ebx], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x10], edx
add cl, byte [ebp + edx - 0x138]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dl, byte [ebp + edx - 0x138]
mov ebx, dword [ebp - 8]
mov bl, byte [ebx]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x10]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x138]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x138]
add edx, edi
mov edi, dword [ebp - 0xc]
and edx, 0xff
xor bl, byte [ebp + edx - 0x138]
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x28], dl
xor bl, dl
mov dl, byte [esi + 0xd]
mov byte [ebp - 0x20], bl
mov bl, byte [esi + 0xc]
mov esi, dword [ebp - 0x28]
add bl, 4
and esi, 0xff
sub dl, 2
shl bl, 4
lea esi, [ebp + esi - 0x138]
or dl, bl
mov byte [ebp - 0x18], dl
mov bl, byte [esi]
mov byte [ebp - 0x14], bl
mov bl, byte [edi]
add al, bl
mov bl, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov edi, dword [ebp - 0x1c]
and edi, 0xff
inc bl
mov byte [ebp - 4], bl
mov bl, byte [ebp + edi - 0x138]
lea edi, [ebp + edi - 0x138]
mov byte [esi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x2c], edi
lea ebx, [ebp + ebx - 0x138]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edi], bl
mov edi, dword [ebp - 4]
and edi, 0xff
mov bl, byte [ebp + edi - 0x138]
lea edi, [ebp + edi - 0x138]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
mov byte [edi], bl
mov edi, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
and edi, 0xff
mov bl, byte [ebp + edi - 0x138]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x24], cl
mov ecx, dword [ebp - 0x24]
mov bl, byte [ebx]
and ecx, 0xff
mov cl, byte [ebp + ecx - 0x138]
add ecx, ebx
mov bl, byte [esi]
add ecx, ebx
xor ebx, ebx
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x138]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx]
mov bl, byte [ebp + ebx - 0x138]
add ecx, edi
and ecx, 0xff
xor bl, byte [ebp + ecx - 0x138]
mov esi, dword [ebp - 0xc]
xor bl, dl
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x20], bl
mov bl, byte [esi]
add al, bl
and edx, 0xff
mov byte [ebp - 0x1c], al
mov al, byte [ebp - 4]
inc al
lea ecx, [ebp + edx - 0x138]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x1c]
mov dl, byte [ecx]
and eax, 0xff
mov bl, byte [ebp + eax - 0x138]
lea eax, [ebp + eax - 0x138]
mov byte [ecx], bl
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
mov bl, byte [ebp + ecx - 0x138]
lea ecx, [ebp + ecx - 0x138]
mov byte [eax], bl
mov eax, dword [ebp - 4]
and eax, 0xff
mov bl, byte [ebp + eax - 0x138]
lea eax, [ebp + eax - 0x138]
mov byte [ecx], bl
xor ebx, ebx
mov byte [eax], dl
cmp dword [ebp + 0x18], ebx
je 0x833555
lea ecx, [ebp - 0x58c]
push 0x104
push ecx
call fcn.00832ad0
add esp, 8
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x384]
push edx
push eax
call fcn.00841c3f
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x384]
push ecx
push edx
call fcn.00841c3f
add esp, 0x10
lea eax, [ebp - 0x384]
push eax
call dword [0x8d7914]
test eax, eax
je 0x8336c6
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xf92]
mov word [ebp - 0xf94], bx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0xf94]
push 0x8c8700
push ecx
stosw word es:[edi], ax
call fcn.00841c3f
lea edx, [ebp - 0x384]
lea eax, [ebp - 0xf94]
push edx
push eax
call fcn.00841c3f
lea ecx, [ebp - 0xf94]
push 0x8c86f8
push ecx
call fcn.00841c3f
lea edx, [ebp - 0x58c]
lea eax, [ebp - 0xf94]
push edx
push eax
call fcn.00841c3f
lea ecx, [ebp - 0xf94]
push 0x8c86f4
push ecx
call fcn.00841c3f
mov esi, dword [ebp + 0x14]
lea edx, [ebp - 0xf94]
push esi
push edx
call fcn.00841c3f
xor eax, eax
mov ecx, 0x11
mov dword [ebp - 0x38], eax
lea edi, [ebp - 0x17c]
mov dword [ebp - 0x34], eax
add esp, 0x30
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x17c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], eax
push ecx
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xf94]
push ebx
push eax
push ebx
mov dword [ebp - 0x17c], 0x44
call dword [0x8d7900]
cmp word [esi], bx
je 0x8336c6
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x792]
mov word [ebp - 0x794], bx
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, 0x18
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
call ebx
push eax
call edi
dec esi
jne 0x833683
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x794]
push ecx
push edx
call fcn.00841c3f
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x794]
push eax
push ecx
call fcn.00841c3f
lea edx, [ebp - 0x794]
push edx
call fcn.0040d8f0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret