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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b6f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov dword [esp + 0x28], edx
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0x14]
mov edi, dword [esi]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], eax
xor al, al
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], al
mov byte [esp + 0x12], al
mov byte [esp + 0x10], al
mov byte [esp + 0x13], al
mov byte [esp + 0x11], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
mov byte [esp + 0x15], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x1b], al
test ecx, ecx
je 0x10060231
mov edx, dword [ecx + 0x84]
jmp 0x10060233
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
test ax, ax
je 0x10060aea
test ecx, ecx
je 0x10060251
mov edx, dword [ecx + 0x84]
jmp 0x10060253
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx edx, ax
test ecx, ecx
je 0x10060273
mov al, byte [ecx + 0x88]
test al, al
je 0x10060273
mov eax, dword [ecx + 0xc]
jmp 0x10060275
xor eax, eax
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x10060288
mov ecx, dword [ecx + 0x84]
jmp 0x1006028a
xor ecx, ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x58]
push eax
push edx
call fcn.10097c50
mov edx, dword [esp + 0x2c]
mov cl, al
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x100602b3
mov dword [esp + 0x30], eax
test cl, cl
je 0x10060aea
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100602ce
mov ecx, dword [eax + 0x84]
jmp 0x100602d0
xor ecx, ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
push 0
call fcn.10097c50
mov edx, dword [esp + 0x2c]
mov cl, al
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x100602fc
mov edx, eax
mov dword [esp + 0x3c], edx
test cl, cl
je 0x10060aea
cmp dword [esp + 0x34], edx
ja 0x10060aea
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x12], 0x55
je 0x10060321
mov byte [esp + 0x17], 1
mov ecx, dword [ebx]
mov edx, dword [esi + 4]
lea eax, [ecx + 0xc8]
cmp eax, edx
ja 0x10060aea
cmp byte [esp + 0x17], 0
je 0x1006056d
cmp byte [ecx + edi], 0xe8
jne 0x10060aea
lea eax, [ecx + 5]
push eax
push edx
push dword [esi]
lea ecx, [esp + 0x90]
call fcn.1001d150
mov eax, dword [ebx]
lea esi, [eax + 5]
add eax, 0xc8
cmp esi, eax
jae 0x10060aea
mov edi, edi
movzx eax, byte [esi + edi]
add eax, 0xffffffa3
cmp eax, 0x8c
ja case.0x10060389.94
movzx eax, byte [eax + 0x10060c20]
jmp dword [eax*4 + 0x10060c0c]
mov byte [esp + 0x14], 1
jmp case.0x10060389.94
mov al, byte [esi + edi + 1]
cmp al, 0xed
jne 0x100603ac
mov byte [esp + 0x12], 1
jmp case.0x10060389.94
cmp al, 0xbd
jne case.0x10060389.94
cmp byte [esi + edi + 6], 0x4f
jne case.0x10060389.94
cmp byte [esi + edi + 7], 0x4d
jne case.0x10060389.94
cmp byte [esi + edi + 8], 0x45
jne case.0x10060389.94
cmp byte [esi + edi + 9], 0x4d
jne case.0x10060389.94
mov byte [esp + 0x10], 1
jmp case.0x10060389.94
cmp byte [esi + edi + 1], 0x85
jne case.0x10060389.94
cmp byte [esi + edi + 6], 0x4f
jne case.0x10060389.94
cmp byte [esi + edi + 7], 0x4d
jne case.0x10060389.94
cmp byte [esi + edi + 8], 0x45
jne case.0x10060389.94
cmp byte [esi + edi + 9], 0x4d
jne case.0x10060389.94
mov byte [esp + 0x13], 1
jmp case.0x10060389.94
mov edx, dword [esp + 0x24]
mov edi, esi
mov eax, dword [esi + edx + 1]
add esi, 5
add esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
lea eax, [esi + 0x14]
cmp eax, ecx
ja 0x10060aea
mov byte [esp + 0x11], 1
mov dword [esp + 0x148], 0x16a000e
mov dword [esp + 0x14c], 0x3680240
mov dword [esp + 0x150], 0x5300400
mov dword [esp + 0x154], 0x7000610
mov dword [esp + 0x158], 0x91c086a
mov dword [esp + 0x15c], 0xbc00a33
mov dword [esp + 0x160], 0xdff0c50
mov byte [esp + 0x164], 0x95
cmp esi, ecx
jae 0x100604d6
lea eax, [esp + 0x148]
sub ecx, esi
mov dword [esp + 0x38], eax
lea eax, [esi + edx]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.1001cbe0
test al, al
je 0x100604d6
mov byte [esp + 0x16], 1
add esi, 0xc8
jmp 0x100604d8
mov esi, edi
push esi
lea ecx, [esp + 0x88]
call fcn.1001d110
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x84]
call fcn.100ae1f0
test eax, eax
je 0x10060aea
add esi, eax
mov eax, dword [ebx]
add eax, 0xc8
cmp esi, eax
jb 0x10060370
mov al, byte [esp + 0x14]
test al, al
je 0x10060aea
mov al, byte [esp + 0x12]
test al, al
je 0x10060aea
mov al, byte [esp + 0x10]
test al, al
je 0x10060aea
mov al, byte [esp + 0x13]
test al, al
je 0x10060aea
mov al, byte [esp + 0x11]
test al, al
je 0x10060aea
mov al, byte [esp + 0x16]
test al, al
je 0x10060aea
mov eax, dword [esp + 0x50]
mov ecx, 1
mov word [eax], cx
mov al, cl
jmp 0x10060aec
push dword [esp + 0x34]
lea ecx, [esp + 0xe8]
push edx
push dword [esi]
call fcn.1001d150
mov eax, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ecx
cmp eax, ecx
jae 0x10060aea
lea esp, [esp]
cmp byte [ebx + edi], 0xff
jne 0x10060834
cmp byte [edi + ebx + 1], 0x15
jne 0x10060834
mov ecx, dword [esi]
add ecx, 2
add ecx, ebx
call fcn.1001ca30
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.100951f0
test al, al
je 0x10060aea
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x54]
jbe 0x100607de
cmp ecx, dword [esp + 0x30]
jae 0x100607de
add ecx, dword [esi]
call fcn.1001ca30
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.100951f0
test al, al
je 0x10060aea
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x54]
jbe 0x100607de
cmp ecx, dword [esp + 0x30]
jae 0x100607de
mov eax, dword [esi + 4]
lea ebx, [ecx + 0x3e8]
cmp ebx, eax
ja 0x10060aea
cmp byte [edi + ecx], 0x9c
jne 0x100607da
cmp byte [edi + ecx + 1], 0x60
jne 0x100607da
lea esi, [ecx + 2]
push esi
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x8c]
push dword [eax]
call fcn.1001d150
cmp esi, ebx
jae 0x100607d6
movzx eax, byte [esi + edi]
add eax, 0xffffffcb
cmp eax, 0xb6
ja case.0x1006069d.54
movzx eax, byte [eax + 0x10060cd4]
jmp dword [eax*4 + 0x10060cb0]
mov al, byte [edi + esi + 1]
test al, al
js case.0x1006069d.54
movzx eax, al
inc eax
add esi, eax
mov eax, esi
mov dword [esp + 0x60], eax
cmp esi, dword [esp + 0x30]
ja 0x10060aea
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x200]
cmp eax, dword [ecx + 4]
ja 0x10060aea
lea eax, [esi + 1]
mov byte [esp + 0x15], 1
push eax
lea ecx, [esp + 0x88]
call fcn.1001d110
jmp 0x100607cd
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
inc ecx
add ecx, esi
call fcn.1001ca30
mov dword [esp + 0x5c], eax
mov byte [esp + 0x1a], 1
jmp case.0x1006069d.54
mov eax, dword [esp + 0x20]
mov edx, 0x100
mov byte [esp + 0x1e], 1
mov eax, dword [eax]
movzx ecx, byte [eax + esi + 2]
movzx eax, byte [eax + esi + 1]
imul cx, dx
add cx, ax
movzx eax, cx
mov dword [esp + 0x4c], eax
jmp case.0x1006069d.54
mov byte [esp + 0x19], 1
jmp case.0x1006069d.54
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
inc ecx
add ecx, esi
call fcn.1001ca30
mov dword [esp + 0x58], eax
mov byte [esp + 0x1c], 1
jmp case.0x1006069d.54
mov byte [esp + 0x1d], 1
jmp case.0x1006069d.54
cmp byte [edi + esi + 1], 0xc7
jne case.0x1006069d.54
cmp byte [esi + edi + 2], 4
jne case.0x1006069d.54
mov byte [esp + 0x1f], 1
jmp case.0x1006069d.54
cmp byte [edi + esi + 1], 0xf2
jne case.0x1006069d.54
add esi, 0x3e8
mov byte [esp + 0x1b], 1
lea ecx, [esp + 0x84]
lea eax, [esi + 1]
push eax
call fcn.1001d110
cmp byte [esp + 0x15], 0
lea ecx, [esp + 0x84]
jne 0x100607bb
lea edx, [esp + 0x16]
call fcn.100ae1f0
test eax, eax
je 0x10060aea
dec esi
add esi, eax
jmp 0x100607cd
mov eax, dword [esp + 0x60]
mov esi, eax
inc eax
push eax
call fcn.1001d110
mov byte [esp + 0x15], 0
inc esi
cmp esi, ebx
jb 0x10060684
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x1a], 0
je 0x10060834
cmp byte [esp + 0x1e], 0
je 0x10060834
cmp byte [esp + 0x19], 0
je 0x10060834
cmp byte [esp + 0x1c], 0
je 0x10060834
cmp byte [esp + 0x1d], 0
je 0x10060834
cmp byte [esp + 0x1f], 0
je 0x10060834
cmp byte [esp + 0x1b], 0
je 0x10060834
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x18], 1
mov dword [eax], ebx
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
add ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.1001d110
lea edx, [esp + 0x17]
lea ecx, [esp + 0xe4]
call fcn.100ae1f0
dec eax
inc ebx
add ebx, eax
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x40]
jb 0x100605a0
mov al, byte [esp + 0x18]
test al, al
je 0x10060aea
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
sub eax, dword [esp + 0x44]
push 1
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.100951f0
test al, al
je 0x10060aea
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
test esi, esi
jne 0x1006089c
test ebx, ebx
je 0x10060aea
push 0x1700
lea ecx, [esp + 0x70]
call fcn.100940a0
mov dword [esp + 0x178], 0
mov eax, dword [esp + 0x20]
shl ebx, 2
mov eax, dword [eax]
lea edi, [eax + esi]
mov esi, dword [esp + 0x6c]
test ebx, ebx
je 0x10060930
mov ecx, esi
sub edi, esi
mov edx, ebx
nop
mov al, byte [edi + ecx]
mov byte [ecx], al
inc ecx
dec edx
jne 0x100608d0
test ebx, ebx
je 0x10060930
lea edi, [ebx - 1]
mov ebx, dword [esp + 0x58]
shr edi, 2
lea edx, [esi + 3]
inc edi
jmp 0x100608f0
movzx ecx, byte [edx]
movzx eax, byte [edx - 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
add ecx, eax
xor ecx, ebx
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx - 1], al
mov eax, ecx
shr eax, 8
mov byte [edx - 2], al
mov byte [edx - 3], cl
add edx, 4
dec edi
jne 0x100608f0
cmp byte [esi], 0xe8
jne 0x10060abd
mov ebx, dword [esp + 0x30]
mov edi, 1
movzx eax, byte [esi + edi]
add eax, 0xffffffa3
cmp eax, 0x8c
ja case.default.0x1006095b
movzx eax, byte [eax + 0x10060da0]
jmp dword [eax*4 + 0x10060d8c]
mov cl, 1
mov byte [esp + 0x14], cl
jmp 0x10060a19
mov al, byte [esi + edi + 1]
cmp al, 0xed
jne 0x10060987
mov cl, byte [esp + 0x14]
mov ah, 1
mov byte [esp + 0x12], ah
add edi, 5
jmp 0x10060a1d
cmp al, 0xbd
jne case.0x1006095b.94
cmp byte [esi + edi + 6], 0x4f
jne case.0x1006095b.94
cmp byte [esi + edi + 7], 0x4d
jne case.0x1006095b.94
cmp byte [esi + edi + 8], 0x45
jne case.0x1006095b.94
cmp byte [esi + edi + 9], 0x4d
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x13]
mov ah, byte [esp + 0x12]
jne 0x10060bbc
mov ch, 1
add edi, 9
mov byte [esp + 0x10], ch
jmp 0x10060a29
mov ecx, dword [esp + 0x64]
mov al, byte [esi + edi + 1]
inc ecx
mov dword [esp + 0x64], ecx
cmp al, 0x85
jne case.0x1006095b.94
cmp ecx, 1
jne 0x10060b10
movzx ecx, byte [esi + edi + 9]
movzx eax, byte [esi + edi + 8]
shl cx, 8
or cx, ax
movzx eax, byte [esi + edi + 6]
movzx edx, cx
movzx ecx, byte [esi + edi + 7]
shl cx, 8
or cx, ax
shl edx, 0x10
movzx eax, cx
or eax, edx
mov dword [esp + 0x38], eax
mov cl, byte [esp + 0x14]
mov ah, byte [esp + 0x12]
mov al, byte [esp + 0x11]
mov ch, byte [esp + 0x10]
mov dl, byte [esp + 0x13]
inc edi
cmp edi, 0xc8
jb 0x10060942
test cl, cl
je 0x10060abd
test ah, ah
je 0x10060abd
test ch, ch
je 0x10060abd
test dl, dl
je 0x10060abd
test al, al
je 0x10060abd
xor eax, eax
cmp byte [esi + eax], 0x6a
jne 0x10060ab5
cmp byte [esi + eax + 1], 0x40
jne 0x10060ab5
cmp byte [esi + eax + 2], 0x68
jne 0x10060ab5
cmp byte [esi + eax + 3], 0
jne 0x10060ab5
cmp byte [esi + eax + 4], 0x30
jne 0x10060ab5
cmp byte [esi + eax + 5], 0x10
jne 0x10060ab5
cmp byte [esi + eax + 6], 0
jne 0x10060ab5
cmp byte [esi + eax + 7], 0x6a
jne 0x10060ab5
cmp byte [esi + eax + 8], 0x1c
jne 0x10060ab5
cmp byte [esi + eax + 9], 0x33
jne 0x10060ab5
cmp byte [esi + eax + 0xa], 0xc0
jne 0x10060ab5
cmp byte [esi + eax + 0xb], 0x50
jne 0x10060ab5
cmp byte [esi + eax + 0xc], 0xff
jne 0x10060ab5
cmp byte [esi + eax + 0xd], 0x95
je 0x10060bc9
inc eax
cmp eax, 0x12ec
jb 0x10060a50
mov dword [esp + 0x178], 0xffffffff
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
xor al, al
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret
cmp al, 0x85
jne case.0x1006095b.94
cmp byte [esi + edi + 6], 0x4f
jne case.0x1006095b.94
cmp byte [esi + edi + 7], 0x4d
jne case.0x1006095b.94
cmp byte [esi + edi + 8], 0x45
jne case.0x1006095b.94
cmp byte [esi + edi + 9], 0x4d
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x14]
mov ah, byte [esp + 0x12]
mov ch, byte [esp + 0x10]
jne 0x10060a25
mov dl, 1
add edi, 9
mov byte [esp + 0x13], dl
jmp 0x10060a29
movzx ecx, byte [esi + edi + 4]
movzx eax, byte [esi + edi + 3]
shl cx, 8
or cx, ax
movzx eax, byte [esi + edi + 1]
movzx edx, cx
movzx ecx, byte [esi + edi + 2]
shl cx, 8
or cx, ax
shl edx, 0x10
movzx eax, cx
or eax, edx
cmp eax, ebx
jae 0x10060bc5
mov cl, byte [esp + 0x14]
mov al, 1
mov ah, byte [esp + 0x12]
add edi, 0xc8
mov byte [esp + 0x11], al
jmp 0x10060a21
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x13]
mov ah, byte [esp + 0x12]
mov ch, byte [esp + 0x10]
jmp 0x10060a29
xor bl, bl
jmp 0x10060bee
mov ecx, dword [esp + 0x68]
mov bl, 1
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x48]
add eax, 0xfffffffc
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [esp + 0x50]
mov word [eax], cx
mov dword [esp + 0x178], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.100941a0
mov al, bl
jmp 0x10060aec