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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x44]
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.0362a210
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp eax, 0x10103e84
jne 0x364a191
push eax
lea ecx, [esp + 0x20]
call fcn.0362a270
mov esi, dword [esp + 0x1c]
xor eax, eax
mov word [esi], ax
jmp 0x364a1c7
xor esi, esi
mov eax, 0x10103e84
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x364a198
push esi
lea ecx, [esp + 0x20]
call fcn.0362a270
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x1c]
push eax
push 0x10103e84
push esi
call fcn.037136d0
add esp, 0xc
push 0x10103f64
push ecx
push dword [0x1011f640]
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc4]
call fcn.03635d40
add esp, 8
lea ecx, [esp + 0xb0]
mov edx, eax
call fcn.03629370
mov ecx, dword [esp + 0xbc]
add esp, 4
test ecx, ecx
je 0x364a228
call fcn.03707920
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
test esi, esi
je 0x364a24b
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push 0x100f8728
lea edx, [esp + 0xb0]
lea ecx, [esp + 0xe0]
call fcn.03629370
xor esi, esi
add esp, 4
xor ecx, ecx
mov edx, dword [eax]
mov eax, edx
cmp si, word [edx]
je 0x364a27e
lea eax, [eax + 2]
xor esi, esi
inc ecx
cmp si, word [eax]
jne 0x364a273
push ecx
push ecx
mov ecx, edi
call fcn.0366ed70
add esp, 8
test eax, eax
je 0x364a2a9
mov edx, dword [esp + 0xac]
push ecx
mov ecx, edi
call fcn.0366ed00
add esp, 4
mov byte [esp + 0xf], 0
test eax, eax
jne 0x364a2ae
mov byte [esp + 0xf], 1
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x364a2df
call fcn.03707920
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
cmp byte [esp + 0xf], 0
je 0x364a4bf
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [edi + eax*2]
push eax
call fcn.0362a210
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x44]
push esi
call fcn.0362a210
test esi, esi
je 0x364a347
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
cmp eax, 0x10103e84
jne 0x364a37d
push eax
lea ecx, [esp + 0x2c]
call fcn.0362a270
mov esi, dword [esp + 0x28]
xor eax, eax
mov word [esi], ax
jmp 0x364a3b3
xor esi, esi
mov eax, 0x10103e84
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x364a384
push esi
lea ecx, [esp + 0x2c]
call fcn.0362a270
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x28]
push eax
push 0x10103e84
push esi
call fcn.037136d0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push ecx
push 0x10103f78
push ecx
push dword [0x1011f640]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xd8]
call fcn.03635d40
add esp, 8
lea ecx, [esp + 0xa0]
mov edx, eax
call fcn.03629370
add esp, 8
lea ecx, [esp + 0xd4]
mov edx, eax
call fcn.03635d40
add esp, 4
lea ecx, [esp + 0x44]
push dword [eax]
call fcn.0362a210
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x364a436
call fcn.03707920
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x364a467
call fcn.03707920
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x364a498
call fcn.03707920
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
test esi, esi
je 0x364a4bb
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cmp eax, 0x10103e84
jne 0x364a4f5
push eax
lea ecx, [esp + 0x38]
call fcn.0362a270
mov esi, dword [esp + 0x34]
xor eax, eax
mov word [esi], ax
jmp 0x364a52f
xor esi, esi
mov eax, 0x10103e84
lea esp, [esp]
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x364a500
push esi
lea ecx, [esp + 0x38]
call fcn.0362a270
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x34]
push eax
push 0x10103e84
push esi
call fcn.037136d0
add esp, 0xc
push dword [0x1011f640]
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa4]
call fcn.03635d40
add esp, 4
mov dword [esp + 0xe8], 0x80000001
lea ecx, [esp + 0xec]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
push dword [eax]
call fcn.0362a210
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x364a5b3
call fcn.03707920
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
test esi, esi
je 0x364a5d6
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
push 0x10103ea4
lea ecx, [esp + 0x100]
mov dword [esp + 0xfc], 0x80000003
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
call fcn.0362a210
push 0x10103fa0
lea ecx, [esp + 0x110]
mov dword [esp + 0x10c], 0x80000005
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
call fcn.0362a210
push 0x10103ec4
lea ecx, [esp + 0x120]
mov dword [esp + 0x11c], 0x80000002
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
call fcn.0362a210
lea eax, [esp + 0xec]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [eax]
push eax
mov dword [esp + 0x44], eax
call dword [0x100f523c]
push edi
mov esi, eax
call dword [0x100f523c]
cmp eax, esi
jl 0x364a712
push dword [esp + 0x40]
call dword [0x100f523c]
inc eax
mov esi, 0
mov dword [esp + 0x10], eax
mov ecx, esi
je 0x364a6eb
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, dword [esp + 0x10]
mov esi, eax
push ecx
push edi
push esi
call dword [0x100f5074]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0366ed00
add esp, 4
test eax, eax
je 0x364a771
test esi, esi
je 0x364a712
mov ecx, esi
call fcn.03707920
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ecx, 4
jb 0x364a6a0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [eax], 0
test edi, edi
jne 0x364a849
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x18], edi
call fcn.03707920
xor eax, eax
mov word [edi], ax
jmp 0x364a899
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx - 4]
push dword [edx]
mov dword [eax], ecx
call dword [0x100f523c]
mov ecx, 0x5c
cmp cx, word [edi + eax*2]
lea eax, [edi + eax*2]
jne 0x364a7ea
add eax, 2
mov dword [esp + 0x50], 0
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.0362a210
mov edi, dword [esp + 0x50]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0362a210
test edi, edi
je 0x364a83c
mov ecx, edi
call fcn.03707920
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
jmp 0x364a83c
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.0362a210
mov edi, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0362a210
test edi, edi
je 0x364a83c
mov ecx, edi
call fcn.03707920
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
test esi, esi
je 0x364a99d
jmp 0x364a996
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x364a85d
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x364a852
xor ecx, ecx
lea eax, [esi + 0x100]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov dword [esp + 0x18], eax
call fcn.03707920
lea eax, [esi*2 + 2]
push eax
push edi
mov edi, dword [esp + 0x20]
push edi
call fcn.037136d0
add esp, 0xc
test edi, edi
jne 0x364a905
mov esi, dword [ebp + 0x10]
cmp dword [esi + 8], edi
ja 0x364a8f2
mov edi, dword [esi]
xor ecx, ecx
mov eax, 0x100
mov dword [esi + 8], 0xff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov dword [esp + 0x10], eax
test edi, edi
je 0x364a8e5
mov edx, dword [esi + 4]
lea edx, [edx*2 + 2]
push edx
push edi
push eax
call fcn.037136d0
add esp, 0xc
mov ecx, edi
call fcn.03707920
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 4], 0
mov word [eax], cx
jmp 0x364a99d
xor ecx, ecx
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x364a91b
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x364a910
mov edi, dword [ebp + 0x10]
cmp esi, dword [edi + 8]
jb 0x364a97c
mov ecx, dword [edi]
lea eax, [esi + 0xff]
mov dword [esp + 0x14], ecx
mov edx, 2
mov dword [edi + 8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x364a96f
mov edx, dword [edi + 4]
lea edx, [edx*2 + 2]
push edx
push eax
push ecx
call fcn.037136d0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, eax
call fcn.03707920
mov eax, dword [esp + 0x10]
mov dword [edi], eax
lea eax, [esi*2 + 2]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x18]
push eax
push esi
push dword [edi]
call fcn.037136d0
add esp, 0xc
mov ecx, esi
call fcn.03707920
mov eax, 3
lea esi, [esp + 0x12c]
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov edi, dword [esi - 0x10]
lea esi, [esi - 0x10]
test edi, edi
je 0x364aae0
mov dword [esp + 0x134], 0
lea eax, [esp + 0x74]
mov dword [esp + 0x13c], 0
mov dword [esp + 0x130], 0x1011f690
mov dword [esp + 0x138], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x130]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0xffffffff
movdqu xmmword [esp + 0x7c], xmm0
mov dword [esp + 0x8c], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
je 0x364aa5d
mov ecx, dword [esp + 0x7c]
cmp dword [ecx], 0
jne 0x364ab14
push 0
push eax
push dword [esp + 0x84]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x364ab10
mov eax, dword [esp + 0x84]
mov dword [eax], 0
mov eax, dword [esp + 0x84]
inc dword [eax]
mov al, 1
push edi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x9c], al
call dword [0x100f5100]
cmp byte [esp + 0x90], 0
je 0x364aac8
mov edi, dword [esp + 0x8c]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x364aac8
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x364aac8
push eax
call dword [0x100f5290]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov eax, dword [esp + 0x14]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec eax
mov dword [esp + 0x14], eax
jns 0x364a9b0
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x364aafb
call fcn.03707920
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x364ab08
call fcn.03707920
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.03703a20
test al, al
jne 0x364aa5d
jmp 0x364aa68