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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 4]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0xc], ebx
je 0x6a44b7
cmp dword [ebx + 4], 4
jne 0x6a44b7
mov ecx, dword [esi + 8]
cmp ecx, edi
jne 0x6a3f35
mov eax, 0x80004005
jmp 0x6a44b9
push dword [esi + 0x14]
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
push eax
push ebx
call fcn.006be7e4
cmp eax, edi
jl 0x6a44b9
push dword [esi + 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 0x20]
xor ecx, ecx
push 4
add eax, 0xb
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
pop ecx
mov dword [esi + 0x18], eax
jne 0x6a3f82
mov eax, 0x8007000e
jmp 0x6a44b9
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx*4 + 0x2c]
push ecx
push 0xff
push eax
call sub.msvcrt.dll_memset
push dword [esi + 0x1c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 0x34]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
cmp eax, edi
mov dword [esi + 0x1c], eax
je 0x6a3f78
mov ecx, dword [ebx + 0x34]
shl ecx, 2
push ecx
push 0xff
push eax
call sub.msvcrt.dll_memset
push dword [esi + 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 0x24]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
cmp eax, edi
mov dword [esi + 0x24], eax
je 0x6a3f78
mov ecx, dword [ebx + 0x24]
shl ecx, 2
push ecx
push edi
push eax
call sub.msvcrt.dll_memset
push dword [esi + 0x2c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 0x28]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
cmp eax, edi
mov dword [esi + 0x2c], eax
je 0x6a3f78
mov ecx, dword [ebx + 0x28]
shl ecx, 2
push ecx
push 0xff
push eax
call sub.msvcrt.dll_memset
fldz
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x20]
add esp, 0xc
inc eax
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x20]
inc eax
inc eax
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x20]
add eax, 3
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x20]
add eax, 4
mov ecx, dword [esi + 8]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x20]
add eax, 5
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x20]
add eax, 6
mov dword [esi + 0x7c], eax
mov eax, dword [ebx + 0x20]
add eax, 7
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0x20]
push edi
add eax, 8
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x20]
push edi
push ecx
add eax, 9
push ecx
mov dword [esi + 0x88], eax
fstp qword [esp]
mov eax, dword [ebx + 0x20]
push edi
add eax, 0xa
push edi
mov dword [esi + 0x8c], eax
push dword [ecx + 0x2aa4]
call fcn.006b574c
fldz
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x38]
push edi
push edi
or ebx, 0xffffffff
mov dword [ecx + eax*4], ebx
mov ecx, dword [esi + 8]
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push dword [ecx + 0x2aa4]
call fcn.006b574c
fldz
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x18]
push edi
push edi
mov dword [edx + ecx*4], eax
mov ecx, dword [esi + 8]
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push dword [ecx + 0x2aa4]
call fcn.006b574c
fld1
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x18]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esi + 8]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov ecx, dword [ecx + eax*4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
push 0x20
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 8]
mov ebx, 0x800
push ebx
push ecx
push ecx
fstp qword [esp]
push edi
push edi
push dword [ecx + 0x2a54]
call fcn.006b574c
fldz
mov ecx, dword [esi + 8]
push 0x20
push ebx
push ecx
push ecx
fstp qword [esp]
push edi
push edi
mov dword [esi + 0x68], eax
push dword [ecx + 0x2a54]
call fcn.006b574c
fld qword [0x4019c8]
mov ecx, dword [esi + 8]
push 0x20
push ebx
push ecx
push ecx
fstp qword [esp]
push edi
push edi
mov dword [esi + 0x6c], eax
push dword [ecx + 0x2a54]
call fcn.006b574c
mov ecx, dword [esi + 8]
push 0x10
push ebx
push edi
push 1
push edi
mov dword [esi + 0x70], eax
push edi
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push 0x10
push ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x50], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push 0x10
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
mov dword [esi + 0x4c], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push 0x10
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
mov dword [esi + 0x54], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push 8
push ebx
push edi
push 1
push edi
push edi
mov dword [esi + 0x58], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push 8
push ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x60], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push 8
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
mov dword [esi + 0x5c], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push edi
push 0x80000800
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
mov dword [esi + 0x64], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
mov ecx, dword [esi + 8]
push edi
push 0x80000800
push edi
push edi
push edi
push edi
mov dword [esi + 0x40], eax
push dword [ecx + 0x2a54]
call fcn.006b57cb
fldz
mov ecx, dword [esi + 8]
push edi
push edi
push ecx
push ecx
fstp qword [esp]
push edi
push edi
mov dword [esi + 0x44], eax
push dword [ecx + 0x2a50]
call fcn.006b574c
mov ecx, dword [esi + 8]
push 4
push 4
push 0xffffffffffffffff
push edi
push 0x751
push 0x409408
mov dword [esi + 0x48], eax
call fcn.006b56e6
mov ecx, dword [esi + 8]
push 4
push 4
push 0xffffffffffffffff
push edi
push 0x751
push 0x409408
mov dword [esi + 0xb4], eax
call fcn.006b56e6
cmp dword [esi + 0xb4], 0xffffffff
mov dword [esi + 0xb8], eax
je 0x6a3f78
cmp eax, 0xffffffff
je 0x6a3f78
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x6a4364
fld1
jmp 0x6a4366
fldz
push 0x20
push ebx
push ecx
push ecx
mov ecx, dword [esi + 8]
fstp qword [esp]
push dword [ebp - 4]
push eax
push dword [esi + 0xb4]
call fcn.006b574c
cmp eax, 0xffffffff
je 0x6a3f78
mov ecx, dword [ebp - 8]
xor eax, eax
cmp ecx, dword [ebp - 4]
push 8
setne al
push ebx
dec eax
cdq
push edx
push eax
push dword [ebp - 4]
push ecx
push dword [esi + 0xb8]
mov ecx, dword [esi + 8]
call fcn.006b57cb
cmp eax, 0xffffffff
je 0x6a3f78
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jb 0x6a4358
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jb 0x6a4355
mov ecx, esi
call fcn.00679c71
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
mov ecx, esi
call fcn.00679c71
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 8]
test word [eax + 0x98], 0x1000
je 0x6a440b
mov ecx, esi
call fcn.00679c55
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], eax
jmp 0x6a4418
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x18]
or dword [ecx + eax*4], 0xffffffff
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x98], 0xffffffff
xor ebx, ebx
push edi
inc ebx
push edi
lea ecx, [ebp - 0x38]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x9c], edi
call fcn.006ab2bc
lea ecx, [ebp - 0x38]
call fcn.006ab38d
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x6a44aa
lea eax, [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
test dword [eax + 0x98], 0x1000000
jne 0x6a4466
mov dword [ebp - 8], edi
push ebx
mov ebx, dword [ebp - 0xc]
push edi
push dword [ebp - 8]
mov ecx, esi
push dword [ebx + 0x38]
call fcn.006a1aef
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x6a44aa
push edi
push edi
push dword [ebp - 8]
mov ecx, esi
push dword [ebx + 0x38]
call fcn.006a1aef
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x6a44aa
cmp dword [esi + 0xc4], edi
je 0x6a44aa
lea ecx, [ebp - 0x38]
call fcn.006ab2f5
jmp 0x6a3f2b
lea ecx, [ebp - 0x38]
call fcn.006ab2f5
mov eax, dword [ebp - 4]
jmp 0x6a44b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret