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

Disassembly:
mov eax, 0x117c
call fcn.102244a0
mov eax, dword [esp + 0x1180]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x100d9ed7
mov ebx, dword [esp + 0x119c]
cmp ebx, ebp
je 0x100d9ed7
mov eax, dword [esp + 0x11a0]
cmp eax, ebp
je 0x100d9ed7
mov esi, dword [esp + 0x1198]
mov edi, dword [esp + 0x1194]
lea ecx, [esp + 0x14]
push ebp
lea edx, [esp + 0x14]
push ecx
push edx
push 4
push 4
push eax
mov eax, dword [0x107ab964]
push esi
push edi
push eax
mov dword [esp + 0x34], ebp
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x100d9ed7
cmp dword [esp + 0x14], 4
jne 0x100d9ed7
cmp dword [esp + 0x10], ebp
je 0x100d9ed7
mov eax, dword [0x107ab964]
lea ecx, [esp + 0x14]
push ebp
lea edx, [esp + 0x190]
push ecx
push edx
push 0x1000
push 0x1000
push ebx
push esi
push edi
push eax
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x100d9ed7
cmp dword [esp + 0x14], 0x1000
jne 0x100d9ed7
xor eax, eax
cmp ebp, 0xffc
jae 0x100d9b10
mov ecx, dword [esp + eax + 0x18c]
add eax, 5
mov dword [esp + ebp + 0x18c], ecx
add ebp, 4
cmp eax, 0xffb
jb 0x100d9aed
mov ecx, 0x1000
xor eax, eax
sub ecx, ebp
lea edi, [esp + ebp + 0x18c]
mov edx, ecx
mov byte [esp + 0x18], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov ebx, 1
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18c]
push ebx
push eax
call fcn.10018570
mov edx, dword [esp + 0x18]
add esp, 8
xor eax, edx
cmp eax, 0xad5a704d
mov dword [esp + 0x1c], eax
je 0x100d9b62
inc ebx
cmp ebx, 0x20
jl 0x100d9b38
jmp 0x100d9b66
mov byte [esp + 0x18], bl
cmp ebx, 0x20
je 0x100d9ed7
mov al, byte [esp + 0x18]
test al, al
je 0x100d9ed7
lea edi, [ebp - 4]
xor esi, esi
test edi, edi
jle 0x100d9bb3
mov ebx, dword [esp + 0x18]
and ebx, 0xff
mov ecx, dword [esp + esi + 0x18c]
push ebx
push ecx
call fcn.10018570
mov edx, dword [esp + 0x18]
add esi, 4
xor eax, edx
add esp, 8
mov dword [esp + esi + 0x188], eax
cmp esi, edi
jl 0x100d9b8e
cmp dword [esp + 0x18c], 0xad5a704d
jne 0x100d9ed7
push 0x2000
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100d9ed7
add ebp, 0x10
cmp ebp, 0x1000
jae 0x100d9ecd
lea edx, [esp + 0x1c]
mov ecx, 0x800
xor eax, eax
mov edi, ebx
push edx
push 0x2000
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x198]
push ebp
push eax
call fcn.100116d0
add esp, 0x14
cmp eax, 0x400
jb 0x100d9ecd
cmp word [ebx], 0x5a4d
jne 0x100d9ecd
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x34]
mov dword [esp + 0x24], ecx
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x30], ecx
mov ecx, 0x18
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x94]
push 3
lea ecx, [esp + 0x110]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
push 0x2000
push ebx
call fcn.100254a0
add esp, 0x1c
test eax, eax
je 0x100d9ecd
cmp word [esp + 0x22], 4
jne 0x100d9ecd
cmp word [esp + 0x32], 0x102
jne 0x100d9ecd
cmp dword [esp + 0x24], 0x52000000
jb 0x100d9ecd
mov eax, dword [esp + 0x44]
cmp eax, 0x1b000
jb 0x100d9ecd
cmp eax, 0x5c000
ja 0x100d9ecd
mov eax, dword [esp + 0x38]
cmp eax, 0x3e000
jb 0x100d9ecd
cmp eax, 0x65000
ja 0x100d9ecd
mov eax, dword [esp + 0x3c]
cmp eax, 0x5000
jb 0x100d9ecd
cmp eax, 0x8000
ja 0x100d9ecd
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x100d9ecd
cmp byte [esp + 0x36], 0xc
jne 0x100d9ecd
mov al, byte [esp + 0x37]
test al, al
jne 0x100d9ecd
mov eax, 5
cmp word [esp + 0x5c], ax
jne 0x100d9ecd
mov edi, 1
cmp word [esp + 0x5e], di
jne 0x100d9ecd
cmp word [esp + 0x64], ax
jne 0x100d9ecd
cmp word [esp + 0x66], di
jne 0x100d9ecd
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x100d9ecd
cmp word [esp + 0x78], 2
jne 0x100d9ecd
cmp word [esp + 0x7a], 0x8100
jne 0x100d9ecd
mov eax, dword [esp + 0x118]
cmp eax, 0x150
jb 0x100d9ecd
cmp eax, 0x190
ja 0x100d9ecd
mov eax, dword [esp + 0x120]
test eax, eax
jne 0x100d9ecd
mov eax, dword [esp + 0x138]
cmp eax, 0x2000
jb 0x100d9ecd
cmp eax, 0x2800
ja 0x100d9ecd
mov eax, dword [esp + 0x170]
cmp eax, 0x550
jb 0x100d9ecd
cmp eax, 0x600
ja 0x100d9ecd
mov eax, dword [esp + 0xa4]
cmp eax, 0x3e000
jb 0x100d9ecd
cmp eax, 0x65000
ja 0x100d9ecd
cmp dword [esp + 0xb8], 0x60000020
jne 0x100d9ecd
cmp dword [esp + 0xcc], 0x400
jne 0x100d9ecd
cmp dword [esp + 0xe0], 0xc0000040
jne 0x100d9ecd
mov esi, 0x102274e8
lea eax, [esp + 0x94]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100d9e74
test cl, cl
je 0x100d9e70
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100d9e74
add eax, 2
add esi, 2
test cl, cl
jne 0x100d9e50
xor eax, eax
jmp 0x100d9e79
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100d9ecd
mov esi, 0x10233054
lea eax, [esp + 0xbc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100d9ead
test cl, cl
je 0x100d9ea9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100d9ead
add eax, 2
add esi, 2
test cl, cl
jne 0x100d9e89
xor eax, eax
jmp 0x100d9eb2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100d9ecd
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x117c
ret
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x117c
ret