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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
or dword [esp + 0x20], 0xffffffff
mov eax, ecx
mov dword [esp + 0xc], eax
push ebx
push esi
mov ecx, dword [eax + 0xf4]
mov ebx, edx
mov eax, dword [eax]
mov dword [esp + 0x40], ecx
xor ecx, ecx
push edi
mov dword [esp + 0x40], edx
test byte [eax + 0x4c], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
jne 0x1007c267
imul eax, dword [ebp + 8], 0x48
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
mov ecx, dword [eax + edx + 0x34]
mov esi, dword [eax + edx + 0x1c]
mov dword [esp + 0x48], ecx
xor ecx, ecx
cmp dword [ebx + 0x44], ecx
jne 0x1007c267
cmp dword [esi + 0x44], ecx
jne 0x1007c267
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x20]
test eax, eax
je 0x1007bd3b
cmp dword [ebx + 0x3c], ecx
jne 0x1007c267
cmp dword [eax + 0x10], ecx
jne 0x1007c267
test dword [ebx + 4], 0x100
je 0x1007bd4c
test eax, eax
jne 0x1007c267
cmp dword [edi], ecx
je 0x1007c267
test byte [esi + 4], 1
jne 0x1007c267
mov ecx, dword [ebp + 0xc]
test eax, eax
je 0x1007bd76
cmp dword [edx], 1
jg 0x1007c267
test ecx, ecx
jne 0x1007c267
cmp dword [ebx + 0x30], 0
je 0x1007bd86
cmp dword [esi + 0x30], 0
jne 0x1007c267
test ecx, ecx
je 0x1007bd94
cmp dword [esi + 0x30], 0
jne 0x1007c267
test eax, eax
je 0x1007bdad
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x1007c267
test byte [ebx + 4], 1
jne 0x1007c267
test dword [esi + 4], 0x2000
jne 0x1007c267
mov eax, dword [esp + 0x14]
test byte [eax + edx + 0x2c], 0x20
je 0x1007bdf4
xor eax, eax
inc eax
mov dword [esp + 0x30], eax
cmp dword [edi], eax
jg 0x1007c267
test ecx, ecx
jne 0x1007c267
mov eax, dword [edi + 0x18]
xor edi, edi
cmp dword [eax + 0x38], edi
jne 0x1007c267
test byte [ebx + 4], 1
jne 0x1007c267
xor eax, eax
cmp dword [esi + 0x34], eax
je 0x1007be85
cmp dword [esi + 0x30], eax
jne 0x1007c267
test ecx, ecx
jne 0x1007c267
test byte [ebx + 4], 1
jne 0x1007c267
cmp dword [edx], 1
jne 0x1007c267
mov ecx, esi
test byte [ecx + 4], 9
jne 0x1007c267
mov edi, dword [ecx + 0x34]
test edi, edi
je 0x1007be3f
cmp byte [ecx], 0x85
jne 0x1007c267
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x1007c267
xor eax, eax
cmp dword [ecx + 0x44], eax
jne 0x1007c267
mov ecx, edi
test ecx, ecx
jne 0x1007be25
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x1007be85
mov edi, eax
mov eax, dword [ecx]
test eax, eax
jle 0x1007be85
add ecx, 0x14
xor edx, edx
cmp word [ecx], dx
mov edx, dword [esp + 0x28]
je 0x1007c267
inc edi
add ecx, 0x14
cmp edi, eax
jl 0x1007be6e
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, edi
mov eax, dword [eax + edx + 0x10]
mov dword [edi + 0xf4], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.10067245
mov eax, dword [esp + 0x44]
mov dword [edi + 0xf4], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1007bf32
mov eax, dword [ebx + 0x34]
mov edx, ebx
mov edi, dword [ebx + 0x30]
mov esi, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
xor eax, eax
push eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x3c], eax
call fcn.1005f660
mov ecx, eax
mov dword [ebx + 0x3c], esi
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x20], esi
mov byte [ebx], 0x85
test ecx, ecx
je 0x1007bf0b
mov dword [ecx + 0x34], eax
test eax, eax
je 0x1007bf06
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], ebx
mov eax, ecx
push 0x34
pop edx
mov ecx, ebx
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x51], 0
jne 0x1007c262
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1007bebb
jmp 0x1007bf36
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi + 0x1c]
mov edi, ecx
mov edx, dword [eax + esi + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edi
test edx, edx
je 0x1007bf5d
mov ecx, dword [esp + 0x1c]
call fcn.10036499
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi + 0x10]
test edx, edx
je 0x1007bf72
mov ecx, dword [esp + 0x1c]
call fcn.10036499
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi + 0x14]
test edx, edx
je 0x1007bf87
mov ecx, dword [esp + 0x1c]
call fcn.10036499
mov eax, dword [esp + 0x14]
mov edx, dword [eax + esi + 0x18]
xor ecx, ecx
mov dword [eax + esi + 0xc], ecx
mov dword [eax + esi + 0x10], ecx
mov dword [eax + esi + 0x14], ecx
mov dword [eax + esi + 0x1c], ecx
test edx, edx
je 0x1007bfd8
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x1007bfc8
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp dword [eax + 0x74], 0
cmovne ecx, dword [eax + 0x74]
mov eax, dword [ecx + 0x104]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x104], edx
jmp 0x1007bfcc
dec eax
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [eax + esi + 0x18], edx
jmp 0x1007bfda
xor edx, edx
imul eax, dword [ebp + 8], 0x48
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [ebx + 0x20]
mov byte [esp + 0x13], dl
mov dword [esp + 0x3c], eax
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x1007c010
mov eax, dword [esp + 0x14]
mov al, byte [eax + esi + 0x2c]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x13], al
jmp 0x1007c036
mov esi, dword [esp + 0x18]
xor eax, eax
push eax
push eax
xor edx, edx
mov ecx, esi
call fcn.1006bbbf
mov ecx, eax
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x1007c21c
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x20], ecx
cmp edx, 1
jle 0x1007c062
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [edx - 1]
mov edx, ecx
push eax
mov ecx, esi
call fcn.1006ba88
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x1007c21c
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x20], ecx
test edx, edx
jle 0x1007c0c9
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
add ebx, 8
add edi, 8
mov dword [esp + 0x3c], edx
add edi, ecx
mov dword [esp + 0x38], edi
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x1c]
call fcn.1006ba05
push 0x12
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
xor esi, esi
push 0x48
push esi
push ebx
mov dword [esp + 0x38], eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esp + 0x44]
add esp, 0xc
add edi, 0x48
add ebx, 0x48
sub dword [esp + 0x3c], 1
mov dword [esp + 0x38], edi
jne 0x1007c07e
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
jmp 0x1007c0cb
xor esi, esi
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0x13]
mov byte [edx + ecx + 0x2c], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1007c103
test dword [ebx + 4], 0x400000
jne 0x1007c103
mov edx, esi
cmp dword [eax], esi
jle 0x1007c0fd
lea ecx, [eax + 0x14]
xor esi, esi
inc edx
mov word [ecx], si
lea ecx, [ecx + 0x14]
cmp edx, dword [eax]
jl 0x1007c0f0
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], esi
mov esi, dword [edi + 0x24]
xor eax, eax
mov dword [edi + 0x24], eax
cmp dword [esp + 0x30], eax
jbe 0x1007c11c
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.1007891c
test esi, esi
je 0x1007c140
cmp dword [ebx + 0x24], 0
je 0x1007c13d
push dword [ebx + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
push 0x2c
pop edx
call fcn.1005ebaf
mov dword [ebx + 0x24], eax
jmp 0x1007c144
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x51], 0
jne 0x1007c17f
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
mov edx, ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x60], eax
xor eax, eax
push eax
mov dword [esp + 0x54], esi
call fcn.1007bbe3
mov eax, dword [edi + 4]
xor edx, edx
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1007c199
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], edx
cmp dword [esp + 0x20], 0
jle 0x1007c1fe
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esi, 0x40
add esi, dword [esp + 0x34]
cmp dword [esi - 0x28], edx
je 0x1007c1f2
mov dword [esp + 0x50], edx
lea eax, [esi - 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x64], edx
mov dword [esi], edx
lea ecx, [esp + 0x50]
mov dword [esi + 4], edx
mov edx, ebx
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x54], 0x1007bc80
mov dword [esp + 0x58], 0x1003af42
mov dword [esp + 0x68], eax
call fcn.1005bfef
mov eax, dword [esp + 0x20]
xor edx, edx
add esi, 0x48
sub eax, 1
mov dword [esp + 0x20], eax
jne 0x1007c1af
mov ebx, dword [ebx + 0x34]
mov edi, dword [edi + 0x34]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
test ebx, ebx
jne 0x1007bfe2
mov esi, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x6c]
mov edx, esi
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x70], 0x1006368d
mov dword [esp + 0x74], 0x1003af42
call fcn.1005bfef
test esi, esi
je 0x1007c262
mov ecx, dword [esp + 0x1c]
mov edx, esi
push 1
call fcn.10078541
xor eax, eax
inc eax
jmp 0x1007c269
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8