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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ecx]
mov dword [esp + 0x18], ecx
mov edx, dword [eax]
cmp edx, 1
ja 0x667c22f0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov eax, dword [esp + 0x40]
add eax, dword [edx + 8]
mov eax, dword [edx + eax*4 + 0x10]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov edx, dword [eax + 8]
mov esi, ecx
lea edi, [eax + edx*4 + 0x10]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x66a20218]
sub esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
lea edx, [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea ecx, [edx + ecx*4]
lea esi, [edx + eax*4]
mov dword [esp + 0x14], ecx
cmp ecx, esi
jne 0x667c2423
jmp 0x667c24a0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c246c
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c2484
lea edx, [ebp + 0x14]
lea ecx, [ebx + 0x14]
mov dword [esp], edx
call dword [0x66a21310]
mov edx, dword [ebp + 0x18]
lea ecx, [ebx + 0x58]
sub esp, 4
mov dword [ebx + 0x18], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [ebp + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [ebp + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [ebp + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], edx
mov edx, dword [ebp + 0x30]
mov dword [ebx + 0x30], edx
mov edx, dword [ebp + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [ebp + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [ebp + 0x3c]
mov dword [ebx + 0x3c], edx
mov edx, dword [ebp + 0x40]
mov dword [ebx + 0x40], edx
mov edx, dword [ebp + 0x44]
mov dword [ebx + 0x44], edx
mov edx, dword [ebp + 0x48]
mov dword [ebx + 0x48], edx
mov edx, dword [ebp + 0x4c]
mov dword [ebx + 0x4c], edx
mov edx, dword [ebp + 0x50]
mov dword [ebx + 0x50], edx
movzx edx, word [ebp + 0x54]
mov word [ebx + 0x54], dx
lea edx, [ebp + 0x58]
mov dword [esp], edx
call dword [0x66a20150]
mov edx, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x78]
sub esp, 4
mov dword [ebx + 0x68], edx
mov edx, dword [ebp + 0x6c]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebp + 0x70]
mov dword [ebx + 0x70], edx
mov edx, dword [ebp + 0x74]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x74], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x667c2490
mov eax, dword [ebp + 0x7c]
add esi, 4
add edi, 4
mov dword [ebx + 0x7c], eax
mov dword [esi - 4], ebx
cmp dword [esp + 0x14], esi
je 0x667c24a0
mov dword [esp], pe_nt_image_headers32
call fcn.6678d230
mov ebp, dword [edi]
mov ebx, eax
movzx edx, word [ebp]
mov ecx, dword [ebp + 8]
mov word [eax], dx
mov edx, dword [ebp + 4]
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c2330
lock add dword [ecx], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c2344
lock add dword [ecx], 1
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x667c2358
lock add dword [ecx], 1
jmp 0x667c2358
lock add dword [ecx], 1
jmp 0x667c240a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x667c24c1
cmp eax, 0xffffffff
je 0x667c22d4
mov edi, dword [esp + 0x1c]
lock sub dword [edi], 1
jne 0x667c22d4
mov eax, dword [esp + 0x1c]
call fcn.665b8f00
jmp 0x667c22d4