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

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x3c
mov eax, dword [ecx]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 8]
lea ebp, [eax + edx*4 + 0x10]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], ebp
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call dword [0x66a20200]
mov edx, dword [esi]
sub esp, 8
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x50]
lea ecx, [edx + 0x10]
mov eax, dword [edx + 8]
lea esi, [ecx + eax*4]
add eax, ebx
lea edi, [ecx + eax*4]
mov dword [esp + 0x20], edi
cmp edi, esi
je 0x667c20d2
mov eax, dword [0x66a21310]
mov dword [esp + 0x18], eax
mov eax, dword [0x66a20150]
mov dword [esp + 0x1c], eax
jmp 0x667c203f
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c2098
lea edx, [edi + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0x14]
mov dword [esp], edx
call eax
mov edx, dword [edi + 0x18]
lea ecx, [ebx + 0x58]
sub esp, 4
mov dword [ebx + 0x18], edx
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [edi + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [edi + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [edi + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [edi + 0x2c]
mov dword [ebx + 0x2c], edx
mov edx, dword [edi + 0x30]
mov dword [ebx + 0x30], edx
mov edx, dword [edi + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [edi + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [edi + 0x3c]
mov dword [ebx + 0x3c], edx
mov edx, dword [edi + 0x40]
mov dword [ebx + 0x40], edx
mov edx, dword [edi + 0x44]
mov dword [ebx + 0x44], edx
mov edx, dword [edi + 0x48]
mov dword [ebx + 0x48], edx
mov edx, dword [edi + 0x4c]
mov dword [ebx + 0x4c], edx
mov edx, dword [edi + 0x50]
mov dword [ebx + 0x50], edx
movzx edx, word [edi + 0x54]
mov word [ebx + 0x54], dx
lea edx, [edi + 0x58]
mov dword [esp], edx
mov eax, dword [esp + 0x1c]
call eax
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x78]
sub esp, 4
mov dword [ebx + 0x68], edx
mov edx, dword [edi + 0x6c]
mov dword [ebx + 0x6c], edx
mov edx, dword [edi + 0x70]
mov dword [ebx + 0x70], edx
mov edx, dword [edi + 0x74]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x74], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c20b0
mov eax, dword [edi + 0x7c]
add esi, 4
add ebp, 4
mov dword [ebx + 0x7c], eax
mov dword [esi - 4], ebx
cmp dword [esp + 0x20], esi
je 0x667c20c0
mov dword [esp], pe_nt_image_headers32
call fcn.6678d230
mov edi, dword [ebp]
mov ebx, eax
movzx edx, word [edi]
mov ecx, dword [edi + 8]
mov word [eax], dx
mov edx, dword [edi + 4]
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c20a8
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c1f60
lock add dword [ecx], 1
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c1f74
lock add dword [ecx], 1
jmp 0x667c1f74
lock add dword [ecx], 1
jmp 0x667c206c
lock add dword [ecx], 1
jmp 0x667c2026
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 8]
lea ecx, [edx + 0x10]
add eax, ebx
mov esi, dword [esp + 0x2c]
add eax, dword [esp + 0x54]
mov edx, dword [edx + 0xc]
lea ebp, [esi + ebx*4]
lea esi, [ecx + eax*4]
mov eax, dword [0x66a21310]
lea edi, [ecx + edx*4]
mov dword [esp + 0x18], eax
mov eax, dword [0x66a20150]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
cmp esi, edi
jne 0x667c21ef
jmp 0x667c2270
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c2248
lea edx, [edi + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0x14]
mov dword [esp], edx
call eax
mov edx, dword [edi + 0x18]
lea ecx, [ebx + 0x58]
sub esp, 4
mov dword [ebx + 0x18], edx
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [edi + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [edi + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [edi + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [edi + 0x2c]
mov dword [ebx + 0x2c], edx
mov edx, dword [edi + 0x30]
mov dword [ebx + 0x30], edx
mov edx, dword [edi + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [edi + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [edi + 0x3c]
mov dword [ebx + 0x3c], edx
mov edx, dword [edi + 0x40]
mov dword [ebx + 0x40], edx
mov edx, dword [edi + 0x44]
mov dword [ebx + 0x44], edx
mov edx, dword [edi + 0x48]
mov dword [ebx + 0x48], edx
mov edx, dword [edi + 0x4c]
mov dword [ebx + 0x4c], edx
mov edx, dword [edi + 0x50]
mov dword [ebx + 0x50], edx
movzx edx, word [edi + 0x54]
mov word [ebx + 0x54], dx
lea edx, [edi + 0x58]
mov dword [esp], edx
mov eax, dword [esp + 0x1c]
call eax
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x78]
sub esp, 4
mov dword [ebx + 0x68], edx
mov edx, dword [edi + 0x6c]
mov dword [ebx + 0x6c], edx
mov edx, dword [edi + 0x70]
mov dword [ebx + 0x70], edx
mov edx, dword [edi + 0x74]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x74], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c2260
mov eax, dword [edi + 0x7c]
add esi, 4
add ebp, 4
mov dword [ebx + 0x7c], eax
mov dword [esi - 4], ebx
cmp dword [esp + 0x20], esi
je 0x667c2270
mov dword [esp], pe_nt_image_headers32
call fcn.6678d230
mov edi, dword [ebp]
mov ebx, eax
movzx edx, word [edi]
mov ecx, dword [edi + 8]
mov word [eax], dx
mov edx, dword [edi + 4]
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c2258
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c2110
lock add dword [ecx], 1
mov ecx, dword [edi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c2124
lock add dword [ecx], 1
jmp 0x667c2124
lock add dword [ecx], 1
jmp 0x667c221c
lock add dword [ecx], 1
jmp 0x667c21d6
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
test eax, eax
je 0x667c22a8
cmp eax, 0xffffffff
je 0x667c2289
mov esi, dword [esp + 0x28]
lock sub dword [esi], 1
je 0x667c22a8
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [edx + 8]
add eax, dword [esp + 0x50]
add esp, 0x3c
pop ebx
lea eax, [edx + eax*4 + 0x10]
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0x28]
call fcn.665b8f00
jmp 0x667c2289