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

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
cmp dword [esp + 0x9c], edi
mov esi, ecx
mov ecx, dword [ebx]
sete al
lea edx, [esp + 0x24]
push edx
push ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
lea eax, [eax*4 + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x24]
push ebx
call edx
push 9
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x3c], eax
call fcn.36b2cc25
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
jb 0x36b35ea8
xor eax, eax
jmp 0x36b35eab
movzx eax, byte [eax]
test al, 0x40
je 0x36b35eb2
or eax, 0x20
mov edi, dword [esp + 0x8c]
and eax, 0x3f
mov ebp, eax
je 0x36b3636d
lea eax, [ebp - 0x23]
cmp eax, 0x18
ja case.0x36b35ed7.38
movzx eax, byte [eax + 0x36b363c0]
jmp dword [eax*4 + 0x36b363b0]
cmp dword [esp + 0x24], 0
mov esi, dword [esp + 0x94]
jne 0x36b35ef6
cmp dword [esp + 0x34], esi
jne case.0x36b35ed7.38
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.36b2cc25
push 0xf
lea ecx, [esp + 0x84]
call fcn.36b2cc25
cmp ebp, 0x24
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
jne 0x36b35f55
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [edx + 8]
lea eax, [esp + 0x50]
push eax
push ebx
call ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x74]
mov ebp, eax
call fcn.36b2cc25
jmp 0x36b35f7c
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x64]
call fcn.36b2cc25
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x78]
push edx
push ebx
call eax
mov ebp, eax
cmp ebp, 0x20040003
je case.0x36b35ed7.38
mov ecx, dword [edi]
mov edx, dword [ecx + 0x1c]
push 0
push edi
call edx
cmp ebp, 0x20040002
je 0x36b35fa6
cmp ebp, 0x20040005
jne 0x36b360bd
cmp dword [esp + 0x10], 0
jne 0x36b35fc2
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x36b363dc
push edi
call edx
test eax, eax
jl 0x36b35fd8
cmp dword [esp + 0x1c], 0
jne 0x36b35fd8
mov eax, dword [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x68]
call fcn.36b2cc25
cmp esi, dword [esp + 0x14]
je 0x36b360bd
cmp dword [esp + 0x1c], 0
jne 0x36b36061
mov edx, dword [edi]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x20]
sub esi, dword [ecx + 4]
push 0
push edi
call eax
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
push 0x36a7c330
push edi
mov dword [esp + 0x28], 1
call eax
test eax, eax
jl 0x36b36061
push 0xff
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.36b2cc25
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x68]
push 9
lea edx, [esp + 0x64]
push edx
call fcn.36b2cc25
add ebx, esi
push ebx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x98]
push eax
mov ecx, esi
call fcn.36b2cc25
mov ecx, dword [esi]
lea edx, [esp + 0x40]
push edx
push eax
push eax
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x78]
push esi
call eax
test eax, eax
jl 0x36b360bd
lea ecx, [esp + 0x60]
call fcn.36b2cc25
test eax, eax
jl case.0x36b35ed7.38
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
jmp case.0x36b35ed7.38
cmp ebp, 0x20040002
lea ecx, [esp + 0x60]
jne 0x36b360e3
mov dword [esp + 0x30], 1
call fcn.36b39ae9
mov ecx, dword [edi]
mov edx, dword [ecx + 0x10]
push edi
call edx
jmp case.0x36b35ed7.38
lea eax, [esp + 0x70]
push eax
call fcn.36b2cc25
mov ecx, dword [edi]
mov edx, dword [ecx + 0x10]
push edi
call edx
jmp case.0x36b35ed7.38
lea ecx, [esp + 0x60]
call fcn.369cbbe4
cmp dword [esp + 0x24], 0
mov esi, eax
jne 0x36b36120
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.36b2cc25
test eax, eax
je case.0x36b35ed7.38
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.36b2cc25
push 0xf
lea ecx, [esp + 0x84]
call fcn.36b2cc25
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
cmp dword [esp + 0x9c], 0
jne 0x36b36193
mov eax, dword [esp + 0x80]
mov edx, eax
not edx
test dl, 1
jne case.0x36b35ed7.38
mov ecx, eax
shr ecx, 2
not ecx
test cl, 1
jne case.0x36b35ed7.38
mov edx, eax
shr edx, 1
not edx
test dl, 1
jne case.0x36b35ed7.38
shr eax, 3
not eax
test al, 1
jne case.0x36b35ed7.38
push 2
push 1
lea eax, [esp + 0x34]
mov ecx, eax
push eax
push ecx
mov ecx, esi
call fcn.36b2cc25
test eax, eax
jl 0x36b361b9
mov ecx, esi
call fcn.36b2cc25
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
cmp ebp, 0x3a
jne 0x36b36201
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x58]
call fcn.36b2cc25
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x5c]
push ecx
push ebx
call edx
mov esi, eax
cmp esi, 0x20040003
je case.0x36b35ed7.38
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x74]
call fcn.36b2cc25
jmp 0x36b3621a
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x78]
push edx
push ebx
call eax
mov esi, eax
cmp esi, 0x20040003
je case.0x36b35ed7.38
mov ecx, dword [edi]
mov edx, dword [ecx + 0x1c]
push 0
push edi
call edx
cmp esi, 0x20040002
je 0x36b36240
cmp esi, 0x20040005
jne 0x36b362aa
cmp dword [esp + 0x10], 0
jne 0x36b3625c
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x36b363dc
push edi
call edx
test eax, eax
jl 0x36b3626b
mov eax, dword [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x68]
call fcn.36b2cc25
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
je 0x36b362aa
mov ebp, dword [esp + 0x98]
push eax
mov ecx, ebp
call fcn.36b2cc25
mov ecx, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
push eax
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x78]
push ebp
call eax
test eax, eax
jl 0x36b362aa
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
cmp esi, 0x20040002
lea ecx, [esp + 0x60]
jne 0x36b362c8
mov dword [esp + 0x30], 1
call fcn.36b39ae9
jmp 0x36b3634a
lea edx, [esp + 0x70]
push edx
call fcn.36b2cc25
jmp 0x36b3634a
lea ecx, [esp + 0x60]
call fcn.369cebe9
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push ebx
call ecx
cmp eax, 0x20040003
je case.0x36b35ed7.38
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x38]
push 0
push edi
call eax
cmp dword [esp + 0x10], 0
jne 0x36b3631f
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x36b363dc
push edi
call eax
test eax, eax
jl 0x36b3632e
mov ecx, dword [esp + 0x10]
push ecx
push ebx
lea ecx, [esp + 0x68]
call fcn.36b2cc25
cmp ebp, 0x39
jne 0x36b36340
mov edx, dword [esi + 0x38]
push edx
lea ecx, [esp + 0x64]
call fcn.36b2cc25
push esi
lea ecx, [esp + 0x64]
call fcn.36b2cc25
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push edi
call ecx
lea ecx, [esp + 0x60]
call fcn.369c98ca
test al, 0x40
je 0x36b36362
or eax, 0x20
and eax, 0x3f
mov ebp, eax
jne 0x36b35ec4
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x36b3637e
mov edx, dword [esp + 0x30]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x36b3638e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
push 1
push edi
call ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x1c