Function at 0x1800229d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x1800229f0
mov eax, 0xffffff9a
jmp 0x180022d62
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x1c], 0
jne 0x180022a0f
mov eax, 0xffffff9a
jmp 0x180022d62
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x80], 0
je 0x180022a28
mov rcx, qword [rsp + 0x70]
call fcn.180023330
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call fcn.1800226e0
test eax, eax
je 0x180022a4f
mov eax, 0xffffff99
jmp 0x180022d62
mov ecx, 0xb0
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180022a71
mov eax, 0xffffff98
jmp 0x180022d62
mov ecx, 0x4000
call qword [sym.imp.MSVCR90.dll_malloc]
mov r11, rax
mov rax, qword [rsp + 0x30]
mov qword [rax], r11
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x44]
mov dword [rcx + 0x68], eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x28]
mov dword [rcx + 0x6c], eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x70], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x180022ad3
cmp qword [rsp + 0x30], 0
je 0x180022ac9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll_free]
mov eax, 0xffffff98
jmp 0x180022d62
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x38], 0
je 0x180022aef
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x38], 0
jne 0x180022b04
mov dword [rsp + 0x50], 1
jmp 0x180022b0c
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x40]
mov dword [rcx + 0x78], eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x74], 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x38]
mov dword [rcx + 0x90], eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rcx + 0x88], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x24], 0
cmp dword [rsp + 0x3c], 0
jne 0x180022bc9
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x48], 0
mov rcx, qword [rsp + 0x30]
add rcx, 8
call fcn.180020740
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x180022bc9
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x64], 1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x44]
mov dword [rcx + 0x7c], eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x48]
mov dword [rcx + 0x80], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x34]
and eax, 1
test eax, eax
je 0x180022c05
mov dword [rsp + 0x54], 1
jmp 0x180022c0d
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rsp + 0x54]
mov byte [rcx + 0x98], al
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x34]
and eax, 8
test eax, eax
je 0x180022c36
mov dword [rsp + 0x58], 1
jmp 0x180022c3e
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x180022c6e
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 0x3c]
shr ecx, 8
and ecx, 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xac], cl
jmp 0x180022c84
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 0x40]
shr ecx, 0x18
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xac], cl
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x98]
test eax, eax
je 0x180022c9e
mov dword [rsp + 0x5c], 0xc
jmp 0x180022ca6
mov dword [rsp + 0x5c], 0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x5c]
mov dword [rcx + 0xa8], eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x9c], 0x12345678
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xa0], 0x23456789
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xa4], 0x34567890
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x180022cfc
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180022d2b
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
test eax, eax
je 0x180022d2b
mov rcx, qword [rsp + 0x30]
add rcx, 0x9c
mov rax, qword [rsp + 0x48]
movzx edx, byte [rax]
call fcn.180020140
jmp 0x180022cee
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 0x7c]
mov eax, dword [rsp + 0x38]
lea ecx, [rcx + rax + 0x1e]
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x60], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], 0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x80], rax
xor eax, eax
add rsp, 0x68
ret