Function at 0x82e800
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 [0x88f578]
fld qword [0x88f578]
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 [0x8b0848]
fsub st(1)
fxch st(1)
fmul qword [0x88f568]
fadd qword [0x8965e0]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8b0840]
fnstsw ax
test ah, 0x41
jne 0x82e883
fld st(0)
fmul qword [0x8b0838]
fsubp st(2)
fadd qword [0x88f548]
fcom qword [0x8b0830]
fnstsw ax
test ah, 1
jne 0x82e84a
fxch st(1)
fst qword [ebp - 0x30]
fxch st(1)
fstp st(0)
fcomp qword [0x88f578]
fnstsw ax
test ah, 1
je 0x82e8d1
jno 0x82e8ea
jl 0x82e92b
dec edx
pop esp
jb 0x82e8db
and byte [esi], dh
jno 0x82e922
push eax
dec edi
push 0x7b
lahf
adc byte [ecx - 0x5df360e9], ah
pop ss
mov dword [0xa9119c18], eax
push cs
mov byte [0x8e1e914], al
add byte [eax], al
mov dword [ebp - 0x1c], 0x82e8bc
mov dword [ebp - 0x24], 0x82e8ac
xor eax, eax
lodsb al, byte [esi]
call 0xc0b5e963
mov byte [ebp + eax - 0x138], al
inc eax
cmp eax, 0x100
add byte [ecx], al
add byte [eax], al
jb 0x82e8e1
fld qword [ebp - 0x30]
mov byte [ebp - 0x10], 0
mov eax, 0xff
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x18], eax
jmp 0x82e908
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, 1
cmp eax, ebx
jbe 0x82e91c
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x82e914
cmp edi, 3
ja case.default.0x82e921
jmp dword [edi*4 + 0x82f348]
and al, 0xbd
dec eax
add byte [eax], 0xd9
fld st(0)
and esi, 0xff
fld st(0)
and esi, 0xff
out 0xff, al
add byte [eax], al
add al, ch
scasd eax, dword es:[edi]
add byte [eax], al
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x138]
jmp 0x82e99d
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x138]
shr eax, 8
jmp 0x82e99d
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x138]
shr eax, 0x10
jmp 0x82e99d
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x138]
shr eax, 0x18
jmp 0x82e99d
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, 0x14
mov byte [ebp - 0x10], cl
jb 0x82e9b0
xor edi, edi
add cl, 0x14
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 0x82e9d0
mov eax, edx
xor edx, edx
div dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, edx
jb 0x82e91c
je 0x82ea0b
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 0x82e906
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
xor eax, eax
mov al, byte [esi]
mov dl, byte [esi + 1]
add al, 6
sub dl, 9
shl al, 4
or al, dl
mov cl, byte [ebp - 0x133]
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
xor edx, edx
mov byte [ebp - 0x20], bl
mov dl, byte [esi + 2]
mov bl, byte [esi + 3]
add dl, 6
sub bl, 9
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov byte [ebp - 0x18], bl
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, 6
sub dl, 9
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 - 4], dl
mov byte [ebp - 0x1c], al
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, 6
sub dl, 9
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 dword [ebp - 0x2c], edx
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
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, 6
sub dl, 9
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]
and edx, 0xff
lea edx, [ebp + edx - 0x138]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov ebx, dword [ebp - 8]
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, 6
sub dl, 9
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]
mov ebx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebx]
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
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, 6
and esi, 0xff
sub dl, 9
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]
add ecx, edi
mov bl, byte [ebp + ebx - 0x138]
mov esi, dword [ebp - 0xc]
and ecx, 0xff
xor bl, byte [ebp + ecx - 0x138]
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 0x82f1cb
lea ecx, [ebp - 0x58c]
push 0x104
push ecx
call fcn.0082e750
add esp, 8
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x384]
push edx
push eax
call fcn.0083e23f
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x384]
push ecx
push edx
call fcn.0083e23f
add esp, 0x10
lea eax, [ebp - 0x384]
push eax
call dword [0x8d3914]
test eax, eax
je 0x82f33c
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 0x8c4700
push ecx
stosw word es:[edi], ax
call fcn.0083e23f
lea edx, [ebp - 0x384]
lea eax, [ebp - 0xf94]
push edx
push eax
call fcn.0083e23f
lea ecx, [ebp - 0xf94]
push 0x8c46f8
push ecx
call fcn.0083e23f
lea edx, [ebp - 0x58c]
lea eax, [ebp - 0xf94]
push edx
push eax
call fcn.0083e23f
lea ecx, [ebp - 0xf94]
push 0x8c46f4
push ecx
call fcn.0083e23f
mov esi, dword [ebp + 0x14]
lea edx, [ebp - 0xf94]
push esi
push edx
call fcn.0083e23f
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 [0x8d3900]
cmp word [esi], bx
je 0x82f33c
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 0x82f2f9
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x794]
push ecx
push edx
call fcn.0083e23f
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x794]
push eax
push ecx
call fcn.0083e23f
lea edx, [ebp - 0x794]
push edx
call fcn.0040e4c0
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