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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x16c
mov edi, dword [esp + 0x188]
mov esi, dword [esp + 0x184]
cmp edi, 6
jbe 0x10004721
cmp byte [esi + 6], 0xbf
jle 0x1000472f
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 6
mov eax, edi
add eax, 0xfffffff9
je 0x10004717
cmp byte [esi + eax], 0xbf
jle 0x10004726
lea ecx, [esi + eax]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 7
cmp eax, 5
jbe 0x10004717
add esi, 6
add edi, 0xfffffff3
lea eax, [esp + 0x2c]
lea edx, [esp + 0x10]
mov dword [edx], eax
mov eax, 0x1008cc50
mov dword [edx + 4], eax
lea ecx, [esp + 0x34]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
lea ecx, [esp + 0x68]
mov dword [ecx], 0x10102b74
mov eax, 2
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x3c]
push ecx
push eax
call fcn.100cf940
add esp, 8
lea ebx, [esp + 0x48]
push edi
push esi
push 0x10102b84
push ebx
call fcn.100580cc
add esp, 0x10
cmp dword [ebx], 0x80000000
je 0x1000473f
mov edi, dword [esp + 0x50]
mov dword [esp + 0x5c], edi
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x54], xmm0
mov ebp, dword [esp + 0x44]
mov eax, 0xfffffeff
lea ecx, [eax + ebp]
cmp ecx, eax
jbe 0x1000474d
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x40]
push 0x102
push 0
lea eax, [esp + 0x70]
push eax
call fcn.100ea2f0
add esp, 0xc
xor eax, eax
mov byte [esp + eax + 0x68], al
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, 0x100
jne 0x10004567
xor ebx, ebx
xor ecx, ecx
mov al, byte [esp + ecx + 0x68]
mov byte [esp], al
add bl, al
mov eax, ecx
xor edx, edx
div ebp
add bl, byte [esi + edx]
movzx eax, bl
mov dl, byte [esp + eax + 0x68]
mov byte [esp + ecx + 0x68], dl
mov dl, byte [esp]
mov byte [esp + eax + 0x68], dl
inc ecx
cmp ecx, 0x100
jne 0x1000457c
push edi
mov ebx, dword [esp + 8]
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.1005a278
add esp, 0xc
cmp dword [esp + 0x18], edi
jne 0x1000475e
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x14]
lea eax, [ebx + edi]
lea ecx, [esp + 0x20]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
push ecx
call fcn.1009b340
add esp, 4
cmp eax, edi
mov dword [esp + 0xc], edi
cmovae eax, edi
test eax, eax
je 0x10004648
mov dl, byte [esp + 0x168]
mov cl, byte [esp + 0x169]
inc dl
movzx edx, dl
mov dword [esp], edx
xor esi, esi
mov ch, byte [ebx + esi]
mov edx, dword [esp]
lea ebx, [edx + esi]
movzx ebx, bl
mov dl, byte [esp + ebx + 0x68]
add cl, dl
mov edi, ebp
movzx ebp, cl
mov dh, byte [esp + ebp + 0x68]
mov byte [esp + ebx + 0x68], dh
mov byte [esp + ebp + 0x68], dl
mov ebp, edi
add dl, byte [esp + ebx + 0x68]
mov ebx, dword [esp + 4]
movzx edx, dl
xor ch, byte [esp + edx + 0x68]
mov byte [edi + esi], ch
inc esi
cmp eax, esi
jne 0x1000460c
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
push eax
push ebp
lea esi, [esp + 0x18]
push esi
call fcn.100cfb30
add esp, 0xc
lea eax, [esp + 0x60]
mov dword [eax], esi
mov dword [eax + 4], 0x100017b0
mov dword [esp + 0x68], 0x10102cc8
xor ecx, ecx
inc ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [esp + 0x68]
push eax
mov edi, dword [esp + 0x184]
push edi
call fcn.100cf940
add esp, 8
cmp dword [esp + 0x10], 0x80000000
je 0x100046c8
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
lea esi, [esp + 0x20]
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
lea esi, [esp + 0x54]
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
lea esi, [esp + 0x3c]
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
mov eax, edi
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10102b64
push eax
push 6
jmp 0x10004738
jne 0x1000472f
xor eax, eax
dec eax
push 0x10102b54
push edi
push eax
jmp 0x10004738
push 0x10102b44
push 6
push 0
push edi
push esi
call fcn.10101780
lea ecx, [esp + 0x48]
call fcn.10003d82
call fcn.100fe285
push 0x10102d24
push 0x41
push str.assertion_failed:__hbazsytur.is_empty____hbazsytur.len_____256
call fcn.10101280
push 0x10102d64
push 0x2d
push str.assertion_failed:_input.len____output.len__
call fcn.10101280