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

Disassembly:
sub esp, 0x78
mov eax, dword [0x6a3b20]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 0x20]
xor esi, esi
cmp ebp, esi
je 0x572d47
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebx
push ebp
call ecx
mov ebx, dword [0x5a7bec]
mov dword [esp + 0x34], esi
jmp 0x572a88
xor esi, esi
mov edx, dword [ebp]
mov ecx, dword [edx + 0xc]
lea eax, [esp + 0x2c]
push eax
push ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
call ecx
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x572cb4
movzx eax, word [esi + 0x2e]
movzx edx, word [esi + 0x2c]
movzx ecx, word [esi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
cmp eax, 4
je 0x572ad7
cmp eax, 3
jne 0x572d2f
push 0x65a268
push esi
call fcn.00564090
add esp, 8
test eax, eax
jne 0x572d2f
push 0x65a368
push esi
call fcn.00564090
add esp, 8
test eax, eax
jne 0x572d2f
mov eax, dword [edi + 0x18]
test eax, eax
je 0x572caa
test byte [eax + 8], 4
je 0x572caa
push esi
lea ecx, [esp + 0x78]
call dword [0x5a73d8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x7c]
call dword [0x5a77c8]
mov ecx, eax
call dword [0x5a7ad8]
lea ecx, [esp + 0x3c]
call dword [0x5a7d90]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
call dword [0x5a7bf0]
mov ecx, str._Default
push ecx
mov eax, 8
push eax
lea ecx, [esp + 0x2c]
call dword [0x5a7d70]
mov ecx, str._Interface_
push ecx
mov eax, 0xb
push eax
lea ecx, [esp + 0x38]
call dword [0x5a7d70]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call dword [0x5a7cbc]
mov esi, dword [0x5a7cc0]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call dword [0x5a7cbc]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [edi + 0x30]
call dword [0x5a7bf4]
mov ecx, eax
call dword [0x5a7bf8]
push eax
lea ecx, [esp + 0x14]
call dword [0x5a7c74]
lea ecx, [esp + 0x4c]
call dword [0x5a7d90]
lea ecx, [esp + 0x64]
call ebx
lea ecx, [esp + 0x14]
call dword [0x5a7d90]
lea ecx, [esp + 0x18]
call dword [0x5a7d90]
lea ecx, [esp + 0x30]
call dword [0x5a7d90]
lea ecx, [esp + 0x24]
call dword [0x5a7d90]
lea ecx, [esp + 0x54]
call ebx
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x40]
inc esi
push ecx
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x14]
call dword [0x5a7af0]
mov ecx, eax
call dword [0x5a74b8]
push eax
push 0xa
lea edx, [esp + 0x58]
push esi
push edx
call dword [0x5a7a18]
push eax
lea eax, [esp + 0x5c]
push str.Interface
push eax
call fcn.004d42f0
add esp, 0x18
mov ecx, eax
call dword [0x5a74b8]
push eax
mov ecx, edi
call fcn.0056b830
lea ecx, [esp + 0x48]
call dword [0x5a7d74]
lea ecx, [esp + 0x50]
call dword [0x5a7d74]
lea ecx, [esp + 0x40]
call dword [0x5a7d74]
lea ecx, [esp + 0x10]
call dword [0x5a7d90]
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x4c]
push esi
push ebp
call edx
mov edx, dword [esp + 0x20]
push edx
push ebp
mov ecx, edi
call fcn.00572040
mov eax, dword [esp + 0x28]
push eax
push ebp
mov ecx, edi
call fcn.0056f540
cmp word [esp + 0x1c], 0
mov ecx, dword [ebp]
je 0x572d3b
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x44]
push edx
push 0
push ebp
call eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x38]
push eax
push ebp
call ecx
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov eax, dword [esp + 0x38]
cmp ebp, eax
je 0x572d3e
mov ebp, eax
test eax, eax
jne 0x572a86
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0058077e
add esp, 0x78
ret
mov eax, dword [ebp]
mov ecx, dword [eax + 0x4c]
push esi
push ebp
call ecx
jmp 0x572cce
push ebp
jmp 0x572d41
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
pop ebx
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0058077e
add esp, 0x78
ret