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

Disassembly:
mov eax, 0x1a98
call fcn.0047aea0
push ebx
push ebp
mov ebp, dword [esp + 0x1aa4]
push esi
push edi
mov esi, ecx
push ebp
call fcn.0045ff00
push 0x104
xor ebx, ebx
push 0x47f958
lea eax, [esp + 0xa0]
mov ecx, esi
mov dword [esp + 0x90], ebx
call fcn.00468830
add esp, 8
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x8c]
call fcn.00458760
test eax, eax
je 0x457b65
lea edx, [esp + 0x20]
mov eax, 0x20
push edx
mov ecx, esi
push ebp
mov dword [esp + 0x28], 0x47f960
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x1388
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
call fcn.004574b0
xor esi, esi
cmp dword [ebp + 0x30], ebx
mov dword [esp + 0x1c], esi
jle 0x457b16
mov dword [esp + 0x14], ebx
lea ebx, [ebx]
cmp esi, ebx
jl 0x4579b2
cmp esi, dword [ebp + 0x30]
jge 0x4579b2
mov edi, dword [ebp + 0x24]
add edi, dword [esp + 0x14]
jmp 0x4579b4
xor edi, edi
cmp word [edi], bx
jne 0x457afe
cmp word [edi + 0x200], bx
lea eax, [edi + 0x200]
je 0x457afe
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
cmp eax, ebx
je 0x457afe
add eax, 2
push eax
call sub.msvcrt.dll__wtoi
add esp, 4
push eax
push str.SAMDomainsAccountUsers_8.8X
lea eax, [esp + 0x12b0]
push 0x3ff
push eax
call sub.msvcrt.dll__snwprintf
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 0x10
lea ecx, [esp + 0x12a8]
push ecx
push edx
push eax
mov dword [esp + 0x60], 0x47f960
mov dword [esp + 0x74], 0x20
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 0x1388
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x68], eax
call fcn.00458c10
cmp eax, ebx
mov dword [esp + 0x58], eax
je 0x457af1
push 0xfff
lea eax, [esp + 0x2ad]
push ebx
push eax
mov dword [esp + 0x24], 0x1000
mov byte [esp + 0x2b4], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2b0]
push edx
push 0x47fa2c
lea ecx, [esp + 0x64]
call fcn.00459080
test eax, eax
jne 0x457af1
mov eax, dword [esp + 0x2b4]
mov esi, dword [esp + 0x2b8]
lea ecx, [esi + eax + 0xcc]
cmp ecx, dword [esp + 0x18]
jae 0x457af1
cmp esi, 0x1fe
jae 0x457af1
push esi
lea edx, [esp + eax + 0x378]
push edx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
shr esi, 1
mov word [edi + esi*2], bx
lea esi, [esp + 0x54]
call fcn.00458910
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x804
add esi, 1
cmp esi, dword [ebp + 0x30]
mov dword [esp + 0x1c], esi
jl 0x4579a0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x20], 0x47f960
je 0x457b2f
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
je 0x457b65
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x457b65
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x457b79
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a98
ret 4