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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebx, ecx
xor ecx, ecx
cmp dword [esp + 0x70], ecx
push esi
push edi
jg 0x10036f91
mov eax, dword [esp + 0x64]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov ebp, dword [ebx]
mov eax, dword [esp + 0x68]
mov eax, dword [ebp + eax*4 + 0x7438]
mov edx, dword [esp + 0x74]
pxor xmm0, xmm0
mov dword [esp + 0x14], eax
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x58], xmm0
xor eax, 3
pxor xmm0, xmm0
movq qword [esp + 0x38], xmm0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
pxor xmm0, xmm0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ecx
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ecx
test edx, edx
je 0x10036ff1
cmp eax, edx
jne 0x1003748e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ebp + eax*4 + 0x7438], ecx
mov esi, dword [esp + 0x6c]
xor edi, edi
add esi, 0x17
mov byte [esp + 0x13], 1
mov dword [esp + 0x1c], edi
cmp dword [ebp + esi*4 + 0x7438], edx
jne 0x10037056
lea eax, [esp + 0x44]
push eax
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x10037056
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x10037051
mov edi, 1
mov dword [esp + 0x50], esi
mov dword [esp + 0x1c], edi
jmp 0x10037056
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x14]
add esi, 0xffffffe8
cmp dword [ebp + esi*4 + 0x7438], ecx
jne 0x100370a4
cmp byte [esp + 0x13], 0
je 0x100370a4
lea edx, [esp + 0x44]
push edx
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x100370a4
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x1003709f
mov dword [esp + edi*4 + 0x50], esi
inc edi
mov dword [esp + 0x1c], edi
jmp 0x100370a4
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
add esi, 2
cmp dword [ebp + esi*4 + 0x7438], eax
jne 0x100370f2
cmp byte [esp + 0x13], 0
je 0x100370f2
lea ecx, [esp + 0x44]
push ecx
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x100370f2
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x100370ed
mov dword [esp + edi*4 + 0x50], esi
inc edi
mov dword [esp + 0x1c], edi
jmp 0x100370f2
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x14]
add esi, 0xffffffe8
cmp dword [ebp + esi*4 + 0x7438], edx
jne 0x10037141
cmp byte [esp + 0x13], 0
je 0x10037470
lea eax, [esp + 0x44]
push eax
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x10037141
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x10037470
mov dword [esp + edi*4 + 0x50], esi
inc edi
mov dword [esp + 0x1c], edi
cmp byte [esp + 0x13], 0
je 0x10037470
xor esi, esi
xor eax, eax
cmp edi, esi
jle 0x10037164
mov ecx, dword [esp + eax*4 + 0x50]
inc eax
cmp eax, edi
mov dword [ebp + ecx*4 + 0x7438], esi
jl 0x10037154
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x38]
push ecx
push 2
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], edx
call fcn.10036730
cmp eax, 1
jne 0x100371d8
mov eax, dword [ebx]
mov edx, dword [esp + 0x6c]
mov ecx, dword [eax + edx*4 + 0x7438]
cmp dword [eax + edx*4 + 0x7494], ecx
je 0x10037456
cmp dword [eax + edx*4 + 0x7434], ecx
je 0x10037456
cmp dword [eax + edx*4 + 0x743c], ecx
je 0x10037456
cmp dword [eax + edx*4 + 0x73dc], ecx
je 0x10037456
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x70]
jne 0x10037456
mov dword [ebp + edx*4 + 0x7438], esi
jmp 0x100371e1
cmp eax, 2
jl 0x10037456
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov dword [ebp + ecx*4 + 0x7438], esi
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + ecx*4 + 0x7494]
add ecx, 0x17
xor edi, edi
xor eax, eax
test edx, edx
jne 0x1003720f
mov dword [esp + 0x2c], ecx
lea eax, [edi + 1]
jmp 0x10037218
cmp edx, esi
jne 0x10037218
mov edi, 1
mov edx, dword [ebp + ecx*4 + 0x73d8]
add ecx, 0xffffffe8
test edx, edx
jne 0x1003722d
mov dword [esp + eax*4 + 0x2c], ecx
inc eax
jmp 0x10037232
cmp edx, esi
jne 0x10037232
inc edi
mov edx, dword [ebp + ecx*4 + 0x7440]
add ecx, 2
test edx, edx
jne 0x10037247
mov dword [esp + eax*4 + 0x2c], ecx
inc eax
jmp 0x1003724c
cmp edx, esi
jne 0x1003724c
inc edi
mov edx, dword [ebp + ecx*4 + 0x73d8]
add ecx, 0xffffffe8
test edx, edx
jne 0x10037261
mov dword [esp + eax*4 + 0x2c], ecx
inc eax
jmp 0x10037266
cmp edx, esi
jne 0x10037266
inc edi
cmp edi, 2
jl 0x10037282
lea edx, [esp + 0x2c]
push edx
push 3
push ecx
mov ecx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax], ecx
mov ecx, ebx
call fcn.10036730
cmp eax, 2
jne 0x100372f9
mov edx, dword [esp + 0x68]
push ecx
mov dword [ebp + edx*4 + 0x7438], 3
mov ecx, dword [esp + 0x74]
mov eax, esp
mov dword [eax], ecx
mov ecx, ebx
call fcn.10036b30
mov edx, dword [esp + 0x68]
mov dword [ebp + edx*4 + 0x7438], esi
test al, al
jne 0x10037441
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
dec eax
push eax
push ecx
mov eax, esp
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax], 0
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
push ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x84]
mov eax, esp
lea edx, [esp + 0x3c]
mov dword [eax], ecx
push edx
mov ecx, ebx
call fcn.10036f70
mov eax, dword [eax]
jmp 0x1003743d
cmp eax, 1
jne 0x10037323
push ecx
mov ecx, dword [esp + 0x74]
mov eax, esp
mov dword [eax], ecx
mov ecx, ebx
call fcn.10036ea0
test al, al
jne 0x10037441
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
jmp 0x10037441
test eax, eax
jne 0x10037441
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
add esi, 0x17
xor edi, edi
cmp dword [ebp + esi*4 + 0x7438], eax
jne 0x1003736e
lea ecx, [esp + 0x44]
push ecx
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x1003736e
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
xor edx, edx
test al, al
sete dl
inc edx
mov edi, edx
mov eax, dword [esp + 0x18]
add esi, 0xffffffe8
cmp dword [ebp + esi*4 + 0x7438], eax
jne 0x100373b0
cmp edi, 1
jg 0x100373b0
lea ecx, [esp + 0x44]
push ecx
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x100373b0
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x100373ad
inc edi
jmp 0x100373b0
add edi, 2
mov edx, dword [esp + 0x18]
add esi, 2
cmp dword [ebp + esi*4 + 0x7438], edx
jne 0x100373f2
cmp edi, 1
jg 0x100373f2
lea eax, [esp + 0x44]
push eax
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x100373f2
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x100373ef
inc edi
jmp 0x100373f2
add edi, 2
mov ecx, dword [esp + 0x18]
add esi, 0xffffffe8
cmp dword [ebp + esi*4 + 0x7438], ecx
jne 0x10037434
cmp edi, 1
jg 0x10037441
lea edx, [esp + 0x44]
push edx
push 1
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036730
test eax, eax
jne 0x10037434
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], esi
call fcn.10036530
test al, al
je 0x10037431
inc edi
jmp 0x10037434
add edi, 2
cmp edi, 1
jg 0x10037441
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x1c]
mov dword [ebp + ecx*4 + 0x7438], 0
xor esi, esi
xor eax, eax
cmp edi, esi
jle 0x10037470
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x50]
inc eax
cmp eax, edi
mov dword [ebp + ecx*4 + 0x7438], edx
jl 0x10037460
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x6c]
mov dword [ebp + edx*4 + 0x7438], 0
jne 0x100374c2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x24]
inc ecx
cmp ecx, 2
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], ecx
jl 0x10036fe5
mov eax, dword [esp + 0x64]
mov dword [eax], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x50
ret 0x18