Function at 0x573ae0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x573ae9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x574272
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 5
xor eax, eax
mov dword [esi], eax
mov eax, ebx
call fcn.00443568
test al, al
je 0x574240
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00573084
test al, al
je 0x573b3f
mov dword [ebp - 0x10], 3
jmp 0x574247
xor edx, edx
push ebp
push 0x57422d
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0040aa6c
cmp dword [ebp - 0x28], 0
jbe 0x573b73
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402e94
mov eax, dword [ebp - 0x28]
call fcn.00402e24
mov byte [ebp - 0x29], 1
xor edx, edx
push ebp
push 0x57421c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5741c8
xor eax, eax
push ebp
push 0x5741c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0x574288
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x573dcb
push 0x574298
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x34], eax
push 0x5742ac
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x38], eax
push 0x5742c8
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x3c], eax
push 0x5742e4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x40], eax
push 0x5742fc
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call dword [ebp - 0x30]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
call fcn.0040b07c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x20]
call fcn.0057303c
test al, al
je 0x573c5e
mov dword [ebp - 0x10], 4
jmp 0x574171
push 1
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.0040b07c
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.00572d28
mov dword [0x5b6144], eax
cmp dword [0x5b6144], 0
je 0x574171
push 0x574310
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x28], eax
push 0x574320
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x2c], eax
push 0x574330
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x30], eax
push 0x57433c
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x40], eax
cmp dword [ebp + 8], 0
jbe 0x573d04
mov eax, dword [0x5b6144]
cmp dword [eax + 0x40], 0
je 0x573d04
mov edx, dword [ebp + 8]
mov eax, dword [0x5b6144]
call fcn.00577848
push 0x57434c
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x44], eax
cmp dword [ebp - 0x38], 0
je 0x573d29
mov eax, fcn.00573448
call dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 0
je 0x573d37
mov eax, fcn.005734a8
call dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0
je 0x573d45
mov eax, fcn.00573930
call dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0
je 0x573d9d
mov eax, fcn.005733f0
call dword [ebp - 0x44]
push 0x574354
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
mov eax, dword [0x5b6144]
mov dword [eax + 0x38], ebx
test ebx, ebx
jne 0x573d86
push 0x574368
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x34], eax
push 0x574378
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x3c], eax
cmp dword [ebp - 0x34], 0
je 0x573dba
push fcn.005a730c
mov ecx, fcn.005a72a8
mov edx, fcn.00573444
mov eax, fcn.00573368
call dword [ebp - 0x34]
mov eax, dword [0x5b6144]
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x574171
mov byte [ebp - 0x2a], 0
push ebp
mov eax, 0x574390
call fcn.00573ab0
pop ecx
test al, al
je 0x573de5
mov byte [ebp - 0x2a], 1
jmp 0x573df9
push ebp
mov eax, 0x5743ac
call fcn.00573ab0
pop ecx
test al, al
je 0x573df9
mov byte [ebp - 0x2a], 2
cmp byte [ebp - 0x2a], 0
jbe 0x57416a
movzx edi, byte [ebp - 0x2a]
mov ecx, dword [edi*4 + 0x5b6144]
lea eax, [ebp - 0x64]
mov edx, 0x5743c4
call fcn.0040531c
mov eax, dword [ebp - 0x64]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x48], eax
mov ecx, dword [edi*4 + 0x5b614c]
lea eax, [ebp - 0x68]
mov edx, 0x5743e0
call fcn.0040531c
mov eax, dword [ebp - 0x68]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x4c], eax
mov ecx, dword [edi*4 + 0x5b6154]
lea eax, [ebp - 0x6c]
mov edx, 0x574404
call fcn.0040531c
mov eax, dword [ebp - 0x6c]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x50], eax
mov ecx, dword [edi*4 + 0x5b615c]
lea eax, [ebp - 0x70]
mov edx, 0x574428
call fcn.0040531c
mov eax, dword [ebp - 0x70]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x54], eax
mov ecx, dword [edi*4 + 0x5b6164]
lea eax, [ebp - 0x74]
mov edx, 0x574448
call fcn.0040531c
mov eax, dword [ebp - 0x74]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 4]
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x14]
call fcn.0040b07c
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x20]
call fcn.0057303c
test al, al
je 0x573f0d
mov dword [ebp - 0x10], 4
jmp 0x574171
push 1
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0040b07c
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.00572d28
mov dword [0x5b6144], eax
cmp dword [0x5b6144], 0
je 0x574171
mov ecx, dword [edi*4 + 0x5b616c]
lea eax, [ebp - 0x80]
mov edx, 0x574464
call fcn.0040531c
mov eax, dword [ebp - 0x80]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x48], eax
mov ecx, dword [edi*4 + 0x5b6174]
lea eax, [ebp - 0x84]
mov edx, 0x57447c
call fcn.0040531c
mov eax, dword [ebp - 0x84]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x4c], eax
mov ecx, dword [edi*4 + 0x5b617c]
lea eax, [ebp - 0x88]
mov edx, 0x574494
call fcn.0040531c
mov eax, dword [ebp - 0x88]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x50], eax
mov ecx, dword [edi*4 + 0x5b6184]
lea eax, [ebp - 0x8c]
mov edx, 0x5744a8
call fcn.0040531c
mov eax, dword [ebp - 0x8c]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x60], eax
cmp dword [ebp + 8], 0
jbe 0x574025
mov eax, dword [0x5b6144]
cmp dword [eax + 0x60], 0
je 0x574025
mov edx, dword [ebp + 8]
mov eax, dword [0x5b6144]
call fcn.00577848
xor ebx, ebx
mov bl, byte [ebp - 0x2a]
mov ecx, dword [ebx*4 + 0x5b618c]
lea eax, [ebp - 0x90]
mov edx, 0x5744c4
call fcn.0040531c
mov eax, dword [ebp - 0x90]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x64], eax
cmp dword [ebp - 0x4c], 0
je 0x57406d
push 0x573a0c
call dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0
je 0x57407b
push 0x573a1c
call dword [ebp - 0x50]
cmp dword [ebp - 0x54], 0
je 0x574089
push 0x573a30
call dword [ebp - 0x54]
cmp dword [ebp - 0x58], 0
je 0x57413f
push 0x573a54
call dword [ebp - 0x58]
mov ecx, dword [ebx*4 + 0x5b61a4]
lea eax, [ebp - 0x94]
mov edx, 0x5744d8
call fcn.0040531c
mov eax, dword [ebp - 0x94]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
mov eax, dword [0x5b6144]
mov dword [eax + 0x58], edi
test edi, edi
jne 0x57410a
mov ecx, dword [ebx*4 + 0x5b6194]
lea eax, [ebp - 0x98]
mov edx, 0x5744f4
call fcn.0040531c
mov eax, dword [ebp - 0x98]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x54], eax
mov ecx, dword [ebx*4 + 0x5b619c]
lea eax, [ebp - 0x9c]
mov edx, 0x57450c
call fcn.0040531c
mov eax, dword [ebp - 0x9c]
call fcn.004054d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b6144]
mov dword [edx + 0x5c], eax
cmp dword [ebp - 0x48], 0
je 0x57415c
push 0x5a7384
push 0x5a7370
push 0x5739f8
push 0x5739bc
call dword [ebp - 0x48]
mov eax, dword [0x5b6144]
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x574171
mov dword [ebp - 0x10], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574200
cmp dword [ebp - 0x14], 0
je 0x57418d
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 0x18], 0
je 0x57419c
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 0x1c], 0
je 0x5741ab
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 0x10], 0
je 0x5741c0
cmp dword [ebp - 8], 0
je 0x5741c0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor edx, edx
push ebp
push 0x5741e5
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0040fa0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x574200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574223
cmp byte [ebp - 0x29], 0
je 0x57421b
mov eax, dword [ebp - 0x24]
call fcn.00402e24
ret
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574279
lea eax, [ebp - 0x9c]
mov edx, 0x11
call fcn.00405018
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405018
ret