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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
mov eax, dword [ecx]
mov edx, dword [eax + 8]
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 [ebx]
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 + 0x18], ecx
cmp ecx, esi
jne 0x665b91bf
jmp 0x665b9240
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
ja 0x665b9218
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 0x665b9230
mov eax, dword [ebp + 0x7c]
add esi, 4
add edi, 4
mov dword [ebx + 0x7c], eax
mov dword [esi - 4], ebx
cmp dword [esp + 0x18], esi
je 0x665b9240
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
ja 0x665b9228
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x665b90e0
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 0x665b90f4
lock add dword [ecx], 1
jmp 0x665b90f4
lock add dword [ecx], 1
jmp 0x665b91ec
lock add dword [ecx], 1
jmp 0x665b91a6
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x665b9268
cmp eax, 0xffffffff
je 0x665b9259
mov edi, dword [esp + 0x1c]
lock sub dword [edi], 1
je 0x665b9268
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.665b8f00