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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
push dword [esi + 0x24]
call fcn.8376d0e3
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x224]
mov dword [ebp - 4], eax
call fcn.8370e99c
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x8370f01e
xor eax, eax
jmp 0x8370f71c
mov dword [ebx + 0x28], 0x66697049
push dword [0x87111e6c]
lea eax, [ebx + 0x84]
push edi
push 0x870311b5
push eax
call fcn.8370e986
test eax, eax
jl 0x8370f5dc
push dword [0x87111e6c]
call dword [0x870f4304]
mov dword [ebx + 0x4c], eax
cmp eax, edi
je 0x8370f5d0
push dword [ebp - 8]
lea eax, [ebx + 0xb8]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [ebx + 0xa4]
push eax
call fcn.8370ebfa
test eax, eax
jl 0x8370f5c7
lea eax, [ebx + 0x168]
push eax
call fcn.8370ecea
mov dword [ebx + 0x170], edi
lea eax, [ebx + 0x174]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], edi
lea eax, [ebx + 0x180]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], edi
lea eax, [ebx + 0x18c]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], edi
lea eax, [ebx + 0x198]
push edi
push dword [ebp - 8]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], edi
call fcn.8370f728
mov dword [ebx + 0x1a8], eax
cmp eax, edi
je 0x8370f55f
push edi
push 2
call fcn.8370f728
mov dword [ebx + 0x1ac], eax
cmp eax, edi
je 0x8370f554
push 1
push 2
call fcn.8370f728
mov dword [ebx + 0x1b0], eax
cmp eax, edi
je 0x8370f549
push 1
push 0x20
call fcn.8370f728
mov dword [ebx + 0x1b4], eax
cmp eax, edi
je 0x8370f53e
push 1
push 0x20
call fcn.8370f728
mov dword [ebx + 0x1b8], eax
cmp eax, edi
je 0x8370f533
push dword [0x87111e6c]
call dword [0x870f4304]
mov dword [ebx + 0x1bc], eax
cmp eax, edi
je 0x8370f528
lea eax, [ebx + 0xc8]
mov dword [eax], edi
mov dword [eax + 4], edi
lea eax, [ebx + 0x9c]
mov dword [eax], edi
mov dword [eax + 4], edi
push edi
lea eax, [ebx + 0x64]
push eax
call dword [0x870f421c]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebx], eax
add eax, 0x14
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
lea eax, [ebx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x18], ecx
movzx cx, byte [ecx + 4]
add cx, 3
mov edx, 0xfffc
and cx, dx
mov word [ebx + 0x36], cx
lea ecx, [ebx + 0x38]
push ecx
push eax
call fcn.8370ef58
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x50], 2
mov ecx, dword [eax + 0x3c]
mov dword [ebx + 0x130], ecx
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x134], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x266c], 0
je 0x8370f1f9
push ebx
call fcn.83712700
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x138], eax
push dword [esi + 0x34]
call fcn.8376d0e3
push 0xffffffffffffffff
push edi
mov dword [ebx + 0x13c], eax
call fcn.8376d144
mov dword [ebx + 0x154], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xdc], eax
mov al, byte [esi + 9]
shl al, 4
xor al, byte [ebx + 0xd1]
push ebx
and al, 0x10
xor byte [ebx + 0xd1], al
mov cl, byte [ebx + 0xd1]
mov al, byte [esi + 8]
shl al, 6
xor al, cl
and al, 0x40
xor al, cl
mov byte [ebp + 0x1f], al
mov byte [ebx + 0xd1], al
call fcn.8371ddc7
shl al, 3
xor al, byte [ebp + 0x1f]
and al, 8
xor al, byte [ebp + 0x1f]
mov byte [ebx + 0xd1], al
test al, 8
je 0x8370f27b
cmp byte [esi], 0
je 0x8370f27b
xor eax, eax
inc eax
jmp 0x8370f27d
xor eax, eax
add al, al
xor al, byte [ebx + 0xd0]
and al, 2
xor byte [ebx + 0xd0], al
mov cl, byte [ebx + 0xd0]
mov al, byte [esi + 0xc]
shl al, 3
xor al, cl
and al, 8
xor al, cl
mov cl, byte [ebx + 0xd1]
mov byte [ebx + 0xd0], al
test cl, 8
je 0x8370f2b4
test al, 2
je 0x8370f2d5
mov al, byte [esi + 0xa]
xor al, cl
and al, 1
xor al, cl
mov byte [ebx + 0xd1], al
mov cl, byte [esi + 0xb]
add cl, cl
xor cl, al
and cl, 2
xor cl, al
mov byte [ebx + 0xd1], cl
mov al, byte [esi + 1]
shl al, 4
xor al, byte [ebx + 0xd0]
and al, 0x10
xor byte [ebx + 0xd0], al
mov cl, byte [esi + 2]
shl cl, 3
lea eax, [ebx + 0xd2]
xor cl, byte [eax]
and cl, 8
xor byte [eax], cl
mov al, byte [esi + 3]
shl al, 5
xor al, byte [ebx + 0xd0]
and al, 0x20
xor byte [ebx + 0xd0], al
mov al, byte [esi + 4]
mov cl, byte [ebx + 0xd0]
shl al, 6
xor al, cl
and al, 0x40
xor al, cl
mov byte [ebx + 0xd0], al
mov cl, byte [esi + 5]
and al, 0x7f
shl cl, 7
or cl, al
mov byte [ebx + 0xd0], cl
mov al, byte [esi + 7]
mov cl, byte [ebx + 0xd1]
shl al, 7
and cl, 0x7f
or al, cl
mov byte [ebx + 0xd1], al
push dword [esi + 0x18]
push ebx
call fcn.8370eb9e
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0xf4], eax
mov al, byte [esi + 6]
shl al, 5
xor al, byte [ebx + 0xd1]
and al, 0x20
xor byte [ebx + 0xd1], al
mov eax, dword [esi + 0x20]
push eax
mov dword [ebx + 0xf8], eax
call fcn.8370ebcf
mov dword [ebx + 0xfc], eax
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jne 0x8370f39a
or dword [ebx + 0x104], eax
jmp 0x8370f3a6
push eax
call fcn.8376d0e3
mov dword [ebx + 0x104], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xc0], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xc4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x100], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x120], eax
mov al, byte [esi + 0xa0]
add al, al
xor al, byte [ebx + 0xd3]
and al, 2
xor byte [ebx + 0xd3], al
mov cl, byte [ebx + 0xd3]
mov al, byte [esi + 0x98]
xor al, cl
and al, 1
xor al, cl
mov byte [ebx + 0xd3], al
mov cl, byte [esi + 0xa5]
shl cl, 4
xor cl, al
and cl, 0x10
xor cl, al
mov byte [ebx + 0xd3], cl
push dword [esi + 0x9c]
call fcn.837738c4
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x1d4], eax
lea eax, [ebx + 0x10c]
mov byte [ebx + 0x10a], 0x40
mov byte [ebx + 0x10b], 0x20
mov dword [eax + 4], eax
mov dword [eax], eax
push 3
pop edx
lea eax, [ebx + 0x1c0]
mov dword [eax], edx
mov ecx, dword [ecx + 0x2658]
cmp ecx, edx
jge 0x8370f452
mov dword [eax], ecx
push 2
pop ecx
mov dword [ebx + 0x1d0], ecx
mov dword [ebx + 0x1c8], edi
mov dword [ebx + 0x1c4], edi
cmp byte [esi + 0xa2], 0
mov dword [ebp + 0x1c], ecx
setne al
shl al, 3
xor al, byte [ebx + 0xd4]
and al, 8
xor byte [ebx + 0xd4], al
cmp byte [esi + 0xa3], 0
mov al, byte [ebx + 0xd4]
setne dl
or dword [ebx + 0xd8], 0xffffffff
add dl, dl
xor dl, al
and dl, cl
xor dl, al
mov byte [ebx + 0xd4], dl
add esi, 0x40
lea ecx, [ebx + 0x1d8]
mov eax, dword [ecx]
mov edx, dword [ebp + 0x1c]
shl edx, 0x1c
and eax, 0xfffffff
or eax, edx
mov dword [ecx], eax
mov edx, dword [esi]
xor edx, eax
and edx, 0xfffffff
xor edx, eax
inc dword [ebp + 0x1c]
mov dword [ecx], edx
add ecx, 4
add esi, 4
cmp dword [ebp + 0x1c], 0xe
jl 0x8370f4b3
mov esi, dword [ebp - 4]
add esi, 0x2728
lea edx, [ebp - 0x14]
mov ecx, esi
call dword [0x870f47cc]
mov eax, dword [esi + 4]
test eax, eax
jne 0x8370f4f5
call fcn.8370e8ef
push edi
push edi
push edi
push eax
push 0x66695049
push 0x40
push dword [ebx + 0x234]
call fcn.8370e991
test eax, eax
jge 0x8370f62b
lea ecx, [ebp - 0x14]
call dword [0x870f47d0]
push dword [ebx + 0x1b8]
call fcn.8370d8e7
push dword [ebx + 0x1b4]
call fcn.8370d8e7
push dword [ebx + 0x1b0]
call fcn.8370d8e7
push dword [ebx + 0x1ac]
call fcn.8370d8e7
push dword [ebx + 0x1a8]
call fcn.8370d8e7
lea eax, [ebx + 0x198]
cmp dword [eax + 4], edi
jne 0x8370f573
push edi
push dword [eax]
call dword [0x870f434c]
lea eax, [ebx + 0x18c]
cmp dword [eax + 4], edi
jne 0x8370f587
push edi
push dword [eax]
call dword [0x870f434c]
lea eax, [ebx + 0x180]
cmp dword [eax + 4], edi
jne 0x8370f59b
push edi
push dword [eax]
call dword [0x870f434c]
lea eax, [ebx + 0x174]
cmp dword [eax + 4], edi
jne 0x8370f5af
push edi
push dword [eax]
call dword [0x870f434c]
lea eax, [ebx + 0xa4]
push eax
call fcn.8370cf79
lea eax, [ebx + 0x168]
push eax
call fcn.8370d073
push dword [ebx + 0x4c]
call dword [0x870f40fc]
lea eax, [ebx + 0x84]
push eax
call fcn.8370cb3f
push edi
push ebx
call dword [0x870f434c]
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8370f017
cmp byte [eax + 0x1d], 3
jb 0x8370f017
test byte [eax + 0x20], 4
je 0x8370f017
mov ecx, dword [ebp - 4]
push dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + 8]
push 0x870f9858
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837c396e
jmp 0x8370f017
push 0xffff
call dword [0x870f4178]
xor esi, esi
inc esi
cmp eax, esi
jbe 0x8370f653
mov ecx, dword [ebx + 0x234]
lea edx, [ecx + esi*4]
cmp dword [edx], edi
jne 0x8370f64e
mov ecx, dword [ecx]
mov dword [edx], ecx
inc esi
cmp esi, eax
jb 0x8370f63d
mov edi, dword [ebp - 4]
lea eax, [ebx + 0x238]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [edi + 0x2730]
mov edx, dword [eax]
mov dword [ebp + 0x1c], eax
cmp edx, eax
je 0x8370f692
push 8
pop ecx
lea edi, [ebx + 8]
lea esi, [edx - 0x4c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x8370f684
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jg 0x8370f68f
mov edx, dword [edx]
cmp edx, dword [ebp + 0x1c]
jne 0x8370f670
mov edi, dword [ebp - 4]
inc dword [edi + 0x2738]
mov ecx, dword [edx + 4]
lea eax, [ebx + 0x54]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
mov dword [edx + 4], eax
call dword [0x870f47d0]
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x50]
lea edx, [ebp - 0x14]
call dword [0x870f47cc]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x8370f6c0
inc dword [esi + 0x60]
lea ecx, [esi + 0x58]
mov edx, dword [ecx]
lea eax, [ebx + 0x5c]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [edx + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
call dword [0x870f47d0]
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8370f71a
cmp byte [eax + 0x1d], 4
jb 0x8370f71a
test byte [eax + 0x20], 4
je 0x8370f71a
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
push ecx
push dword [edi + 8]
push ecx
push 0x870f9858
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837c39c5
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x18