Function at 0x483e80
Capabilities:
Check os version
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dc510
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x6c
cmp word [eax], 1
push ebx
push ebp
push esi
push edi
jne 0x4844e9
mov ebx, dword [esp + 0x94]
mov edi, dword [ebx]
mov eax, edi
lea edx, [eax + 2]
jmp 0x483ec0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483ec0
mov ecx, dword [0x51e670]
sub eax, edx
sar eax, 1
lea edx, [ecx + ecx]
cmp eax, edx
jne 0x4844e9
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483ee5
sub eax, edx
sar eax, 1
mov edx, eax
mov esi, edi
call fcn.0047e520
test al, al
je 0x4844e9
mov esi, dword [ebx + 4]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483f10
sub eax, edx
sar eax, 1
mov edx, eax
call fcn.0047e560
test al, al
je 0x4844e9
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov esi, edi
push ebp
lea edi, [esp + 0x28]
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 1
call fcn.0047e5e0
add esp, 4
test eax, eax
jne 0x4844d7
mov esi, dword [esp + 0x4c]
mov bl, byte [esi]
mov edi, dword [esp + 0x24]
inc esi
dec edi
mov eax, ebp
je 0x483f8a
xor bl, byte [eax + esi]
inc eax
cmp eax, edi
jb 0x483f82
push 0x50c66c
call fcn.004a4b10
add esp, 4
push eax
push edi
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0047a4c0
add esp, 0x10
test al, al
je 0x4844d7
mov ecx, dword [esp + 0x58]
mov edx, dword [0x516878]
lea eax, [ecx + 2]
mov cx, word [ecx]
mov dword [esp + 0x24], eax
lea eax, [eax + edx*2]
mov dword [esp + 0x28], eax
mov al, bl
and bl, 0xc0
sub cx, 0x20
mov byte [esp + 0x16], bl
movzx ebx, cx
and al, 0x3f
mov byte [esp + 0x17], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x94]
mov byte [esp + 0x84], 3
mov esi, dword [edx + 4]
push 1
lea edi, [esp + 0x24]
lea eax, [esp + 0x40]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], ebp
mov dword [esp + 0x1c], ebp
call fcn.0047e5e0
add esp, 4
test eax, eax
jne 0x4844c5
mov edi, dword [esp + 0x20]
cmp edi, ebp
jbe 0x48405c
lea ecx, [ecx]
mov ecx, dword [esp + 0x40]
xor byte [ecx + eax], bl
inc eax
cmp eax, edi
jb 0x484050
lea eax, [esp + 0x60]
push eax
push ebp
push 0x50c66c
call fcn.004a4b10
mov esi, dword [esp + 0x4c]
add esp, 4
push eax
push edi
push esi
push 4
push ebp
push ebp
push ebp
call fcn.00478d30
add esp, 0x24
test al, al
jne 0x4840f0
cmp esi, ebp
je 0x4840a3
mov ecx, dword [esp + 0x3c]
push ecx
push ebp
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
push edx
push ebp
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
add esp, 4
push eax
push ebp
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push ebp
push ebp
push 0x50c66c
call fcn.004a4b10
add esp, 4
push eax
push edi
push esi
push 2
push ebp
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00478d30
mov ecx, dword [esp + 0x48]
add esp, 0x24
mov byte [esp + 0x15], al
mov eax, dword [0x516878]
push eax
push 0x50ce48
push ecx
call fcn.004cbb84
add esp, 0xc
test eax, eax
jne 0x4844c5
mov edx, dword [0x516878]
mov eax, dword [esp + 0x34]
push edx
push 0x50ce48
push eax
call fcn.004cbb84
add esp, 0xc
test eax, eax
jne 0x4844c5
mov al, byte [esp + 0x16]
cmp al, 0x80
je 0x4841bd
cmp al, 0x40
je 0x4841bd
test al, al
jne 0x4844c5
movzx ecx, byte [esp + 0x17]
cmp ecx, dword [0x51645c]
je 0x484212
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x30]
call fcn.00413fb0
lea ecx, [esp + 0x48]
call fcn.00413fb0
lea ecx, [esp + 0x54]
call fcn.00413fb0
mov eax, 2
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
test al, al
je 0x484170
mov esi, dword [esp + 0xa4]
mov ecx, 0x51dcc0
call fcn.0046bfe0
test al, al
je 0x484170
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x30]
call fcn.00413fb0
lea ecx, [esp + 0x48]
call fcn.00413fb0
lea ecx, [esp + 0x54]
call fcn.00413fb0
mov eax, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov esi, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x1c], edx
mov cx, word [esi]
push 0x10
lea edx, [esp + 0x20]
push ebp
push edx
mov word [esp + 0x28], cx
call fcn.004cb28a
mov ecx, dword [esp + 0xa4]
add esp, 0xc
push 0x10
push ebp
add esi, 2
push esi
mov dword [ecx], eax
call fcn.004cb28a
mov edx, 0xfff
sub edx, eax
mov eax, dword [esp + 0x9c]
add esp, 0xc
mov esi, 0x51e5cc
mov word [eax], dx
call fcn.00414f70
movzx ecx, bx
and ecx, 0x80000001
jns 0x484277
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x484370
mov edx, dword [esp + 0x98]
xor ebx, ebx
cmp dword [edx], ebp
jle 0x484455
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
sub eax, ebp
mov dword [esp + 0x24], eax
jmp 0x4842b4
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x15], 0
je 0x4841d6
push 0
push 0
push 0x50c66c
call fcn.004a4b10
mov ecx, dword [esp + 0x24]
add esp, 4
push eax
mov eax, dword [esp + 0x4c]
push edi
push eax
push 1
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00478d30
mov byte [esp + 0x39], al
add esp, 0x24
lea eax, [esp + 0x30]
call fcn.00414e80
mov ecx, dword [esp + 0x34]
cmp word [ecx + eax*2 - 2], 0xa
lea eax, [ecx + eax*2 - 2]
jne 0x484312
xor edx, edx
mov word [eax], dx
mov esi, 0x51e5cc
call fcn.00414f30
lea edi, [esp + 0x30]
mov esi, eax
call fcn.00414130
mov ecx, dword [esp + 0x24]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [ebp], eax
mov eax, dword [esp + 0xac]
push 1
mov dword [ecx + ebp], eax
mov edx, dword [ebp]
push 0x4ec724
push 0x516468
push edx
xor eax, eax
call fcn.004ac860
mov eax, dword [esp + 0xb4]
inc ebx
add esp, 0x1c
add ebp, 4
cmp ebx, dword [eax]
jl 0x4842b0
jmp 0x484455
mov ecx, dword [esp + 0x98]
mov ebx, dword [ecx]
dec ebx
cmp ebx, 0xffffffff
jle 0x484455
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
sub eax, edx
lea ebp, [edx + ebx*4]
mov dword [esp + 0x24], eax
jmp 0x4843a4
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x15], 0
je 0x4841d6
push 0
push 0
push 0x50c66c
call fcn.004a4b10
mov ecx, dword [esp + 0x24]
add esp, 4
push eax
mov eax, dword [esp + 0x4c]
push edi
push eax
push 1
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00478d30
mov byte [esp + 0x39], al
add esp, 0x24
lea eax, [esp + 0x30]
call fcn.00414e80
mov ecx, dword [esp + 0x34]
cmp word [ecx + eax*2 - 2], 0xa
lea eax, [ecx + eax*2 - 2]
jne 0x484402
xor edx, edx
mov word [eax], dx
mov esi, 0x51e5cc
call fcn.00414f30
lea edi, [esp + 0x30]
mov esi, eax
call fcn.00414130
mov ecx, dword [esp + 0x24]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [ebp], eax
mov eax, dword [esp + 0xac]
push 1
mov dword [ecx + ebp], eax
mov edx, dword [ebp]
push 0x4ec724
push 0x516468
push edx
xor eax, eax
call fcn.004ac860
dec ebx
add esp, 0x1c
sub ebp, 4
cmp ebx, 0xffffffff
jg 0x4843a0
mov eax, dword [0x51dcc0]
mov edi, dword [esp + 0x2c]
mov byte [0x51e5d8], 1
mov word [0x51e5da], di
cmp eax, 1
je 0x48447b
cmp eax, 3
je 0x48447b
cmp eax, 4
jne 0x4844bb
mov esi, dword [esp + 0xa4]
mov ecx, 0x51dcc0
call fcn.0046bfa0
lea ecx, [edi*4]
or ecx, edi
add ecx, ecx
test al, al
mov eax, dword [esp + 0x90]
mov edx, 0xfff
jne 0x4844ab
add ecx, ecx
add ecx, ecx
xor cx, word [eax]
and cx, dx
mov word [eax], cx
mov byte [0x51e5d8], 0
mov eax, dword [esp + 0x8c]
mov byte [eax], 1
lea ecx, [esp + 0x3c]
call fcn.00413fb0
lea ecx, [esp + 0x30]
call fcn.00413fb0
lea ecx, [esp + 0x48]
call fcn.00413fb0
lea ecx, [esp + 0x54]
call fcn.00413fb0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret