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

Disassembly:
push 0xffffffffffffffff
push 0x480191
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4a1824]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a1824]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd8]
mov esi, ecx
mov dword [esp + 0x30], eax
call fcn.00439db0
mov eax, dword [esp + 0xcc]
cmp eax, 0xffffffff
je 0x43a9b2
mov ecx, dword [esp + 0xc8]
mov edi, dword [0x4811c8]
push 0
lea ebp, [esi + 0xc8]
push ebp
push 0x2c
lea edx, [esp + 0x70]
push edx
push eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
call edi
test eax, eax
mov ebx, dword [0x4811ac]
jne 0x439ef8
lea ecx, [ecx]
push 0
call ebx
mov ecx, dword [esi + 0x24]
push 0
push ebp
push 0x2c
lea eax, [esp + 0x70]
push eax
push ecx
call edi
test eax, eax
je 0x439ee0
mov eax, 4
mov ecx, str.fMJ
lea edx, [esp + 0x64]
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x439f1e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x439f06
test eax, eax
je 0x439f7d
movzx ebp, byte [edx]
movzx ebx, byte [ecx]
sub ebp, ebx
jne 0x439f6d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x439f7d
movzx ebp, byte [edx]
movzx ebx, byte [ecx]
sub ebp, ebx
jne 0x439f6d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x439f7d
movzx ebp, byte [edx]
movzx ebx, byte [ecx]
sub ebp, ebx
jne 0x439f6d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x439f7d
movzx ebp, byte [edx]
movzx edx, byte [ecx]
sub ebp, edx
je 0x439f7d
xor ebx, ebx
cmp ebp, ebx
mov eax, 1
jg 0x439f81
or eax, 0xffffffff
jmp 0x439f81
xor eax, eax
xor ebx, ebx
cmp eax, ebx
je 0x439f91
mov ecx, esi
call fcn.00439db0
jmp 0x43a9b2
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x439fce
call fcn.00436920
test al, al
je 0x439fce
movzx eax, word [esp + 0x70]
sub eax, ebx
je 0x439fb8
sub eax, 1
je 0x43a0b6
sub eax, 1
jne 0x439fbf
mov byte [esi + 0x28], 0
mov dword [esi + 0x30], ebx
movzx eax, word [esp + 0x72]
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
movzx ecx, word [esp + 0x78]
movzx edx, word [esp + 0x6c]
movzx eax, word [esp + 0x6e]
mov dword [esi + 0x3c], ecx
movzx ecx, word [esp + 0x7e]
mov dword [esi + 0x18], edx
movzx edx, word [esp + 0x7a]
mov dword [esi + 0x1c], eax
movzx eax, word [esp + 0x7c]
mov dword [esi + 0x48], ecx
mov ecx, esi
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], eax
call fcn.00438bf0
mov ecx, dword [esp + 0x80]
add ecx, 0xffffffd4
xor ebp, ebp
add eax, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x84]
adc edx, ebp
cmp eax, 0x24
mov dword [esi + 0x54], edx
je 0x43a041
cmp dword [esp + 0x88], 4
jbe 0x43a041
mov dl, byte [esp + 0x8c]
and dl, 1
mov byte [esi + 0xc4], dl
add eax, 0xffffffd4
cdq
push edx
push eax
mov ecx, esi
call fcn.00438c30
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call fcn.00438510
mov ebp, dword [esi + 0x44]
xor ecx, ecx
mov eax, ebp
mov edx, 0x18
mul edx
seto cl
mov dword [esp + 0x34], ebx
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0xc0], ebx
je 0x43a0bf
push fcn.004399f0
push 0x4394c0
push ebp
lea ebx, [eax + 4]
push 0x18
push ebx
mov dword [eax], ebp
call fcn.00452bf2
mov eax, ebx
xor ebx, ebx
jmp 0x43a0c1
mov byte [esi + 0x28], 1
jmp 0x439fbc
xor eax, eax
cmp dword [esi + 0x44], ebx
mov dword [esp + 0xc0], 0xffffffff
mov dword [esi + 0x58], eax
mov dword [esp + 0x18], ebx
jle 0x43a1bc
mov dword [esp + 0x1c], 0
mov edx, dword [esi + 0x24]
push 0
lea ebp, [esi + 0xc8]
push ebp
push 0x14
lea ecx, [esp + 0x5c]
push ecx
push edx
call edi
test eax, eax
jne 0x43a11c
mov ebx, dword [0x4811ac]
push 0
call ebx
mov ecx, dword [esi + 0x24]
push 0
push ebp
push 0x14
lea eax, [esp + 0x5c]
push eax
push ecx
call edi
test eax, eax
je 0x43a104
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x58]
mov ebx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x54]
push eax
add ecx, ebx
call fcn.00439a60
mov ecx, dword [esi + 0x58]
add ecx, ebx
call fcn.00418510
cmp dword [esp + 0x2c], eax
jae 0x43a14c
call fcn.00418510
mov dword [esp + 0x2c], eax
xor ebx, ebx
cmp dword [esi + 0x40], ebx
jle 0x43a1a3
mov eax, dword [esi + 0x24]
push 0
push ebp
push 4
lea edx, [esp + 0x34]
push edx
push eax
call edi
test eax, eax
jne 0x43a183
push 0
call dword [0x4811ac]
mov edx, dword [esi + 0x24]
push 0
push ebp
push 4
lea ecx, [esp + 0x34]
push ecx
push edx
call edi
test eax, eax
je 0x43a167
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx + ecx + 0x14]
lea ecx, [eax + ebx*4]
call fcn.00438ab0
add ebx, 1
cmp ebx, dword [esi + 0x40]
jl 0x43a153
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x18
add eax, 1
cmp eax, dword [esi + 0x44]
mov dword [esp + 0x18], eax
jl 0x43a0e4
mov ebx, dword [esp + 0x30]
xor ebp, ebp
cmp ebx, ebp
mov dword [esi + 0xcc], ebp
je 0x43a31b
lea ecx, [esp + 0x20]
call fcn.00437740
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0xc4], 1
call fcn.004375c0
lea ecx, [esp + 0x20]
call fcn.00437320
push ebp
push 0x486358
lea ecx, [esp + 0x28]
call fcn.00437110
cmp eax, 1
jl 0x43a307
push 3
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004377b0
mov ecx, eax
mov byte [esp + 0xc0], 2
call fcn.0041ed20
push eax
lea ecx, [esp + 0x24]
call fcn.004375c0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 1
call fcn.004374b0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
call fcn.0041ed20
push eax
call dword [0x4810dc]
cmp ebp, dword [esi + 0x44]
jge 0x43a2b0
mov ebx, dword [esp + 0x18]
mov edi, dword [esi + 0x58]
lea ecx, [ecx]
xor eax, eax
push eax
push ebx
mov ecx, edi
call fcn.00438a80
add eax, dword [esi + 0x50]
mov ecx, esi
adc edx, dword [esi + 0x54]
push edx
push eax
call fcn.00438c90
test al, al
je 0x43a2a9
add ebp, 1
add edi, 0x18
cmp ebp, dword [esi + 0x44]
jl 0x43a280
mov ebx, dword [esp + 0x30]
cmp ebp, dword [esi + 0x44]
jne 0x43a307
mov ebp, dword [0x4811c4]
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push ebx
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a2f0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x43a307
mov eax, dword [esi + 0x24]
push eax
call dword [0x4811cc]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x24], edi
mov dword [esi + 0xcc], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc0], 0xffffffff
call fcn.004374b0
push 0x14
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc0], 3
je 0x43a357
push fcn.00438ae0
push 0x4394d0
push 2
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], 2
call fcn.00452bf2
jmp 0x43a359
xor edi, edi
mov dword [esi + 0x5c], edi
xor ebx, ebx
mov dword [esp + 0xc0], 0xffffffff
xor edi, edi
jmp 0x43a370
mov edx, dword [esi + 0x18]
imul edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x5c]
add edx, edx
push ebx
add edx, edx
push edx
add ecx, edi
call fcn.004394e0
add edi, 8
cmp edi, 0x10
jl 0x43a370
mov eax, 0x3f
cdq
idiv dword [esi + 0x40]
xor ecx, ecx
mov edx, 8
mov dword [esi + 0x60], ebx
mov edi, eax
mul edx
seto cl
mov dword [esi + 0x64], edi
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0xc0], 4
je 0x43a3f2
push fcn.00438ae0
push 0x4394d0
push edi
lea ebp, [eax + 4]
push 8
push ebp
mov dword [eax], edi
call fcn.00452bf2
jmp 0x43a3f4
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0x64], ebx
mov dword [esp + 0xc0], 0xffffffff
mov dword [esi + 0x68], ebp
jle 0x43a438
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov eax, dword [esi + 0xcc]
push eax
push 0
push eax
push ebx
push ebp
mov ecx, esi
call fcn.00438ce0
mov ecx, dword [esi + 0x68]
push eax
lea ecx, [ecx + edi*8]
call fcn.004394e0
add edi, 1
cmp edi, dword [esi + 0x64]
jl 0x43a40f
xor ebx, ebx
mov eax, dword [esi + 0x64]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov dword [esi + 0x6c], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00452d7b
mov dword [esi + 0xb0], eax
add esp, 4
xor eax, eax
cmp dword [esi + 0x64], ebx
jle 0x43a485
jmp 0x43a470
mov ecx, dword [esi + 0xb0]
mov dword [ecx + eax*4], 0xffffffff
add eax, 1
cmp eax, dword [esi + 0x64]
jl 0x43a470
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
push edx
push eax
mov ecx, esi
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
call fcn.00438d30
push ebx
push ebx
push ebx
lea ecx, [esi + 0x78]
call fcn.004383d0
push ebx
push ebx
push ebx
lea ecx, [esi + 0x7c]
call fcn.004383d0
push ebx
push ebx
push 1
push ebx
lea ecx, [esi + 0x80]
call fcn.004383a0
cmp byte [esi + 0x28], 0
je 0x43a744
mov edi, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
imul eax, edi
imul eax, dword [esi + 0x64]
cdq
idiv dword [esi + 0x3c]
mov ecx, dword [esi + 0x34]
xor ebp, ebp
lea edx, [esp + 0x34]
push 8
mov dword [esp + 0x94], 0x24
mov dword [esp + 0x98], 0x181c8
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], edx
mov word [esp + 0x38], 1
mov dword [esp + 0x3c], edi
mov word [esp + 0x46], 0x10
mov word [esp + 0x48], bp
imul eax, ecx
add eax, eax
mov dword [esp + 0x9c], eax
mov ax, cx
imul ecx, edi
add ecx, ecx
mov dword [esp + 0x40], ecx
mov cx, word [esi + 0x34]
add cx, cx
mov word [esp + 0x3a], ax
mov word [esp + 0x44], cx
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0xc0], 5
je 0x43a582
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x90]
push edx
push ecx
mov ecx, eax
call fcn.00436890
jmp 0x43a584
xor eax, eax
or edi, 0xffffffff
mov ecx, eax
mov dword [esp + 0xc0], edi
mov dword [esi + 0x84], eax
call fcn.00436920
test al, al
je 0x43a716
push 8
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0xc0], 6
je 0x43a5d0
mov edx, dword [esi + 0x84]
push edx
mov ecx, eax
call fcn.00436950
jmp 0x43a5d2
xor eax, eax
mov dword [esp + 0xc0], edi
mov edi, dword [esi + 0x40]
imul edi, dword [esi + 0x64]
mov dword [esi + 0x88], eax
add edi, 1
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0xc0], 7
je 0x43a63d
push fcn.00438390
push fcn.00438380
push edi
lea ebx, [eax + 4]
push 4
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x43a63f
xor ebx, ebx
mov eax, dword [esi + 0x40]
imul eax, dword [esi + 0x64]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
mov dword [esp + 0xc0], 0xffffffff
mov dword [esi + 0x8c], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00452d7b
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x40]
imul eax, dword [esi + 0x64]
add esp, 4
xor edi, edi
test eax, eax
jle 0x43a6eb
mov ecx, dword [esi + 0x8c]
push 0
push 0
push 1
lea ebp, [edi*4]
push 0
add ecx, ebp
call fcn.004383a0
mov ecx, dword [esi + 0x40]
imul ecx, dword [esi + 0x64]
lea ebx, [edi + 1]
mov eax, ebx
imul eax, dword [esp + 0x98]
xor edx, edx
div ecx
movzx edx, word [esp + 0x40]
mov ecx, dword [esi + 0x90]
sub eax, edx
mov dword [ecx + edi*8], eax
mov ecx, dword [esi + 0x8c]
add ecx, ebp
call fcn.0041ed20
mov edx, dword [esi + 0x90]
mov dword [edx + edi*8 + 4], eax
mov eax, dword [esi + 0x40]
imul eax, dword [esi + 0x64]
mov edi, ebx
cmp edi, eax
jl 0x43a683
mov ecx, dword [esi + 0x8c]
push 0
push 0
push 1
push 0
lea ecx, [ecx + edi*4]
call fcn.004383a0
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x88]
push edx
push edi
call fcn.004368e0
jmp 0x43a73a
mov edi, dword [esi + 0x84]
cmp edi, ebp
je 0x43a730
mov ecx, edi
call fcn.004368d0
push edi
call fcn.00452d18
add esp, 4
mov dword [esi + 0x84], ebp
mov byte [esi + 0x28], 0
cmp byte [esi + 0x28], 0
jne 0x43a7b9
push 0xc
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc0], 8
je 0x43a782
push fcn.00438390
push fcn.00438380
push 2
lea edi, [eax + 4]
push 4
push edi
mov dword [eax], 2
call fcn.00452bf2
mov ecx, edi
jmp 0x43a784
xor ecx, ecx
push 0
push 0
push 1
or ebp, 0xffffffff
push 0
mov dword [esp + 0xd0], ebp
mov dword [esi + 0x94], ecx
call fcn.004383a0
mov ecx, dword [esi + 0x94]
push 0
push 0
push 1
push 0
add ecx, 4
call fcn.004383a0
jmp 0x43a7bc
or ebp, 0xffffffff
push 0xc
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc0], 9
je 0x43a7fa
push fcn.00438390
push fcn.00438380
push 2
lea edi, [eax + 4]
push 4
push edi
mov dword [eax], 2
call fcn.00452bf2
mov ecx, edi
jmp 0x43a7fc
xor ecx, ecx
push 0
push 0
push 1
push 0
mov dword [esp + 0xd0], ebp
mov dword [esi + 0x98], ecx
call fcn.004383a0
mov ecx, dword [esi + 0x98]
push 0
push 0
push 1
push 0
add ecx, 4
call fcn.004383a0
mov edi, dword [esi + 0x64]
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc0], 0xa
je 0x43a883
push fcn.00438340
push fcn.00438380
push edi
lea ebx, [eax + 4]
push 4
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x43a885
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x64], edi
mov dword [esp + 0xc0], ebp
mov dword [esi + 0x9c], ebx
jle 0x43a8af
lea esp, [esp]
mov ecx, esi
call fcn.00439630
add edi, 1
cmp edi, dword [esi + 0x64]
jl 0x43a8a0
cmp byte [esi + 0x28], 0
lea eax, [esi + 0xc8]
push eax
push 0
push esi
je 0x43a921
push 0x439970
push 0
push 0
call dword [0x4810b4]
mov ecx, dword [esi + 0x84]
push 0xffffd8f0
mov dword [esi + 0xa4], eax
call fcn.004364a0
mov ecx, dword [esi + 0x84]
call fcn.004363d0
mov ecx, dword [esi + 0x84]
push 0
call fcn.00436350
mov ecx, dword [esi + 0x84]
push 1
call fcn.00436390
mov ecx, esi
call fcn.004393e0
mov ecx, dword [esi + 0xa4]
push 2
push ecx
call dword [0x4811d8]
jmp 0x43a95e
push 0x439990
push 0
push 0
call dword [0x4810b4]
mov dword [esi + 0xa8], eax
mov eax, 0x3e8
cdq
idiv dword [esi + 0x3c]
mov ecx, dword [esi + 0x94]
push 0x11
push esi
mov edi, eax
call fcn.0041ed20
push eax
push edi
push edi
call dword [0x48131c]
mov dword [esi + 0xac], eax
push 0xe00
call fcn.00452d7b
add esp, 4
mov dword [esi + 0xc0], eax
xor eax, eax
mov ebp, eax
xor ecx, ecx
shl ebp, 8
xor edi, edi
lea ebx, [eax + 1]
nop
mov eax, 0x88888889
imul edi
add edx, edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0xc0]
add edx, ebp
mov byte [edx + ecx], al
add ecx, 1
add edi, ebx
cmp ecx, 0x100
jl 0x43a980
mov eax, ebx
cmp eax, 0xe
jl 0x43a973
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00452be3
add esp, 0xb0
ret 0x14