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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x270
mov dword [esp + 4], ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x6e46000]
xor eax, ebp
mov dword [esp + 0x268], eax
mov ecx, dword [ebx + 0x50]
call fcn.385ea7d0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov word [esp + 0x40], 0
lea eax, [esp + 0x10]
mov dword [esp + 0x28], eax
lea edi, [esp + 0x80]
mov ecx, edi
push 0
push 0
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push esi
push dword [edx + 0x2a0]
call fcn.385fe150
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
push edi
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x88]
mov dword [esp + 0x80], 0x6dbacd0
mov ecx, edi
call fcn.385fe6f0
mov ecx, edi
call fcn.385fdd30
lea eax, [esp + 0x59]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x1e
mov dword [esp + 0x78], 0
mov byte [esp + 0x59], 0
xor eax, eax
test esi, esi
je 0x38477617
mov edx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [esi + edx + 1], 0
lea edx, [edx + 1]
jne 0x384775d0
cmp edx, 0xffffffff
jne 0x384775fc
mov ecx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ecx + 1]
cmp byte [esi + ecx + 1], 0
mov ecx, edx
jne 0x384775f0
test edx, edx
je 0x38477617
cmp byte [esi], 0x7f
jne 0x38477615
add edx, 0xffffffff
lea eax, [esi + 1]
lea ecx, [esp + 0x4c]
push edx
push eax
push 1
jmp 0x3847761f
mov eax, edx
lea ecx, [esp + 0x4c]
push eax
push esi
push 0
call fcn.3840ea30
mov dword [esp + 0xc], 0
movzx ebx, byte [ebp + 0x18]
movzx edi, byte [ebp + 0x10]
mov ecx, dword [esp + 4]
push ebx
push edi
push 0
push esi
push dword [ebp + 8]
call fcn.384772c0
test eax, eax
je 0x3847765a
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
and ecx, 0xfffffffe
cmp ecx, 6
jne 0x38477703
lea eax, [esp + 0xc]
mov ecx, dword [esp + 4]
push ebx
push 0
push 0
push 0
push edi
push eax
push 1
push esi
mov esi, ecx
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.384766f0
test eax, eax
je 0x38477837
mov edi, eax
mov ecx, esi
push 0
push 0
push eax
lea ebx, [esp + 0x8c]
push ebx
call fcn.38477920
lea ecx, [esp + 0x4c]
push ebx
call fcn.38419690
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0xac]
test eax, eax
je 0x384776c2
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x88], 0x1f
jb 0x384776ec
mov eax, dword [esp + 0x80]
add dword [eax - 5], 0xffffffff
jne 0x384776ec
mov eax, dword [esp + 0x80]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
sub esp, 8
mov dword [esp + 4], edi
mov ecx, esi
call fcn.38477420
mov dword [esp + 0xc], eax
jmp 0x38477837
mov esi, dword [esp + 4]
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edi, eax
mov edx, eax
push 3
call fcn.38679e00
test eax, eax
je 0x3847781e
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, ebx
push 9
call fcn.38679ae0
test eax, eax
je 0x3847774b
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax]
jb 0x3847773e
cmp dword [eax + 0x1c], 0
je 0x3847774b
mov dword [esp + 0xc], 0xc0000022
jmp 0x38477837
push ebx
call fcn.3847fd10
add esp, 4
test al, al
je 0x38477768
mov ecx, dword [esi]
push ebx
call fcn.3847fd30
cmp eax, 0x21
sete al
jmp 0x38477783
mov eax, dword [ebx]
cmp dword [eax + 8], 4
jne 0x38477789
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, ebx
push 0xc
call fcn.38679c00
and eax, 0x10
shr eax, 4
mov dword [esp + 8], eax
jmp 0x38477791
mov dword [esp + 8], 0
mov ecx, dword [esi]
mov esi, dword [esi + 4]
push ebx
call fcn.3847d7c0
cmp esi, eax
je 0x384777c1
push ebx
call fcn.3847fd10
add esp, 4
test al, al
je 0x384777c5
mov esi, dword [esp + 4]
mov ecx, dword [esi]
push ebx
call fcn.3847fd30
cmp eax, 0x22
sete al
jmp 0x384777cb
mov al, 1
jmp 0x384777c7
xor eax, eax
mov esi, dword [esp + 4]
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x19
je 0x384777f4
cmp ecx, 0x18
je 0x38477802
cmp ecx, 0x17
jne 0x38477817
mov ecx, dword [esp + 8]
xor cl, 1
or al, cl
cmp al, 1
jne 0x38477817
mov dword [esp + 0xc], 0xc0000103
jmp 0x38477837
test al, al
je 0x38477817
mov dword [esp + 0xc], 0xc0000121
jmp 0x38477837
mov ecx, dword [esp + 8]
or cl, al
cmp cl, 1
jne 0x38477817
mov dword [esp + 0xc], 0xc00000ba
jmp 0x38477837
cmp dword [esp + 0xc], 0
jne 0x38477837
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, edi
push 4
push 0
push 3
call fcn.38679800
mov ecx, dword [esi]
push edi
call fcn.38480600
mov eax, dword [esp + 0x4c]
cmp byte [eax - 1], 0x7f
jne 0x38477844
add eax, 0xffffffff
lea ebx, [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, ecx
mov edx, dword [ecx + 0x50]
lea esi, [esp + 0x80]
mov ecx, esi
push 0
push 0
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push eax
push dword [edx + 0x2a0]
call fcn.385fe150
cmp dword [esp + 0xc], 0
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
je 0x38477891
push esi
push ebx
call dword [eax + 0x90]
jmp 0x38477899
push esi
push ebx
call dword [eax + 0x8c]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x80], 0x6dbacd0
lea edi, [esp + 0x80]
mov ecx, edi
call fcn.385fe6f0
mov ecx, edi
call fcn.385fdd30
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x384778d6
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x54], 0x1f
jb 0x384778f7
mov eax, dword [esp + 0x4c]
add dword [eax - 5], 0xffffffff
jne 0x384778f7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
lea ecx, [esp + 0x10]
call fcn.385fea10
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call 0x387310a4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14