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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push edi
mov edi, edx
push eax
cmp eax, 0x100f7c80
jne 0x366f6cc
call fcn.0362a270
xor eax, eax
jmp 0x366f6d7
call fcn.0362a270
mov ax, word [0x100f7c80]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x7c]
mov ecx, ebx
push esi
mov word [esi], ax
call fcn.0362a210
test esi, esi
je 0x366f6f5
mov ecx, esi
call fcn.03707920
xor ebp, ebp
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.0362a270
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov word [eax], cx
push ecx
lea ecx, [esp + 0x58]
call fcn.0362a270
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp ax, word [edi]
je 0x366fa2c
lea esi, [ebp + 0x5c]
lea edx, [ebp + 0x3c]
lea ecx, [ebp + 0x3e]
lea esp, [esp]
mov eax, ebp
sub eax, 0
je 0x366f96f
dec eax
je 0x366f792
dec eax
jne 0x366fa0d
movzx eax, word [edi]
cmp si, ax
je 0x366f783
cmp dx, ax
je 0x366f783
cmp cx, ax
je 0x366f783
push 0x5c
mov ecx, ebx
call fcn.03635e80
movzx eax, word [edi]
push eax
mov ecx, ebx
call fcn.03635e80
xor ebp, ebp
jmp 0x366fa05
movzx eax, word [edi]
cmp cx, ax
jne 0x366f966
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x366f7c8
push dword [esp + 0x14]
mov ecx, ebx
call fcn.0362ee90
jmp 0x366f906
cmp esi, 1
jne 0x366fa2e
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.0362a270
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x30]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x18]
call fcn.0366edf0
test eax, eax
je 0x366f813
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.03635dd0
jmp 0x366f8ed
xor eax, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
cmp eax, 0x100f8d6c
jne 0x366f83d
push eax
lea ecx, [esp + 0x28]
call fcn.0362a270
mov esi, dword [esp + 0x24]
xor eax, eax
mov word [esi], ax
jmp 0x366f873
xor esi, esi
mov eax, 0x100f8d6c
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x366f844
push esi
lea ecx, [esp + 0x28]
call fcn.0362a270
lea eax, [esi*2 + 2]
mov esi, dword [esp + 0x24]
push eax
push 0x100f8d6c
push esi
call fcn.037136d0
add esp, 0xc
push 0x100f8d68
push ecx
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x78]
call fcn.03635d40
add esp, 8
lea ecx, [esp + 0x64]
mov edx, eax
call fcn.03629370
add esp, 4
mov ecx, ebx
push eax
call fcn.03635dd0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x366f8bd
call fcn.03707920
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x366f8d6
call fcn.03707920
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
test esi, esi
je 0x366f8ed
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x366f906
call fcn.03707920
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
xor eax, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], ebp
push eax
cmp eax, 0x100f7c80
jne 0x366f929
call fcn.0362a270
xor eax, eax
jmp 0x366f934
call fcn.0362a270
mov ax, word [0x100f7c80]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push esi
mov word [esi], ax
call fcn.0362a210
test esi, esi
je 0x366f95c
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov esi, 0x5c
jmp 0x366fa05
lea ecx, [esp + 0x18]
jmp 0x366f9ff
movzx eax, word [edi]
cmp dx, ax
jne 0x366f9f1
xor eax, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ebp, 1
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x48]
push eax
cmp eax, 0x100f7c80
jne 0x366f9ab
call fcn.0362a270
xor eax, eax
jmp 0x366f9b6
call fcn.0362a270
mov ax, word [0x100f7c80]
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x18]
push esi
mov word [esi], ax
call fcn.0362a210
test esi, esi
je 0x366f95c
mov ecx, esi
call fcn.03707920
mov dword [esp + 0x48], 0
mov esi, 0x5c
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jmp 0x366fa05
cmp si, ax
jne 0x366f9fd
mov ebp, 2
jmp 0x366fa0d
mov ecx, ebx
push eax
call fcn.03635e80
mov edx, 0x3c
lea ecx, [edx + 2]
add edi, 2
xor eax, eax
cmp ax, word [edi]
jne 0x366f750
cmp ebp, 1
jne 0x366fa2c
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.03635dd0
xor esi, esi
mov ecx, dword [esp + 0x54]
call fcn.03707920
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x366fa44
call fcn.03707920
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret