Function at 0x4377d0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x20]
xor edx, edx
push esi
mov esi, dword [ecx + 0x30]
div esi
push edi
xor edx, edx
mov dword [esp + 0x2c], esi
mov edi, eax
mov eax, dword [ecx + 0x24]
div esi
test edi, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], eax
je 0x437afd
test eax, eax
je 0x437afd
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov al, byte [ecx + 0x29]
mov byte [esp + 0xa], al
mov al, byte [ecx + 0x2b]
mov dword [esp + 0x18], edx
mov dl, byte [ecx + 0x28]
mov byte [esp + 9], al
mov al, byte [ecx + 0x2d]
mov byte [esp + 0xf], dl
mov dl, byte [ecx + 0x2a]
mov byte [esp + 0x10], al
mov al, byte [ecx + 0xd]
mov byte [esp + 0xe], dl
mov dl, byte [ecx + 0x2c]
mov byte [esp + 0x11], al
mov al, byte [ecx + 0xf]
mov byte [esp + 8], dl
mov dl, byte [ecx + 0xc]
mov byte [esp + 0xd], al
mov al, byte [ecx + 0x11]
mov byte [esp + 0x13], dl
mov dl, byte [ecx + 0xe]
push ebx
mov ebx, dword [ecx + 0x1c]
mov byte [esp + 0x16], al
mov byte [esp + 0x10], dl
mov dl, byte [ecx + 0x10]
mov eax, ebx
imul eax, esi
mov byte [esp + 0xf], dl
mov edx, dword [ecx + 0x18]
push ebp
mov ebp, edx
imul edx, esi
sub ebp, eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ebp
mov ebp, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
imul ebp, eax
sub edx, ebp
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x2c]
imul edx, eax
mov edi, esi
imul edi, esi
sub ecx, edx
mov edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x84], ecx
jbe 0x437af0
mov dword [esp + 0x24], edx
lea ecx, [ecx]
test eax, eax
jbe 0x437ac9
movzx ecx, byte [esp + 0x1a]
movzx edx, byte [esp + 0x14]
mov dword [esp + 0x88], ecx
movzx ecx, byte [esp + 0x13]
mov dword [esp + 0x64], edx
movzx edx, byte [esp + 0x19]
mov dword [esp + 0x90], ecx
movzx ecx, byte [esp + 0x15]
mov dword [esp + 0x78], edx
movzx edx, byte [esp + 0x1b]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
xor eax, eax
test esi, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
jbe 0x437a2b
movzx ecx, byte [esp + 0x17]
movzx edx, byte [esp + 0x11]
mov dword [esp + 0x80], ecx
movzx ecx, byte [esp + 0x12]
mov dword [esp + 0x70], edx
movzx edx, byte [esp + 0x10]
mov dword [esp + 0x8c], ecx
movzx ecx, byte [esp + 0x16]
mov dword [esp + 0x94], edx
movzx edx, byte [esp + 0x18]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], esi
jmp 0x437980
mov esi, dword [esp + 0x34]
lea esp, [esp]
mov dword [esp + 0x3c], esi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x40], 0
mov esi, ebp
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
mov esi, edx
shr esi, cl
mov ecx, dword [esp + 0x70]
add ebp, ebx
shl esi, cl
mov ecx, dword [esp + 0x8c]
and esi, 0xff
add eax, esi
mov esi, edx
shr esi, cl
mov ecx, dword [esp + 0x94]
shl esi, cl
mov ecx, dword [esp + 0x50]
and esi, 0xff
add ecx, esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x68]
shr edx, cl
mov ecx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x3c]
and edx, 0xff
add esi, edx
dec ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], ecx
jne 0x437984
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add ebp, edx
dec ecx
mov dword [esp + 0x38], ecx
jne 0x437975
mov edi, dword [esp + 0x30]
mov ecx, esi
xor edx, edx
div edi
xor edx, edx
mov ebp, eax
mov eax, dword [esp + 0x50]
div edi
xor edx, edx
mov esi, eax
mov eax, ecx
div edi
mov ecx, dword [esp + 0x90]
shr esi, cl
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
shl esi, cl
mov ecx, dword [esp + 0x88]
shr eax, cl
mov ecx, dword [esp + 0x64]
shl eax, cl
mov ecx, dword [esp + 0x6c]
shr ebp, cl
mov ecx, dword [esp + 0x74]
or esi, eax
shl ebp, cl
mov ecx, dword [esp + 0x2c]
mov eax, ecx
shr ecx, 2
or esi, ebp
mov dword [esp + 0x28], esi
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov edx, eax
mov eax, dword [esp + 0x48]
add ecx, edx
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], eax
jne 0x437918
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x1c]
add ebp, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
add ebp, ecx
dec edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
jne 0x4378d0
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x88
ret
push 0x530474
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x5c], 0x534bf4
mov dword [esp + 0x60], 0x56
call fcn.0041ce50
add esp, 0xc
pop edi
xor al, al
pop esi
add esp, 0x88
ret