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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov rax, qword [0x1800842c0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.1800357a0
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov r8, 0xffffffffffffffff
lea rdx, [0x180077d64]
mov rcx, qword [rsp + 0x320]
call fcn.1800246a0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0xf0]
call fcn.180021610
nop
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x180036467
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rdx, str..png
mov rcx, qword [rsp + 0x58]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x180036467
mov dword [rsp + 0x38], 1
jmp 0x18003646f
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x180036496
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x110]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1800364e6
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x130]
call fcn.180004630
nop
jmp 0x180036a7d
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x180036541
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
lea rdx, str..jpg
mov rcx, qword [rsp + 0x68]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x180036541
mov dword [rsp + 0x3c], 1
jmp 0x180036549
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x180036570
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x150]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1800365c0
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x170]
call fcn.180004630
nop
jmp 0x180036a7d
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x18003661b
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
lea rdx, str..ico
mov rcx, qword [rsp + 0x78]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x18003661b
mov dword [rsp + 0x40], 1
jmp 0x180036623
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x26], al
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
je 0x18003664a
and dword [rsp + 0x20], 0xfffffffb
lea rcx, [rsp + 0x190]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x1800366a0
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x1b0]
call fcn.180004630
nop
jmp 0x180036a7d
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x180036701
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
lea rdx, str..bmp
mov rcx, qword [rsp + 0x88]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x180036701
mov dword [rsp + 0x44], 1
jmp 0x180036709
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x20]
and eax, 8
test eax, eax
je 0x180036730
and dword [rsp + 0x20], 0xfffffff7
lea rcx, [rsp + 0x1d0]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x180036786
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x1f0]
call fcn.180004630
nop
jmp 0x180036a7d
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1800367e7
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
lea rdx, str..jfif
mov rcx, qword [rsp + 0x98]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x1800367e7
mov dword [rsp + 0x48], 1
jmp 0x1800367ef
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x180036816
and dword [rsp + 0x20], 0xffffffef
lea rcx, [rsp + 0x210]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x18003686c
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x230]
call fcn.180004630
nop
jmp 0x180036a7d
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1800368cd
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
lea rdx, str..jpeg
mov rcx, qword [rsp + 0xa8]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x1800368cd
mov dword [rsp + 0x4c], 1
jmp 0x1800368d5
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
je 0x1800368fc
and dword [rsp + 0x20], 0xffffffdf
lea rcx, [rsp + 0x250]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x180036952
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x270]
call fcn.180004630
nop
jmp 0x180036a7d
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1800369b3
mov r9, 0xffffffffffffffff
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x320]
call fcn.180024640
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
lea rdx, str..gif
mov rcx, qword [rsp + 0xb8]
call fcn.180011f40
movzx eax, al
test eax, eax
je 0x1800369b3
mov dword [rsp + 0x50], 1
jmp 0x1800369bb
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x2a], al
mov eax, dword [rsp + 0x20]
and eax, 0x40
test eax, eax
je 0x1800369e2
and dword [rsp + 0x20], 0xffffffbf
lea rcx, [rsp + 0x290]
call fcn.180004630
nop
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x180036a35
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x310]
call fcn.1800371d0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x2b0]
call fcn.180004630
nop
jmp 0x180036a7d
mov r8, qword [rsp + 0x320]
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x310]
call fcn.180037610
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call fcn.18000fb00
lea rcx, [rsp + 0x2d0]
call fcn.180004630
nop
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x318]
call fcn.1800037b0
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xf0]
call fcn.180004630
mov rax, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1800412e0
add rsp, 0x308
ret