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

Disassembly:
mov eax, 0xb8
call fcn.10084230
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
xor ebx, ebx
shr ebp, 3
cmp ebp, 0x14
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], 2
je 0x10078d02
cmp ebp, 0x1c
je 0x10078d02
cmp ebp, 0x20
je 0x10078d02
pop ebp
xor eax, eax
pop ebx
add esp, 0xb8
ret
cmp dword [esp + 0xd0], ebx
jne 0x10078d17
call fcn.10040e70
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xc8]
cmp eax, 0x200
jae 0x10078d2a
mov eax, 0x200
mov ecx, dword [esp + 0xd8]
add eax, 0x3f
shr eax, 6
shl eax, 6
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0xd0], eax
je 0x10078d56
cmp ecx, ebp
jae 0x10078d56
xor esi, esi
mov dword [esp + 0xdc], esi
jmp 0x10078d5d
mov esi, dword [esp + 0xdc]
cmp ecx, ebp
jbe 0x10078d6a
mov ecx, ebp
mov dword [esp + 0xe0], ecx
cmp esi, ebx
je 0x10078d83
mov eax, ecx
lea edi, [esp + 0x88]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10032c40
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x2c], edi
je 0x10079436
call fcn.10028140
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x1007942d
push esi
call fcn.10028210
push esi
call fcn.10028360
push esi
mov dword [esp + 0x1c], eax
call fcn.10028360
push esi
mov dword [esp + 0x38], eax
call fcn.10028360
push esi
mov dword [esp + 0x48], eax
call fcn.10028360
push esi
mov dword [esp + 0x38], eax
call fcn.10028360
push esi
mov dword [esp + 0x4c], eax
call fcn.10028360
push esi
mov dword [esp + 0x64], eax
call fcn.10028360
push esi
mov dword [esp + 0x40], eax
call fcn.10028360
add esp, 0x24
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x10079416
mov ecx, dword [esp + 0xd0]
lea eax, [ecx - 1]
push eax
call fcn.10026d40
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.10037a70
add esp, 0xc
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0x40]
mov eax, ecx
inc ecx
push eax
mov eax, dword [esp + 0xf4]
push 0
push eax
mov dword [esp + 0x4c], ecx
call fcn.10048460
add esp, 0xc
test eax, eax
je 0x10079416
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x10078e77
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x10078e77
xor ebx, ebx
mov dword [esp + 0xe0], ebx
jmp 0x10078e95
lea ecx, [esp + 0x88]
push ebp
push ecx
call fcn.10028550
add esp, 8
test eax, eax
jle 0x10079416
mov ebx, 1
mov ecx, ebp
lea esi, [esp + 0x88]
mov edx, ecx
lea edi, [esp + 0x68]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
lea esi, [esp + 0x88]
mov eax, ecx
lea edi, [esp + 0xa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 1]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jl 0x10078ee4
mov cl, byte [esp + eax + 0x68]
inc cl
mov byte [esp + eax + 0x68], cl
jne 0x10078ee4
dec eax
jns 0x10078ed5
mov ecx, dword [esp + 0xd8]
push 0
push ecx
lea edx, [esp + 0x50]
push 0
push edx
lea eax, [esp + 0x98]
push ebp
push eax
call fcn.10049da0
add esp, 0x18
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0xd8]
push 0
push ecx
lea edx, [esp + 0xb0]
push 0
push edx
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10049da0
add esp, 0x18
test eax, eax
je 0x10079416
xor eax, eax
test ebp, ebp
jle 0x10078f54
mov cl, byte [esp + eax + 0xa8]
mov dl, byte [esp + eax + 0x48]
xor dl, cl
mov byte [esp + eax + 0x48], dl
inc eax
cmp eax, ebp
jl 0x10078f3e
mov dl, byte [esp + 0x48]
lea eax, [esp + 0x48]
or dl, 0x80
mov byte [esp + 0x48], dl
mov edx, dword [esp + 0x20]
mov cl, byte [esp + ebp + 0x47]
push edx
or cl, 1
push ebp
push eax
mov byte [esp + ebp + 0x53], cl
call fcn.10027260
add esp, 0xc
test eax, eax
je 0x10079416
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push esi
push ebx
push ecx
push 0x32
push edx
call fcn.10048ac0
add esp, 0x14
test eax, eax
jg 0x10078fb1
jne 0x10079416
jmp 0x10078e30
push 0
push 2
push esi
call fcn.10048460
add esp, 0xc
test eax, eax
je 0x10079416
mov eax, dword [esp + 0xf0]
push 0
push 3
push eax
call fcn.10048460
add esp, 0xc
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0xd0]
mov eax, 0xcccccccd
dec ecx
mov dword [esp + 0x24], 0
mul ecx
mov edi, dword [esp + 0x24]
mov ebx, edx
shr ebx, 7
test edi, edi
je 0x10079021
mov edx, dword [esp + 0xf0]
push edi
push 0
push edx
call fcn.10048460
add esp, 0xc
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x34]
push 0
push eax
call fcn.10027200
add esp, 8
xor esi, esi
test ebx, ebx
jl 0x100790dd
lea edi, [ebp - 1]
mov eax, edi
test eax, eax
jl 0x10079052
mov cl, byte [esp + eax + 0x68]
inc cl
mov byte [esp + eax + 0x68], cl
jne 0x10079052
dec eax
jns 0x10079043
mov ecx, dword [esp + 0xd8]
push 0
push ecx
lea edx, [esp + 0x50]
push 0
push edx
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.10049da0
add esp, 0x18
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
push ebp
push edx
call fcn.10027260
add esp, 0xc
test eax, eax
je 0x10079416
lea eax, [ebp*8]
imul eax, esi
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
call fcn.10037a70
add esp, 0xc
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
push ecx
push eax
push eax
call fcn.10029f40
add esp, 0xc
test eax, eax
je 0x10079416
inc esi
cmp esi, ebx
jle 0x1007903d
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0xd0]
lea eax, [edx - 1]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.100276b0
add esp, 8
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.10027130
add esp, 8
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x34]
push eax
push eax
call fcn.10029f40
add esp, 0xc
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.10037910
add esp, 8
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
push 0
call fcn.10033fe0
add esp, 0x14
test eax, eax
je 0x10079416
call fcn.10026d40
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.1002a210
add esp, 0xc
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.1002a210
add esp, 0xc
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.10027520
add esp, 8
test eax, eax
jl 0x100791ef
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0x18]
push edi
push 1
push ecx
push 0x32
push esi
call fcn.10048ac0
add esp, 0x14
test eax, eax
jg 0x10079205
jne 0x10079416
mov edi, dword [esp + 0x24]
inc edi
cmp edi, 0x1000
mov dword [esp + 0x24], edi
jl 0x10079002
jmp 0x10078e30
push 1
push 2
push edi
call fcn.10048460
add esp, 0xc
test eax, eax
je 0x10079416
call fcn.10026d40
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.1002a210
add esp, 0xc
test eax, eax
je 0x10079416
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push 0
push ecx
call fcn.10033fe0
add esp, 0x14
test eax, eax
je 0x10079416
mov edx, dword [esp + 0x14]
push 2
push edx
call fcn.10027200
add esp, 8
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.10032ce0
add esp, 0xc
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.100317f0
add esp, 0x18
test eax, eax
je 0x10079416
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 1
jne 0x10079331
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x10079331
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x10079331
call fcn.10026d40
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.10029f40
add esp, 0xc
test eax, eax
je 0x10079416
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
inc edi
push eax
push ecx
mov dword [esp + 0x50], edi
call fcn.100317f0
add esp, 0x18
test eax, eax
je 0x10079416
jmp 0x100792c4
mov edx, dword [esp + 0xf0]
push 1
push 3
push edx
call fcn.10048460
add esp, 0xc
test eax, eax
je 0x10079416
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x3c], 1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1007936c
push eax
call fcn.10026e90
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1007937c
push eax
call fcn.10026e90
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1007938c
push eax
call fcn.10026e90
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call fcn.10027070
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], eax
push ecx
call fcn.10027070
mov edx, dword [esp + 0x30]
mov dword [esi + 0x10], eax
push edx
call fcn.10027070
mov ecx, dword [esi + 0xc]
add esp, 0xc
test ecx, ecx
mov dword [esi + 0x14], eax
je 0x100793c8
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100793c8
test eax, eax
jne 0x100793d2
mov dword [esp + 0x3c], 0
jmp 0x10079416
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x100793e3
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0xec]
test eax, eax
je 0x100793f4
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov edi, dword [esp + 0xe4]
test edi, edi
je 0x10079416
mov ecx, ebp
lea esi, [esp + 0x88]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
push esi
call fcn.100282f0
push esi
call fcn.100281a0
mov edi, dword [esp + 0x34]
add esp, 8
push edi
call fcn.10032ca0
add esp, 4
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret