Function at 0x41c440
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0xdc
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x9c], eax
mov ebx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xbc], esi
mov eax, dword [ebx + edx*4 + 0x64]
xor edx, edx
mov dword [ebp - 0xb8], edx
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], ecx
mov edi, dword [eax + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 0xa4], edi
cdq
idiv dword [esi + 8]
movzx ebx, byte [edi + 0x10]
mov dword [ebp - 0xb0], ebx
lea ebx, [ebp - 0x98]
test edx, edx
je 0x41c9d3
mov edi, esi
mov ecx, dword [ebp + 0x1c]
mov edx, dword [edi + 0x34]
mov esi, dword [esi + 0x30]
mov eax, dword [ebp + 0x18]
xor ecx, edx
mov edx, dword [ebp - 0x9c]
xor esi, eax
or ecx, esi
lea edi, [edx + 0x10]
jne 0x41c9d3
mov dword [esp], edi
lea ecx, [ebp - 0x98]
sub ebx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call fcn.00418910
mov esi, dword [ebp - 0xa0]
mov ecx, dword [esi]
sub ecx, ebx
mov ebx, dword [esi + 0x24]
test ebx, ebx
setne dl
xor eax, eax
cmp dword [ebp - 0xb0], 0xc0
sete al
test edx, eax
je 0x41c516
mov eax, 0x14
mov dword [ebp - 0xb8], eax
test ebx, ebx
je 0x41c52b
mov esi, dword [ebp - 0xa4]
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x41cc7a
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41c543
mov edx, dword [ebx + 4]
test edx, edx
je 0x41cc83
mov ebx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
add ebx, eax
sub ecx, ebx
test ecx, ecx
jle 0x41ccba
lea esi, [ecx - 6]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x20]
xor ecx, ecx
test edx, edx
je 0x41c584
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 0x28]
cmp eax, 1
sbb ebx, ebx
and ebx, 3
add ebx, 3
lea ecx, [ebx + 1]
mov ebx, dword [ebp + 0xc]
xor ebx, 0x80000000
or ebx, dword [ebp + 8]
je 0x41ca5e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
xor edx, eax
mov eax, dword [ebp + 0x10]
xor eax, ebx
or edx, eax
je 0x41cd37
add ecx, 0xa
mov dword [ebp - 0xcc], ecx
mov eax, esi
mov ecx, dword [ebp - 0xcc]
sub eax, ecx
cmp dword [ebp - 0xb0], 0xbf
mov dword [ebp - 0xa8], eax
jg 0x41ca47
dec eax
cmp dword [ebp - 0xb0], 0x3f
mov edx, 0x1bd
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], eax
jle 0x41c60b
sub eax, 3
cmp dword [ebp - 0xb0], 0x9f
mov dword [ebp - 0xa8], eax
jg 0x41cd90
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebx + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00410db0
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb4], edx
setle cl
xor ebx, 0x80000000
or eax, ebx
setne dl
movzx eax, dl
test ecx, eax
je 0x41c6f8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
xor edx, eax
mov eax, dword [ebp + 0x10]
xor eax, ebx
or edx, eax
je 0x41c671
mov ecx, 5
mov edx, dword [ebp + 0xc]
xor edx, 0x80000000
or edx, dword [ebp + 8]
je 0x41c693
mov eax, dword [ebp - 0xa0]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x41cd88
add ecx, 5
sub dword [ebp - 0xcc], ecx
mov ebx, dword [ebp - 0xa0]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], closesocket
mov edx, dword [ebx + 0x2c]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], closesocket
test edx, edx
je 0x41c6d3
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x38]
test eax, eax
jne 0x41cd7b
add dword [ebp - 0xa8], ecx
add dword [ebp - 0xb4], ecx
mov edx, dword [ebp + 0x20]
cmp dword [ebp - 0xa8], edx
jle 0x41c6f8
mov ecx, dword [ebp - 0xa8]
sub ecx, edx
add dword [ebp - 0xb4], ecx
mov ebx, dword [ebp - 0xbc]
dec ebx
cmp ebx, 6
ja 0x41c73a
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xbc]
add dword [ebp - 0xa8], ecx
add esi, edx
test eax, eax
js 0x41d055
mov ecx, dword [ebp - 0xbc]
add dword [ebp - 0xb4], ecx
xor ebx, ebx
mov dword [ebp - 0xbc], ebx
mov eax, dword [ebp - 0xb4]
test eax, eax
js 0x41c761
cmp dword [ebp - 0xb4], 0x10
jle 0x41c769
mov edx, dword [ebp - 0xb4]
add dword [ebp - 0xbc], edx
sub dword [ebp - 0xa8], edx
sub esi, edx
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0xb4]
xor edx, edx
mov ebx, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xa4]
sub ebx, ecx
mov ecx, dword [eax + 0x20]
jmp 0x41c7a0
mov eax, dword [ecx + 0x14]
xor edx, edx
cmp dword [ecx + 0x10], eax
mov ecx, dword [ecx + 0x1c]
sete dl
add dword [ebp - 0xc8], edx
sub ebx, eax
test ebx, ebx
jg 0x41c78a
mov dword [esp], edi
mov ebx, dword [ebp - 0xac]
mov dword [esp + 4], ebx
call fcn.00418d50
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00418f10
mov esi, dword [ebp - 0xa0]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x41c806
cmp eax, dword [ebp - 0xb4]
jge 0x41cd9e
mov ebx, dword [ebp - 0xb4]
mov dword [esp], edi
mov ecx, 0xff
mov dword [esp + 4], ecx
call fcn.004188e0
dec ebx
jne 0x41c7e1
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x41cd9e
mov dword [esp], edi
mov ebx, 0x80
mov dword [esp + 4], ebx
xor ebx, ebx
call fcn.004188e0
mov esi, dword [ebp + 0xc]
xor esi, 0x80000000
or esi, dword [ebp + 8]
je 0x41c845
mov edx, dword [ebp + 0x14]
mov ebx, 0x80
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, esi
xor eax, ecx
or edx, eax
je 0x41c845
mov ebx, 0xc0
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x41c855
or ebx, 1
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.004188e0
mov dword [esp], edi
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xb4]
lea esi, [eax + ecx - 3]
mov dword [esp + 4], esi
call fcn.004188e0
test ebx, 0x80
je 0x41c8f8
mov dword [esp], edi
mov edx, ebx
mov eax, dword [ebp + 0xc]
shr edx, 6
mov ecx, dword [ebp + 8]
and edx, 1
cmp edx, 1
sbb esi, esi
add esi, 3
shrd ecx, eax, 0x1e
and ecx, 7
shl esi, 4
add ecx, ecx
or esi, ecx
or esi, 1
mov dword [esp + 4], esi
call fcn.004188e0
mov dword [esp], edi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
shrd eax, edx, 0xf
and eax, 0x7fff
add eax, eax
or eax, 1
movzx ecx, ax
mov dword [esp + 4], ecx
call fcn.00418f10
mov dword [esp], edi
mov esi, dword [ebp + 8]
and esi, 0x7fff
add esi, esi
or esi, 1
movzx edx, si
mov dword [esp + 4], edx
call fcn.00418f10
test bl, 0x40
jne 0x41cfdb
test bl, 1
jne 0x41cf9c
mov edx, dword [ebp - 0xa0]
mov ebx, dword [edx + 0x20]
test ebx, ebx
jne 0x41ce94
cmp dword [ebp - 0xac], 0x1bd
je 0x41cedd
mov dword [esp], edi
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
add ecx, 4
mov dword [esp + 0xc], ecx
sub esi, edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
call fcn.00410fc0
test eax, eax
mov edx, 0xffffffff
js 0x41c9c6
mov esi, dword [ebp - 0xbc]
test esi, esi
jg 0x41ccd8
mov ebx, dword [ebp - 0xb8]
test ebx, ebx
je 0x41c994
mov ebx, dword [ebp - 0xb8]
mov dword [esp], edi
xor ecx, ecx
mov dword [esp + 4], ecx
call fcn.004188e0
dec ebx
jne 0x41c983
mov dword [esp], edi
call fcn.00418980
mov eax, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xc0]
inc dword [eax + 4]
test edi, edi
jne 0x41c9b8
mov edx, dword [ebp - 0xa4]
inc dword [edx + 0x28]
mov edx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xb4]
sub edx, esi
add esp, 0xdc
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 0x18]
lea edx, [ebp - 0x98]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x9c]
mov dword [esp], esi
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x98]
call fcn.0041ab40
mov ecx, dword [ebp - 0xa0]
add ebx, eax
mov esi, eax
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x30], edi
mov dword [ecx + 0x34], edx
test eax, eax
je 0x41ca69
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x28]
lea edi, [esi + 0x10]
test eax, eax
jne 0x41c4ce
mov edx, dword [ebp - 0xb0]
mov eax, esi
mov dword [esp], edx
mov edx, ebx
call fcn.0041b040
add ebx, eax
jmp 0x41c4ce
mov ebx, dword [ebp - 0xb0]
add ebx, 0x100
mov dword [ebp - 0xac], ebx
jmp 0x41c60b
cmp edx, 1
adc ecx, 0
jmp 0x41c5b1
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ecx + 0x2c]
test edi, edi
je 0x41cd3f
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x38]
test eax, eax
jne 0x41ca9b
mov ecx, dword [ecx + 4]
mov eax, dword [ebp - 0x9c]
test ecx, ecx
lea edi, [eax + 0x10]
jne 0x41c4ce
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx + 0x34]
mov edx, dword [edx + 4]
cmp ecx, edx
jb 0x41d060
sub ecx, edx
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
sub ecx, esi
mov esi, dword [ebp + 0xc]
lea edx, [ecx - 0xa]
xor esi, 0x80000000
or esi, dword [ebp + 8]
je 0x41caed
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor edx, eax
xor edi, esi
or edx, edi
je 0x41d07c
lea edx, [ecx - 0x14]
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x41cb08
mov esi, dword [ebp - 0xa0]
mov edi, dword [esi + 4]
test edi, edi
jne 0x41d084
mov dword [esp], 0
mov eax, dword [ebp - 0x9c]
mov edx, ebx
lea edi, [ebp - 0x98]
call fcn.0041b040
mov dword [esp + 4], edi
lea esi, [ebx + eax]
sub esi, edi
mov dword [esp + 8], esi
mov edi, dword [ebp - 0x9c]
xor ebx, ebx
add edi, 0x10
mov dword [esp], edi
call fcn.00418910
mov dword [esp], edi
mov eax, 0x1bf
mov dword [esp + 4], eax
call fcn.00418d50
mov dword [esp], edi
mov edx, 0x3d4
mov dword [esp + 4], edx
call fcn.00418f10
mov dword [esp + 4], ebx
mov ebx, 0x3d2
mov dword [esp], edi
call fcn.004188e0
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
xor edx, edx
mov dword [esp + 4], edx
call fcn.004188e0
dec ebx
jns 0x41cb80
mov dword [esp], edi
mov ecx, 0x1bf
mov ebx, 1
mov dword [esp + 4], ecx
call fcn.00418d50
mov dword [esp], edi
mov eax, 0x3fa
mov dword [esp + 4], eax
call fcn.00418f10
mov dword [esp + 4], ebx
mov ebx, 0x3f8
mov dword [esp], edi
call fcn.004188e0
lea esi, [esi]
mov dword [esp], edi
xor esi, esi
mov dword [esp + 4], esi
call fcn.004188e0
dec ebx
jns 0x41cbd0
xor esi, esi
lea ecx, [ebp - 0x98]
mov ebx, 0x80
mov dword [esp + 8], ebx
mov ebx, 0x15f90
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.00404910
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov esi, eax
inc dword [eax + 4]
mov dword [edx + 0x38], 0
mov eax, dword [eax]
imul ebx
mov ecx, eax
mov eax, 0x32
mov ebx, edx
imul dword [esi + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00672120
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 0x9c]
add ebx, dword [ebp + 0x18]
lea edx, [ebp - 0x98]
adc esi, dword [ebp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.0041ab40
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x30], ebx
lea ebx, [ebp - 0x98]
add ebx, eax
mov dword [edx + 0x34], esi
jmp 0x41c4ce
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41cc92
mov eax, 1
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xb8]
mov esi, ecx
mov eax, dword [ebp - 0xb8]
sub esi, edx
mov dword [ebp - 0xbc], esi
mov ebx, dword [ebp - 0xbc]
add ebx, eax
sub ecx, ebx
test ecx, ecx
jg 0x41c55b
mov esi, dword [ebp - 0xbc]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xa8], eax
test esi, esi
jle 0x41c973
mov eax, dword [ebp - 0x9c]
mov ecx, 0x1be
mov esi, dword [eax + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.00418d50
mov dword [esp], edi
mov ebx, dword [ebp - 0xbc]
sub ebx, 6
mov dword [esp + 4], ebx
call fcn.00418f10
mov edx, dword [esi + 0x20]
mov eax, ebx
test edx, edx
je 0x41cf33
test eax, eax
jle 0x41c973
mov ebx, eax
mov dword [esp], edi
mov esi, 0xff
mov dword [esp + 4], esi
call fcn.004188e0
dec ebx
jne 0x41cd1e
jmp 0x41c973
add ecx, 5
jmp 0x41c5b1
mov edi, dword [ebp - 0xa0]
mov eax, dword [edi + 4]
cdq
idiv dword [edi + 0xc]
mov eax, dword [ebp - 0x9c]
lea edi, [eax + 0x10]
test edx, edx
jne 0x41c4ce
mov dword [esp], 0
mov edx, ebx
call fcn.0041b040
mov esi, dword [ebp - 0x9c]
add ebx, eax
lea edi, [esi + 0x10]
jmp 0x41c4ce
add dword [ebp - 0xbc], ecx
sub esi, ecx
jmp 0x41c6d9
add ecx, 4
jmp 0x41c693
sub eax, 3
mov dword [ebp - 0xa8], eax
jmp 0x41c60b
mov ecx, dword [ebp + 0xc]
xor ecx, 0x80000000
or ecx, dword [ebp + 8]
je 0x41d03f
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor esi, edx
xor eax, ebx
or esi, eax
je 0x41cf52
mov dword [esp], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
shrd ecx, eax, 0x1e
and ecx, 7
add ecx, ecx
or ecx, 0x31
mov dword [esp + 4], ecx
call fcn.004188e0
mov dword [esp], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
shrd ebx, edx, 0xf
and ebx, 0x7fff
add ebx, ebx
or ebx, 1
movzx esi, bx
mov dword [esp + 4], esi
call fcn.00418f10
mov dword [esp], edi
mov eax, dword [ebp + 8]
and eax, 0x7fff
add eax, eax
or eax, 1
movzx ecx, ax
mov dword [esp + 4], ecx
call fcn.00418f10
mov dword [esp], edi
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
shrd ebx, edx, 0x1e
and ebx, 7
add ebx, ebx
or ebx, 0x11
mov dword [esp + 4], ebx
call fcn.004188e0
mov dword [esp], edi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
shrd eax, esi, 0xf
and eax, 0x7fff
add eax, eax
or eax, 1
movzx ecx, ax
mov dword [esp + 4], ecx
call fcn.00418f10
mov eax, dword [ebp + 0x10]
and eax, 0x7fff
add eax, eax
or eax, 1
movzx eax, ax
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00418f10
mov edx, dword [ebp - 0xa0]
mov ebx, dword [edx + 0x20]
test ebx, ebx
je 0x41c91b
mov dword [esp], edi
mov eax, 0xff
mov dword [esp + 4], eax
call fcn.004188e0
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
jle 0x41c91b
mov ebx, dword [ebp - 0xb4]
mov dword [esp], edi
mov esi, 0xff
mov dword [esp + 4], esi
call fcn.004188e0
dec ebx
jne 0x41ceb9
cmp dword [ebp - 0xac], 0x1bd
jne 0x41c92b
mov dword [esp], edi
mov ebx, dword [ebp - 0xb0]
mov dword [esp + 4], ebx
call fcn.004188e0
cmp dword [ebp - 0xb0], 0x9f
jg 0x41d0c6
cmp dword [ebp - 0xb0], 0x3f
jle 0x41c92b
mov dword [esp], edi
mov eax, dword [ebp - 0xc8]
mov dword [esp + 4], eax
call fcn.004188e0
mov dword [esp], edi
mov ecx, dword [ebp + 0x20]
inc ecx
mov dword [esp + 4], ecx
call fcn.00418f10
jmp 0x41c92b
mov dword [esp], edi
mov edx, 0xf
mov dword [esp + 4], edx
call fcn.004188e0
mov eax, dword [ebp - 0xbc]
sub eax, 7
jmp 0x41cd14
mov dword [esp], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
shrd ecx, eax, 0x1e
and ecx, 7
add ecx, ecx
or ecx, 0x21
mov dword [esp + 4], ecx
call fcn.004188e0
mov dword [esp], edi
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
shrd ebx, edx, 0xf
and ebx, 0x7fff
add ebx, ebx
or ebx, 1
movzx esi, bx
mov dword [esp + 4], esi
call fcn.00418f10
mov eax, dword [ebp + 8]
jmp 0x41ce6a
mov dword [esp], edi
mov ebx, 0x10
mov dword [esp + 4], ebx
call fcn.004188e0
cmp dword [ebp - 0xb0], 0xc0
je 0x41d0ac
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x14]
test eax, eax
js 0x41d129
sar eax, 0xa
or eax, 0x6000
jmp 0x41ce77
mov dword [esp], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
shrd ecx, eax, 0x1e
and ecx, 7
add ecx, ecx
or ecx, 0x11
mov dword [esp + 4], ecx
call fcn.004188e0
mov dword [esp], edi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
shrd esi, edx, 0xf
and esi, 0x7fff
add esi, esi
or esi, 1
movzx eax, si
mov dword [esp + 4], eax
call fcn.00418f10
mov dword [esp], edi
mov ecx, dword [ebp + 0x10]
and ecx, 0x7fff
add ecx, ecx
or ecx, 1
movzx esi, cx
mov dword [esp + 4], esi
call fcn.00418f10
jmp 0x41c901
mov dword [esp], edi
mov esi, 0xf
mov dword [esp + 4], esi
call fcn.004188e0
jmp 0x41c90a
mov dword [ebp - 0xb4], ecx
jmp 0x41c732
mov edi, dword [ebp - 0xa4]
mov eax, dword [edi + 0xc]
sub eax, edx
mov edx, dword [edi]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0xc4], eax
jmp 0x41cab7
lea edx, [ecx - 0xf]
jmp 0x41caed
cmp dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x9c]
lea edi, [eax + 0x10]
jge 0x41c4ce
mov ecx, dword [ebp - 0xc4]
sub edx, ecx
mov dword [ebp - 0xbc], edx
jmp 0x41c4ce
mov esi, dword [ebp - 0xa4]
mov eax, dword [esi + 0x14]
test eax, eax
js 0x41d133
sar eax, 7
or eax, 0x4000
jmp 0x41ce77
mov dword [esp], edi
mov esi, 7
mov dword [esp + 4], esi
call fcn.004188e0
mov dword [esp], edi
mov edx, 4
mov dword [esp + 4], edx
call fcn.00418f10
mov ebx, dword [ebp - 0xa4]
movzx eax, byte [ebx + 0x2c]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004188e0
mov esi, dword [ebp - 0xa4]
movzx ecx, byte [esi + 0x2d]
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.004188e0
movzx edx, byte [esi + 0x2e]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.004188e0
jmp 0x41c92b
add eax, 0x3ff
jmp 0x41cfce
add eax, 0x7f
jmp 0x41d0b9