Function at 0x4f11e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x7c]
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], edi
mov dword [esi + 0x8d60], 0
mov dword [esi + 0x8d64], 0
mov dword [edi + 0x8cdc], esi
cmp dword [esi + 0x6c], 1
seta al
cmp dword [edi + 0xc], 0
mov byte [edi + 0x8cd8], al
jne 0x4f1236
push 0x71dd00
call fcn.004e7f80
mov dword [edi + 0xc], eax
test eax, eax
je 0x4f1625
cmp dword [edi], 0
jne 0x4f125f
push 0x4659b0
call fcn.004e8020
mov dword [edi], eax
test eax, eax
je 0x4f1625
add eax, 0xdbba0
mov dword [edi + 4], eax
add eax, 0x1b7742
mov dword [edi + 8], eax
lea ebx, [esi + 0x10]
push 0x20000
mov ecx, ebx
mov dword [ebp - 0xc], ebx
call fcn.004dae90
test al, al
je 0x4f1625
push 0x20000
lea ecx, [esi + 0x40]
call fcn.004f0d60
test al, al
je 0x4f1625
mov eax, dword [ebp + 8]
mov ecx, ebx
mov dword [esi + 0x1c], eax
call fcn.004daf40
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 0x38]
lea ecx, [ebx + 8]
mov dword [esi + 0x54], eax
mov dword [ebp - 0x1c], ebx
call fcn.004f1030
push 8
mov dword [ebx], 8
mov ecx, ebx
mov byte [ebx + 4], 0
push 0x42
mov dword [esi + 0x78], 0
call fcn.004f2630
push 8
push 0x5a
mov ecx, ebx
call fcn.004f2630
push 8
push 0x68
mov ecx, ebx
call fcn.004f2630
mov al, byte [esi + 0x68]
mov ecx, ebx
add al, 0x30
push 8
movzx eax, al
push eax
call fcn.004f2630
mov ecx, dword [ebp - 0xc]
mov edi, dword [edi]
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jb 0x4f131b
lea eax, [ebp + 0xb]
push eax
call fcn.004db0d0
test al, al
je 0x4f1580
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
jmp 0x4f1323
mov dl, byte [eax]
inc eax
mov byte [ebp + 0xb], dl
mov dword [ecx], eax
add dword [esi + 0x8d60], 1
mov ebx, 1
adc dword [esi + 0x8d64], 0
imul eax, dword [esi + 0x68], 0x186a0
mov esi, ebx
mov byte [edi], dl
dec eax
mov dword [ebp - 0x10], eax
jmp 0x4f134a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jb 0x4f1366
lea eax, [ebp + 0xf]
push eax
call fcn.004db0d0
test al, al
je 0x4f13b5
mov dl, byte [ebp + 0xb]
mov cl, byte [ebp + 0xf]
jmp 0x4f1375
mov edi, dword [ebp - 8]
mov cl, byte [eax]
inc eax
mov byte [ebp + 0xf], cl
mov dword [edi + 0x10], eax
mov edi, dword [ebp - 0x14]
cmp cl, dl
je 0x4f1395
cmp ebx, 4
jb 0x4f1385
sub bl, 4
mov byte [esi + edi], bl
inc esi
mov dl, cl
mov byte [esi + edi], cl
inc esi
mov byte [ebp + 0xb], dl
mov ebx, 1
jmp 0x4f13b0
inc ebx
cmp ebx, 4
ja 0x4f13a1
mov byte [esi + edi], cl
inc esi
jmp 0x4f13b0
cmp ebx, 0x103
jne 0x4f13b0
mov byte [esi + edi], 0xff
inc esi
xor ebx, ebx
cmp esi, dword [ebp - 0x10]
jb 0x4f1347
cmp ebx, 4
jb 0x4f13c1
sub bl, 4
mov byte [esi + edi], bl
inc esi
test esi, esi
je 0x4f157a
mov edi, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 8
mov byte [ebp - 0x44], 0
mov eax, dword [edi + 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x8cdc]
mov dword [edi + 0x8cd4], 0
push dword [eax + 0x6c]
push esi
push dword [edi]
call fcn.004f1640
xor esi, esi
cmp dword [edi + 0x8cd4], esi
jbe 0x4f143d
lea edx, [edi + 0x7cd4]
nop word [eax + eax]
mov ecx, dword [edi + 0x8cdc]
lea edx, [edx + 4]
inc esi
mov eax, dword [ecx + 0x78]
rol eax, 1
xor eax, dword [edx - 4]
mov dword [ecx + 0x78], eax
cmp esi, dword [edi + 0x8cd4]
jb 0x4f1420
mov al, byte [ebp - 0x44]
mov esi, dword [edi + 8]
mov edx, dword [edi + 0x8cdc]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edx
lea ebx, [eax*8 + 8]
xor eax, eax
sub ebx, dword [ebp - 0x48]
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
shr ecx, 3
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4f14fc
mov ecx, dword [edx + 0x38]
nop word [eax + eax]
movzx eax, byte [eax + esi]
mov edi, 8
mov dword [ebp - 0x10], eax
nop dword [eax]
cmp edi, ecx
jb 0x4f14dd
mov esi, dword [edx + 0x44]
sub edi, ecx
mov ebx, eax
mov ecx, edi
shr ebx, cl
mov eax, ebx
shl eax, cl
lea ecx, [edx + 0x40]
sub dword [ebp - 0x10], eax
mov dl, byte [edx + 0x3c]
mov eax, dword [ecx]
or dl, bl
mov byte [esi + eax], dl
inc esi
mov dword [ecx + 4], esi
cmp esi, dword [ecx + 8]
jne 0x4f14c1
call fcn.004f0f70
mov edx, dword [ebp - 0x20]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x38], 8
mov byte [edx + 0x3c], 0
test edi, edi
jne 0x4f1490
jmp 0x4f14e7
sub ecx, edi
shl al, cl
or byte [edx + 0x3c], al
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x24]
jb 0x4f1480
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
movzx eax, byte [ebp - 1]
lea ecx, [edx + 0x38]
and ebx, 7
push ebx
push eax
call fcn.004f2630
cmp dword [ebp + 0x18], 0
mov esi, dword [ebp - 8]
lea ebx, [esi + 0x38]
je 0x4f12f3
mov edx, dword [ebp - 0xc]
xor eax, eax
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [edx]
sub ecx, dword [edx + 8]
add ecx, dword [edx + 0x20]
adc eax, eax
add ecx, dword [edx + 0x10]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebx + 8]
adc eax, dword [edx + 0x14]
mov dword [ebp - 0x38], eax
call fcn.004f0fd0
mov ecx, 0xf
sub ecx, dword [ebx]
shr ecx, 3
add eax, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
adc edx, 0
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x3c]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
je 0x4f12f3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
push 8
push 0x17
mov ecx, ebx
call fcn.004f2630
push 8
push 0x72
mov ecx, ebx
call fcn.004f2630
push 8
push 0x45
mov ecx, ebx
call fcn.004f2630
push 8
push 0x38
mov ecx, ebx
call fcn.004f2630
push 8
push 0x50
mov ecx, ebx
call fcn.004f2630
push 8
push 0x90
mov ecx, ebx
call fcn.004f2630
mov edi, dword [esi + 0x78]
xor esi, esi
nop word [eax + eax]
mov ecx, 3
mov eax, edi
sub ecx, esi
shl ecx, 3
shr eax, cl
mov ecx, ebx
push 8
movzx eax, al
push eax
call fcn.004f2630
inc esi
cmp esi, 4
jb 0x4f15d0
mov eax, dword [ebx]
cmp eax, 8
jae 0x4f1602
push eax
push 0
mov ecx, ebx
call fcn.004f2630
lea ecx, [ebx + 8]
call fcn.004f0de0
test eax, eax
jne 0x4f162a
mov ecx, dword [ebp - 8]
mov edx, 0x80004005
pop edi
pop esi
pop ebx
cmp byte [ecx + 0x2c], al
cmove eax, edx
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14