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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 0x74]
push edi
call fcn.00b87627
mov ecx, dword [ebp + 0xc]
xor eax, eax
push 0xc10910
mov dword [esp + 0x28], eax
call fcn.00b89ae8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00b89851
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x54], eax
inc dword [eax]
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00b89851
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], eax
inc dword [eax]
call fcn.00b87627
lea ecx, [esp + 0x38]
call fcn.00b87627
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00b89851
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.00ba0757
push eax
lea ecx, [esp + 0x30]
call fcn.00b851ee
mov esi, 0xc3a598
push esi
push dword [esp + 0x30]
jmp 0xbef1da
push eax
lea ecx, [esp + 0x3c]
call fcn.00b87b8c
push 0xc3ae20
lea ecx, [esp + 0x3c]
call fcn.00be5a47
push 0xc3ae24
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.00be5a47
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0xbef272
cmp esi, 0xffffffff
je 0xbef272
cmp esi, eax
jb 0xbef272
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.00b87aee
push 0xc3a598
lea ecx, [esp + 0x18]
call fcn.00b87c6b
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x78]
sub esi, eax
dec esi
inc eax
push esi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00b8780b
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x18]
call fcn.00b87aee
mov esi, 0xc3a598
lea ecx, [esp + 0x14]
push esi
call fcn.00b87c6b
push esi
push 0
call fcn.00ba4f48
pop ecx
pop ecx
test eax, eax
jne 0xbef13c
push esi
lea ecx, [esp + 0x18]
call fcn.00b87c6b
xor esi, esi
inc esi
cmp dword [esp + 0x18], esi
jbe 0xbef222
push esi
lea ecx, [esp + 0x18]
call fcn.00b879b2
cmp word [eax], 0x7c
jne 0xbef21b
push esi
lea ecx, [esp + 0x18]
call fcn.00b879b2
xor ecx, ecx
mov word [eax], cx
inc esi
cmp esi, dword [esp + 0x18]
jb 0xbef1fc
cmp dword [ebp + 0x10], 6
jb 0xbef237
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
call fcn.00be8c77
mov dword [esp + 0x24], eax
push 0x1fffe
call fcn.00ba18c6
pop ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00b851ee
cmp dword [ebp + 0x10], 5
jb 0xbef287
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x10]
mov ecx, esi
call fcn.00b89851
mov eax, dword [esi + 8]
mov esi, dword [esp + 0xc]
push dword [eax]
push esi
call fcn.00ba38cc
pop ecx
pop ecx
jmp 0xbef290
mov eax, dword [ebx]
push 0
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00bd70e7
jmp 0xbef48a
mov esi, dword [esp + 0xc]
xor eax, eax
mov word [esi], ax
push 0x58
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.00ba38f0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x10], 4
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa4], esi
mov esi, 0x80004
mov dword [esp + 0x88], 0x58
mov dword [esp + 0xa8], 0xffff
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], 0xc10910
jb 0xbef38c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
cmp eax, 0x1f
jg 0xbef38c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
test eax, eax
js 0xbef38c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
test al, 0x10
je 0xbef338
add esi, 2
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
test al, 8
je 0xbef34d
or esi, 0x2000
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
test al, 4
je 0xbef362
or esi, 0x200
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
test al, 2
je 0xbef377
or esi, 0x800
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
call fcn.00b89b8c
test al, 1
je 0xbef38c
or esi, 0x1000
cmp byte [ebp + 0x14], 0
lea eax, [esp + 0x88]
mov dword [esp + 0xbc], esi
push eax
je 0xbef445
call dword [0xc100b8]
test eax, eax
je 0xbef460
push dword [esp + 0xa4]
test esi, 0x200
je 0xbef456
call fcn.00ba370c
pop ecx
push dword [esp + 0xa4]
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.00b87da1
mov eax, dword [esp + 0xa4]
add eax, 2
xor ebx, ebx
jmp 0xbef41e
push eax
call fcn.00ba370c
lea ecx, [esp + 0x5c]
mov dword [esp], 0xc3a598
mov esi, eax
call fcn.00b87c6b
push dword [esp + 0xa4]
lea ecx, [esp + 0x5c]
call fcn.00b87c6b
mov eax, dword [esp + 0xa4]
add eax, 2
lea eax, [eax + esi*2]
mov dword [esp + 0xa4], eax
cmp word [eax], bx
jne 0xbef3ec
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x58]
push eax
call fcn.00b89a8c
lea ecx, [esp + 0x58]
call fcn.00b858c4
jmp 0xbef471
call dword [0xc100bc]
test eax, eax
je 0xbef460
push dword [esp + 0xa4]
mov ecx, dword [ebp + 0xc]
call fcn.00b89ae8
jmp 0xbef471
xor eax, eax
push eax
mov eax, dword [ebx]
push 1
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00bd70e7
mov eax, dword [esp + 0x10]
dec dword [eax]
jne 0xbef48a
push eax
call fcn.00ba193c
pop ecx
push dword [esp + 0xc]
call fcn.00ba193c
pop ecx
mov eax, dword [esp + 0x30]
dec dword [eax]
jne 0xbef4a3
push eax
call fcn.00ba193c
pop ecx
push dword [esp + 0x2c]
call fcn.00ba193c
pop ecx
lea ecx, [esp + 0x38]
call fcn.00b858c4
lea ecx, [esp + 0x14]
call fcn.00b858c4
lea ecx, [esp + 0x68]
call fcn.00b858c4
lea ecx, [esp + 0x48]
call fcn.00b858c4
lea ecx, [esp + 0x78]
call fcn.00b858c4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10