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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x680
mov dword [esp], ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x6e46000]
xor eax, ebp
mov dword [esp + 0x678], eax
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x490]
push 0
push 0
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push dword [ebp + 0xc]
push dword [eax + 0x2a0]
call fcn.385fe150
mov ecx, dword [esi + 0x50]
call fcn.385ea7d0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x50]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov word [esp + 0x50], 0
lea ebx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], 0
lea edi, [esp + 0x2a8]
mov ecx, edi
push 0
push 0
push 0
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push dword [ebp + 0x10]
push dword [edx + 0x2a0]
call fcn.385fe150
mov ecx, dword [esi + 0x50]
call fcn.385ea7d0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov word [esp + 0x88], 0
lea eax, [esp + 0x58]
mov dword [esp + 0x70], eax
mov ecx, dword [edx + 0x2a4]
mov edx, dword [ecx]
push edi
lea edi, [esp + 0x494]
push edi
push eax
call dword [edx + 0x94]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x3847b0e3
cmp byte [edx], 0
je 0x3847b0e3
mov al, byte [ebp + 0x14]
movzx edi, byte [ebp + 0x1c]
movzx ebx, al
mov ecx, dword [esp]
push edi
push ebx
push 0
push edx
push esi
call fcn.384772c0
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edi
je 0x3847b30a
mov edx, eax
mov edi, dword [esp]
mov eax, dword [edi]
mov ecx, dword [eax]
push 3
call fcn.38679e00
mov ebx, eax
test ebx, ebx
je 0x3847b334
push ebx
call fcn.3847fd10
add esp, 4
test al, al
je 0x3847b4b6
mov ecx, dword [edi]
push ebx
call fcn.3847fd30
cmp eax, 0x21
sete al
jmp 0x3847b4d1
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
push edi
push ebx
call dword [eax + 0x9c]
mov edi, 0xc000003a
mov esi, 1
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x58]
call fcn.385fea10
mov dword [esp + 0x2a8], 0x6dbacd0
lea ebx, [esp + 0x2a8]
mov ecx, ebx
call fcn.385fe6f0
mov ecx, ebx
call fcn.385fdd30
test esi, esi
jne 0x3847b903
lea eax, [esp + 0x281]
mov dword [esp + 0x274], eax
mov dword [esp + 0x278], 0
mov dword [esp + 0x27c], 0x1e
mov dword [esp + 0x2a0], 0
mov word [esp + 0x280], 0
lea eax, [esp + 0x24d]
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], 0
mov dword [esp + 0x248], 0x1e
mov dword [esp + 0x26c], 0
mov word [esp + 0x24c], 0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x3847b370
mov esi, dword [esp]
mov ecx, esi
push 0
push 0
push edi
push ebx
call fcn.38477920
lea ecx, [esp + 0x274]
push ebx
call fcn.38419690
mov dword [esp + 0x2ac], 0
mov eax, dword [esp + 0x2d4]
test eax, eax
je 0x3847b20b
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x2b0], 0x1f
jb 0x3847b235
mov eax, dword [esp + 0x2a8]
add dword [eax - 5], 0xffffffff
jne 0x3847b235
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, edi
push 3
call fcn.386798e0
mov ecx, dword [esi]
push edi
call fcn.3847e4c0
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, 4
call fcn.386789e0
test eax, eax
je 0x3847b4d7
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, edi
push 1
push dword [esp + 0x10]
push 1
call fcn.386795a0
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [esp + 4]
push 1
push edi
push 0xfffffffffffffffe
call fcn.38679990
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, edi
push 1
push dword [esp + 0xc]
push 3
call fcn.38679800
mov ecx, esi
push 0
push 0
push edi
push ebx
call fcn.38477920
lea ecx, [esp + 0x240]
push ebx
call fcn.38419690
mov dword [esp + 0x2ac], 0
mov eax, dword [esp + 0x2d4]
test eax, eax
je 0x3847b2d3
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x2b0], 0x1f
jb 0x3847b793
mov eax, dword [esp + 0x2a8]
add dword [eax - 5], 0xffffffff
jne 0x3847b793
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
jmp 0x3847b793
lea eax, [esp + 0x1c]
mov ecx, dword [esp]
push edi
push 0
push 0
push 0
push ebx
push eax
push 1
push dword [ebp + 0xc]
push esi
push 0x19
call fcn.384766f0
mov ebx, eax
mov edi, dword [esp]
test ebx, ebx
jne 0x3847b0bf
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
lea edx, [esp + 0x494]
push edx
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x9c]
mov esi, 1
mov dword [esp + 8], 0
mov edi, dword [esp + 0x1c]
jmp 0x3847b110
mov eax, dword [esp + 8]
add word [eax + 0xe], 1
mov edi, dword [esp]
mov ecx, edi
push 0
push 0
push eax
push ebx
call fcn.38477920
lea ecx, [esp + 0x274]
push ebx
call fcn.38419690
mov dword [esp + 0x2ac], 0
mov eax, dword [esp + 0x2d4]
test eax, eax
je 0x3847b3b5
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x2b0], 0x1f
jb 0x3847b3df
mov eax, dword [esp + 0x2a8]
add dword [eax - 5], 0xffffffff
jne 0x3847b3df
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
mov ecx, dword [edi]
mov esi, dword [esp + 8]
push esi
call fcn.38480600
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, esi
push 4
push dword [esp + 0x10]
push 1
call fcn.386795a0
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [esp + 4]
push 1
push esi
push 0xfffffffffffffffe
call fcn.38679990
mov ecx, edi
push 0
push 0
push esi
push ebx
call fcn.38477920
lea ecx, [esp + 0x240]
push ebx
call fcn.38419690
mov dword [esp + 0x2ac], 0
mov eax, dword [esp + 0x2d4]
test eax, eax
je 0x3847b449
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x2b0], 0x1f
jb 0x3847b473
mov eax, dword [esp + 0x2a8]
add dword [eax - 5], 0xffffffff
jne 0x3847b473
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
mov ebx, dword [esp + 8]
add word [ebx + 0xe], 0xffff
mov esi, dword [esp + 0xc]
cmp byte [esi], 0x7f
jne 0x3847b488
add esi, 1
push esi
call fcn.38416170
add esp, 4
cmp eax, 0xc
ja 0x3847b783
lea edx, [esi + eax]
add edx, 0xffffffff
cmp edx, esi
jae 0x3847b6d1
cmp eax, 9
jae 0x3847b783
jmp 0x3847b793
mov eax, dword [ebx]
cmp dword [eax + 8], 4
jne 0x3847b4e1
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, ebx
push 0xc
call fcn.38679c00
and eax, 0x10
shr eax, 4
mov dword [esp + 0x10], eax
jmp 0x3847b4e9
mov edi, 0xc0000001
jmp 0x3847b871
mov dword [esp + 0x10], 0
mov ecx, dword [edi]
mov esi, dword [edi + 4]
push ebx
call fcn.3847d7c0
cmp esi, eax
je 0x3847b50d
push ebx
call fcn.3847fd10
add esp, 4
test al, al
je 0x3847b50d
mov ecx, dword [edi]
push ebx
call fcn.3847fd30
cmp byte [ebp + 0x1c], 0
mov dword [esp + 8], ebx
jne 0x3847b56f
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, ebx
push 9
call fcn.38679ae0
test eax, eax
je 0x3847b56f
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax]
jae 0x3847b56f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
lea edx, [esp + 0x494]
push edx
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x9c]
mov edi, 0xc0000043
mov dword [esp + 4], 0
mov esi, 1
jmp 0x3847b6b2
mov ebx, dword [esp + 0x10]
movzx eax, bl
mov edx, 0x18
sub edx, eax
lea eax, [esp + 0x274]
lea esi, [esp + 0x1c]
mov ecx, edi
push dword [esp + 0xc]
push 0
push 0
push eax
push dword [esp + 0x14]
push esi
push 3
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push esi
push edx
call fcn.384766f0
test eax, eax
je 0x3847b67b
mov ecx, dword [edi]
push eax
mov esi, eax
call fcn.38480480
mov dword [esp + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x14], esi
push esi
call fcn.3847d7c0
mov dword [esp + 4], eax
test bl, bl
lea esi, [esp + 0x20]
je 0x3847b5fe
mov eax, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edi]
push eax
call fcn.3847d7c0
cmp eax, dword [esp + 8]
je 0x3847b708
test eax, eax
mov edi, dword [esp]
je 0x3847b5fe
cmp eax, dword [edi + 4]
jne 0x3847b5e0
cmp dword [esp + 0x274], 1
jne 0x3847b6b7
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 8]
je 0x3847b73c
cmp byte [ebp + 0x18], 0
je 0x3847b946
mov edi, dword [esp]
mov ecx, dword [edi]
push ebx
call fcn.3847d7c0
cmp eax, dword [edi + 4]
je 0x3847b99e
push ebx
call fcn.3847fd10
add esp, 4
test al, al
je 0x3847b659
mov eax, dword [esp]
mov ecx, dword [eax]
push ebx
call fcn.3847fd30
cmp eax, 0x22
je 0x3847b99e
mov edi, dword [esp]
mov ecx, dword [edi]
push 0
push ebx
call fcn.38480570
test eax, eax
je 0x3847b97a
mov dword [esp + 0x1c], 0xc0000101
jmp 0x3847b9a6
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
lea edx, [esp + 0x494]
push edx
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x9c]
mov dword [esp + 4], 0
mov esi, 1
mov edi, dword [esp + 0x1c]
jmp 0x3847b120
mov eax, dword [esp]
mov ecx, dword [eax]
push dword [esp + 0x14]
call fcn.38480600
mov edi, 0xc0000043
xor esi, esi
jmp 0x3847b120
xor ecx, ecx
jmp 0x3847b6f5
test ecx, ecx
mov ecx, edx
mov ebx, dword [esp + 8]
jne 0x3847b783
add edx, 0xffffffff
cmp edx, esi
jb 0x3847b76d
movzx ebx, byte [edx]
cmp bl, 0x2e
je 0x3847b6e0
cmp bl, 0x20
mov ebx, dword [esp + 8]
jne 0x3847b6ee
jmp 0x3847b783
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
lea edx, [esp + 0x494]
push edx
push esi
call dword [eax + 0x9c]
mov edi, 0xc0000022
mov esi, 1
jmp 0x3847b120
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
lea edx, [esp + 0x494]
push edx
push esi
call dword [eax + 0x9c]
xor edi, edi
mov esi, 1
jmp 0x3847b120
test ecx, ecx
je 0x3847b4a8
sub ecx, esi
cmp ecx, 8
jg 0x3847b783
sub eax, ecx
cmp eax, 4
jbe 0x3847b793
mov ecx, dword [edi]
push dword [esp + 0xc]
push ebx
push dword [esp + 0xc]
call fcn.3847dd60
mov eax, dword [esp + 0x274]
cmp byte [eax - 1], 0x7f
jne 0x3847b7a3
add eax, 0xffffffff
mov ecx, dword [ebp + 8]
mov edi, ecx
mov edx, dword [ecx + 0x50]
lea esi, [esp + 0x2a8]
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
mov eax, dword [esp + 0x240]
cmp byte [eax - 1], 0x7f
jne 0x3847b7e0
add eax, 0xffffffff
mov ebx, edi
mov edx, dword [edi + 0x50]
lea edi, [esp + 0x58]
mov ecx, edi
push 0
push 0
push 0
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push eax
push dword [edx + 0x2a0]
call fcn.385fe150
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
cmp byte [esp + 0x10], 0
je 0x3847b828
push edi
push esi
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x9c]
jmp 0x3847b835
push edi
push esi
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x98]
mov dword [esp + 0x58], 0x6dbacd0
lea esi, [esp + 0x58]
mov ecx, esi
call fcn.385fe6f0
mov ecx, esi
call fcn.385fdd30
mov dword [esp + 0x2a8], 0x6dbacd0
lea esi, [esp + 0x2a8]
mov ecx, esi
call fcn.385fe6f0
mov ecx, esi
call fcn.385fdd30
xor edi, edi
mov dword [esp + 0x244], 0
mov eax, dword [esp + 0x26c]
test eax, eax
je 0x3847b890
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x248], 0x1f
jb 0x3847b8ba
mov eax, dword [esp + 0x240]
add dword [eax - 5], 0xffffffff
jne 0x3847b8ba
mov eax, dword [esp + 0x240]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
mov dword [esp + 0x278], 0
mov eax, dword [esp + 0x2a0]
test eax, eax
je 0x3847b8d9
push eax
call fcn.38410d10
add esp, 4
cmp dword [esp + 0x27c], 0x1f
jb 0x3847b903
mov eax, dword [esp + 0x274]
add dword [eax - 5], 0xffffffff
jne 0x3847b903
mov eax, dword [esp + 0x274]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
lea ecx, [esp + 0x20]
call fcn.385fea10
mov dword [esp + 0x490], 0x6dbacd0
lea esi, [esp + 0x490]
mov ecx, esi
call fcn.385fe6f0
mov ecx, esi
call fcn.385fdd30
mov ecx, dword [esp + 0x678]
xor ecx, ebp
call 0x387310a4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea edx, [esp + 0x2a8]
push edx
lea edx, [esp + 0x494]
push edx
push esi
call dword [eax + 0x9c]
mov edi, 0xc0000035
mov esi, 1
jmp 0x3847b120
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, ebx
push 9
call fcn.38679ae0
test eax, eax
je 0x3847b9dd
cmp byte [eax + 0x20], 0
jne 0x3847b99e
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax]
jb 0x3847b99e
cmp dword [eax + 0x1c], 0
je 0x3847b9dd
mov dword [esp + 0x1c], 0xc0000121
lea edx, [esp + 0x490]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x2a4]
mov eax, dword [ecx]
lea esi, [esp + 0x2a8]
push esi
push edx
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x9c]
mov esi, 1
mov edi, dword [esp + 0x1c]
jmp 0x3847b120
sub esp, 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 8]
call fcn.38477420
mov dword [esp + 0x1c], eax
test eax, eax
lea edx, [esp + 0x490]
mov esi, dword [ebp + 8]
jne 0x3847b9b0
jmp 0x3847b6c5