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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x396025
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
lea eax, [esp + 0x5c]
push eax
call fcn.00312bb0
mov dword [esp + 0x110], 0
test byte [esp + 0x84], 0x30
jne 0x36f9d6
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x60]
call dword [0x39a8cc]
lea ecx, [esp + 0x60]
call dword [0x39aa78]
lea ebx, [esp + 0x5c]
call fcn.0034db00
test al, al
jne 0x36fa3a
mov edi, dword [esp + 0x8c]
mov esi, edi
test edi, edi
je 0x36f9f1
call fcn.0034bd50
push esi
call fcn.0038b024
add esp, 4
mov eax, dword [esp + 0x90]
mov esi, eax
test eax, eax
je 0x36fa0c
call fcn.00349f00
push esi
call fcn.0038b024
add esp, 4
lea ecx, [esp + 0x60]
call dword [0x39ad2c]
lea ecx, [esp + 0x5c]
call dword [0x39ad2c]
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xd0]
call dword [0x39ad28]
mov esi, dword [ebp + 8]
add esi, 0xc
mov byte [esp + 0x110], 1
call fcn.0031f840
push ecx
mov eax, esp
mov dword [eax], 0x39f34c
lea eax, [esp + 0x60]
mov dword [esp + 0x104], esp
call fcn.0034cc00
test al, al
je 0x370363
mov ecx, dword [esp + 0x68]
xor ebx, ebx
mov esi, 0x39f91c
lea edx, [esp + 0x5c]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], edx
cmp ecx, ebx
je 0x36fac9
cmp dword [esp + 0x78], 1
jne 0x36fac9
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x64], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ecx
push 0x39f6d4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x114], 2
call dword [0x39a8d8]
lea edx, [esp + 0xa0]
lea edi, [esp + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 3
call fcn.00370aa0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x110], 5
call dword [0x39ad2c]
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebx
jne 0x36fb42
lea ecx, [esp + 0x10]
call dword [0x39ad2c]
mov byte [esp + 0x110], 1
mov eax, edi
mov dword [esp + 0xbc], esi
call fcn.0034da50
jmp 0x36fa5a
push 0x39f35c
lea ecx, [esp + 0xb8]
call dword [0x39a8d8]
lea edx, [esp + 0xb4]
lea edi, [esp + 0x5c]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x110], 6
call fcn.00370aa0
mov eax, dword [eax]
push eax
call dword [0x39a238]
add esp, 4
lea ecx, [esp + 0xc4]
mov esi, eax
call dword [0x39ad2c]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x110], 5
call dword [0x39ad2c]
cmp esi, ebx
jg 0x36fbd0
lea ecx, [esp + 0x10]
call dword [0x39ad2c]
mov byte [esp + 0x110], 1
mov eax, edi
mov dword [esp + 0xbc], 0x39f91c
call fcn.0034da50
jmp 0x36fa5a
push 0x39fddc
lea ecx, [esp + 0xa0]
call dword [0x39a8d8]
lea edx, [esp + 0x9c]
lea edi, [esp + 0x5c]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x110], 7
call fcn.00370aa0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x110], 9
call dword [0x39ad2c]
push 0x39f368
lea ecx, [esp + 0x58]
call dword [0x39a8d8]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 0xa
call fcn.00370aa0
lea ecx, [esp + 0x54]
mov byte [esp + 0x110], 0xc
call dword [0x39ad2c]
push 0x39fe1c
lea ecx, [esp + 0xa8]
call dword [0x39a8d8]
lea edx, [esp + 0xa4]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x110], 0xd
call fcn.00370aa0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x110], 0xf
call dword [0x39ad2c]
push 0x39fe0c
lea ecx, [esp + 0xb0]
call dword [0x39a8d8]
lea edx, [esp + 0xac]
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 0x10
call fcn.00370aa0
lea ecx, [esp + 0xac]
mov byte [esp + 0x110], 0x12
call dword [0x39ad2c]
push 0x3ad9e0
lea ecx, [esp + 0x24]
call dword [0x39a8d8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0x13
call dword [0x39aa8c]
push 0x39f374
lea ecx, [esp + 0xac]
call dword [0x39a8d8]
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 0x14
call fcn.00370aa0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x110], 0x16
call dword [0x39ad2c]
mov eax, esi
cdq
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
push ecx
mov esi, 0x3ad9f4
lea edi, [esp + 0x48]
call fcn.0032db50
mov edx, dword [ebp + 8]
mov byte [esp + 0x110], 0x17
xor esi, esi
cmp dword [edx + 0x14], ebx
jle 0x36fdb0
jmp 0x36fd70
test ebx, ebx
jl 0x37035e
mov eax, dword [ebp + 8]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x37035e
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x44]
add edi, ebx
push eax
lea ecx, [edi + 4]
call dword [0x39ad1c]
test eax, eax
je 0x36ff29
mov ecx, dword [ebp + 8]
inc esi
add ebx, 0x20
cmp esi, dword [ecx + 0x14]
jl 0x36fd70
xor ebx, ebx
push 0x39f384
lea ecx, [esp + 0x44]
call dword [0x39a8d8]
lea eax, [esp + 0xc8]
push eax
mov esi, 0x3ada0c
lea edi, [esp + 0xdc]
mov byte [esp + 0x114], 0x1e
call fcn.0032db50
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x114], 0x1f
call dword [0x39aa8c]
mov ecx, edi
mov byte [esp + 0x110], 0x1e
call dword [0x39ad2c]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0xe8]
push eax
call fcn.00340600
mov byte [esp + 0x110], 0x20
mov ecx, dword [esp + 0x14]
push 0x39bc34
cmp dword [ecx - 0xc], ebx
je 0x370113
lea ecx, [esp + 0x98]
call dword [0x39a8d8]
push 0x3ada04
lea ecx, [esp + 0x5c]
mov byte [esp + 0x114], 0x21
call dword [0x39a8d8]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x12c], 0x22
call fcn.003403a0
mov ebx, eax
mov byte [esp + 0x110], 0x23
mov eax, dword [esp + 0xf4]
mov edi, eax
test eax, eax
jl 0x37035e
lea ecx, [eax + 1]
lea esi, [esp + 0xec]
call fcn.0031fb90
mov ecx, dword [esp + 0xf0]
lea eax, [edi*8]
sub eax, edi
lea esi, [ecx + eax*4]
mov eax, ebx
call fcn.00340550
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 0x3a2cb8
call dword [0x39ad2c]
lea ecx, [esp + 0x38]
call dword [0x39ad2c]
lea ecx, [esp + 0x34]
call dword [0x39ad2c]
lea ecx, [esp + 0x30]
call dword [0x39ad2c]
lea ecx, [esp + 0x2c]
call dword [0x39ad2c]
lea ecx, [esp + 0x28]
call dword [0x39ad2c]
lea ecx, [esp + 0x58]
call dword [0x39ad2c]
lea ecx, [esp + 0x94]
jmp 0x3701fa
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
push 0x39bc34
je 0x37002c
lea ecx, [esp + 0xbc]
call dword [0x39a8d8]
push 0x3ada04
lea ecx, [esp + 0x9c]
mov byte [esp + 0x114], 0x18
call dword [0x39a8d8]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x12c], 0x19
call fcn.003403a0
mov ebx, eax
lea esi, [edi + 0xc]
mov byte [esp + 0x110], 0x1a
mov edi, dword [esi + 8]
test edi, edi
jl 0x37035e
lea ecx, [edi + 1]
call fcn.0031fb90
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
lea esi, [edx + ecx*4]
mov eax, ebx
call fcn.00340550
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 0x3a2cb8
call dword [0x39ad2c]
lea ecx, [esp + 0x38]
call dword [0x39ad2c]
lea ecx, [esp + 0x34]
call dword [0x39ad2c]
lea ecx, [esp + 0x30]
call dword [0x39ad2c]
lea ecx, [esp + 0x2c]
call dword [0x39ad2c]
lea ecx, [esp + 0x28]
call dword [0x39ad2c]
lea ecx, [esp + 0x98]
call dword [0x39ad2c]
lea ecx, [esp + 0xb8]
jmp 0x370297
lea ecx, [esp + 0xb4]
call dword [0x39a8d8]
push 0x3ada04
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 0x1b
call dword [0x39a8d8]
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x12c], 0x1c
call fcn.003403a0
mov ebx, eax
lea esi, [edi + 0xc]
mov byte [esp + 0x110], 0x1d
mov edi, dword [esi + 8]
test edi, edi
jl 0x37035e
lea ecx, [edi + 1]
call fcn.0031fb90
mov edx, dword [esi + 4]
lea ecx, [edi*8]
sub ecx, edi
lea esi, [edx + ecx*4]
mov eax, ebx
call fcn.00340550
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 0x3a2cb8
call dword [0x39ad2c]
lea ecx, [esp + 0x38]
call dword [0x39ad2c]
lea ecx, [esp + 0x34]
call dword [0x39ad2c]
lea ecx, [esp + 0x30]
call dword [0x39ad2c]
lea ecx, [esp + 0x2c]
call dword [0x39ad2c]
lea ecx, [esp + 0x28]
call dword [0x39ad2c]
lea ecx, [esp + 0x48]
call dword [0x39ad2c]
lea ecx, [esp + 0xb0]
jmp 0x370297
lea ecx, [esp + 0x54]
call dword [0x39a8d8]
push 0x3ada04
lea ecx, [esp + 0x50]
mov byte [esp + 0x114], 0x24
call dword [0x39a8d8]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x12c], 0x25
call fcn.003403a0
mov ebx, eax
mov byte [esp + 0x110], 0x26
mov eax, dword [esp + 0xf4]
mov edi, eax
test eax, eax
jl 0x37035e
lea ecx, [eax + 1]
lea esi, [esp + 0xec]
call fcn.0031fb90
mov ecx, dword [esp + 0xf0]
lea eax, [edi*8]
sub eax, edi
lea esi, [ecx + eax*4]
mov eax, ebx
call fcn.00340550
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 0x3a2cb8
call dword [0x39ad2c]
lea ecx, [esp + 0x38]
call dword [0x39ad2c]
lea ecx, [esp + 0x34]
call dword [0x39ad2c]
lea ecx, [esp + 0x30]
call dword [0x39ad2c]
lea ecx, [esp + 0x2c]
call dword [0x39ad2c]
lea ecx, [esp + 0x28]
call dword [0x39ad2c]
lea ecx, [esp + 0x4c]
call dword [0x39ad2c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x110], 0x20
call dword [0x39ad2c]
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
add edi, 0xc
test esi, esi
jl 0x37035e
lea eax, [esi + 1]
call fcn.0031ffd0
shl esi, 5
add esi, dword [edi + 4]
lea edx, [esp + 0xe4]
push edx
lea ecx, [esi + 4]
call dword [0x39a8cc]
lea eax, [esp + 0xe8]
push eax
lea ecx, [esi + 8]
call dword [0x39a8cc]
add esi, 0xc
call fcn.0031f520
lea ecx, [esp + 0xec]
cmp esi, ecx
je 0x37027f
mov ecx, dword [esp + 0xf4]
call fcn.0031fb90
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
push edx
call fcn.0031fe90
lea ecx, [esp + 0xe0]
mov byte [esp + 0x110], 0x1e
call fcn.00340760
lea ecx, [esp + 0x40]
call dword [0x39ad2c]
lea ecx, [esp + 0x44]
call dword [0x39ad2c]
lea ecx, [esp + 0x1c]
call dword [0x39ad2c]
lea ecx, [esp + 0x20]
call dword [0x39ad2c]
lea ecx, [esp + 0x14]
call dword [0x39ad2c]
lea ecx, [esp + 0xd4]
call dword [0x39ad2c]
lea ecx, [esp + 0x18]
call dword [0x39ad2c]
lea ecx, [esp + 0xdc]
call dword [0x39ad2c]
lea ecx, [esp + 0x10]
call dword [0x39ad2c]
mov byte [esp + 0x110], 1
mov eax, dword [esp + 0x64]
mov dword [esp + 0xbc], 0x39f91c
test eax, eax
je 0x36fa5a
mov edi, dword [esp + 0x90]
mov edi, dword [edi]
mov edx, dword [esp + 0x68]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x6c], edx
xor edx, edx
cmp ecx, eax
setne dl
mov dword [esp + 0x68], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], edx
jmp 0x36fa5a
call fcn.0038b3a8
lea ecx, [esp + 0xd0]
call dword [0x39ad2c]
mov edi, dword [esp + 0x8c]
mov esi, edi
test edi, edi
je 0x37038b
call fcn.0034bd50
push esi
call fcn.0038b024
add esp, 4
mov eax, dword [esp + 0x90]
mov esi, eax
test eax, eax
je 0x3703a6
call fcn.00349f00
push esi
call fcn.0038b024
add esp, 4
lea ecx, [esp + 0x60]
call dword [0x39ad2c]
lea ecx, [esp + 0x5c]
call dword [0x39ad2c]
mov eax, 1
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8