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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], eax
push esi
mov eax, dword [edx + 4]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x14], eax
mov eax, dword [edx]
push edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x10], eax
mov edi, dword [eax + 0x14]
cmp edi, dword [edx + 4]
je 0x3638566
xor eax, eax
mov word [esp + 0x22], ax
mov word [esp + 0x26], ax
jmp 0x3638250
mov cx, word [ecx + 8]
lea eax, [esp + 0x20]
mov dword [esp + 0x10], edi
mov edx, 2
mov word [esp + 0x20], cx
test eax, eax
jne 0x3638293
xor ecx, ecx
mov eax, 0x100
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
mov esi, eax
xor ecx, ecx
mov dword [esp + 0x1c], esi
call fcn.03707920
xor eax, eax
mov word [esi], ax
jmp 0x36382ea
xor edx, edx
lea eax, [esp + 0x20]
xor esi, esi
cmp dx, cx
je 0x36382ab
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x36382a0
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 + 0x1c], eax
call fcn.03707920
lea eax, [esi*2 + 2]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call fcn.037136d0
add esp, 0xc
mov cx, word [edi + 8]
lea eax, [esp + 0x24]
mov word [esp + 0x24], cx
test eax, eax
jne 0x3638325
xor ecx, ecx
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.03707780
xor ecx, ecx
mov esi, eax
call fcn.03707920
xor eax, eax
mov word [esi], ax
jmp 0x363837d
xor edx, edx
lea eax, [esp + 0x24]
xor esi, esi
cmp dx, cx
je 0x363833d
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x3638332
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 + 0x48], eax
call fcn.03707920
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x48]
push eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.037136d0
add esp, 0xc
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0366ed00
add esp, 4
test eax, eax
setns byte [esp + 0xf]
test esi, esi
je 0x3638463
lea eax, [esp + 0x60]
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x2f]
push ecx
mov dword [esp + 0x90], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0x1011f690
mov dword [esp + 0x8c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x84]
mov dword [esp + 0x64], 0
push eax
mov dword [esp + 0x6c], 0xffffffff
movdqu xmmword [esp + 0x70], xmm0
call fcn.037039a0
test al, al
je 0x3638409
mov eax, dword [esp + 0x70]
inc dword [eax]
mov al, 1
push esi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x88], al
call dword [0x100f5100]
cmp byte [esp + 0x7c], 0
je 0x3638463
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x3638463
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x3638463
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x3638543
lea eax, [esp + 0x90]
mov dword [esp + 0x54], 0
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x2e]
push ecx
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x94]
mov dword [esp + 0x54], 0x1011f690
mov dword [esp + 0x5c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x54]
mov dword [esp + 0x94], 0
push eax
mov dword [esp + 0x9c], 0xffffffff
movdqu xmmword [esp + 0xa0], xmm0
call fcn.037039a0
test al, al
je 0x36384e3
mov eax, dword [esp + 0xa0]
inc dword [eax]
mov al, 1
push esi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0xb8], al
call dword [0x100f5100]
cmp byte [esp + 0xac], 0
je 0x3638543
mov esi, dword [esp + 0xa8]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x3638543
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x3638543
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
cmp byte [esp + 0xf], 0
je 0x363854f
mov edi, dword [edi + 0x14]
jmp 0x3638552
mov edi, dword [edi + 0x18]
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebp + 8]
cmp edi, dword [edx + 4]
jne 0x3638250
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
cmp eax, dword [edx]
je 0x3638698
mov cx, word [ecx + 8]
xor eax, eax
mov word [esp + 0x1a], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x18], cx
test eax, eax
jne 0x36385b6
push eax
lea ecx, [esp + 0x40]
call fcn.0362a270
mov edi, dword [esp + 0x3c]
xor eax, eax
mov word [edi], ax
jmp 0x36385f2
xor edx, edx
lea eax, [esp + 0x18]
xor esi, esi
cmp dx, cx
je 0x36385ce
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x36385c3
push esi
lea ecx, [esp + 0x40]
call fcn.0362a270
mov edi, dword [esp + 0x3c]
lea eax, [esi*2 + 2]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.037136d0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov cx, word [eax + 8]
xor eax, eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x14]
mov word [esp + 0x14], cx
test eax, eax
jne 0x363863b
push eax
lea ecx, [esp + 0x34]
call fcn.0362a270
mov esi, dword [esp + 0x30]
xor eax, eax
mov word [esi], ax
jmp 0x3638677
xor edx, edx
lea eax, [esp + 0x14]
xor esi, esi
cmp dx, cx
je 0x3638653
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x3638648
push esi
lea ecx, [esp + 0x34]
call fcn.0362a270
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.037136d0
add esp, 0xc
mov eax, 3
mov edx, edi
push ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0366ed00
add esp, 4
test eax, eax
jns 0x36386a0
mov byte [esp + 0xf], 0
jmp 0x36386a5
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x28]
test al, 2
je 0x36386c3
and eax, 0xfffffffd
mov dword [esp + 0x28], eax
test esi, esi
je 0x36386c3
mov ecx, esi
call fcn.03707920
mov eax, dword [esp + 0x28]
test al, 1
je 0x36386d2
test edi, edi
je 0x36386d2
mov ecx, edi
call fcn.03707920
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
je 0x36386eb
mov dword [eax + 0x14], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [eax + 0x18], ecx
pop esi
mov esp, ebp
pop ebp
ret 4