Function at 0x575470
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x575479
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 0x575c02
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.00443a20
test al, al
je 0x575bd0
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00574a14
test al, al
je 0x5754cf
mov dword [ebp - 0x10], 3
jmp 0x575bd7
xor edx, edx
push ebp
push 0x575bbd
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0040a934
cmp dword [ebp - 0x28], 0
jbe 0x575503
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 0x575bac
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 0x575b58
xor eax, eax
push ebp
push 0x575b51
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 0x575c18
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x57575b
push 0x575c28
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x34], eax
push 0x575c3c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x38], eax
push 0x575c58
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x3c], eax
push 0x575c74
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x40], eax
push 0x575c8c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
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.0040af44
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x20]
call fcn.005749cc
test al, al
je 0x5755ee
mov dword [ebp - 0x10], 4
jmp 0x575b01
push 1
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.0040af44
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.005746b8
mov dword [0x5b1188], eax
cmp dword [0x5b1188], 0
je 0x575b01
push 0x575ca0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x28], eax
push 0x575cb0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x2c], eax
push 0x575cc0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x30], eax
push 0x575ccc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x40], eax
cmp dword [ebp + 8], 0
jbe 0x575694
mov eax, dword [0x5b1188]
cmp dword [eax + 0x40], 0
je 0x575694
mov edx, dword [ebp + 8]
mov eax, dword [0x5b1188]
call fcn.0057931c
push 0x575cdc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x44], eax
cmp dword [ebp - 0x38], 0
je 0x5756b9
mov eax, fcn.00574dd8
call dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 0
je 0x5756c7
mov eax, fcn.00574e38
call dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0
je 0x5756d5
mov eax, fcn.005752c0
call dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0
je 0x57572d
mov eax, fcn.00574d80
call dword [ebp - 0x44]
push 0x575ce4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov eax, dword [0x5b1188]
mov dword [eax + 0x38], ebx
test ebx, ebx
jne 0x575716
push 0x575cf8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x34], eax
push 0x575d08
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x3c], eax
cmp dword [ebp - 0x34], 0
je 0x57574a
push fcn.005a265c
mov ecx, fcn.005a25f8
mov edx, fcn.00574dd4
mov eax, fcn.00574cf8
call dword [ebp - 0x34]
mov eax, dword [0x5b1188]
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x575b01
mov byte [ebp - 0x2a], 0
push ebp
mov eax, 0x575d20
call fcn.00575440
pop ecx
test al, al
je 0x575775
mov byte [ebp - 0x2a], 1
jmp 0x575789
push ebp
mov eax, 0x575d3c
call fcn.00575440
pop ecx
test al, al
je 0x575789
mov byte [ebp - 0x2a], 2
cmp byte [ebp - 0x2a], 0
jbe 0x575afa
movzx edi, byte [ebp - 0x2a]
mov ecx, dword [edi*4 + 0x5b1188]
lea eax, [ebp - 0x64]
mov edx, 0x575d54
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_1
mov dword [ebp - 0x48], eax
mov ecx, dword [edi*4 + 0x5b1190]
lea eax, [ebp - 0x68]
mov edx, 0x575d70
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_1
mov dword [ebp - 0x4c], eax
mov ecx, dword [edi*4 + 0x5b1198]
lea eax, [ebp - 0x6c]
mov edx, 0x575d94
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_1
mov dword [ebp - 0x50], eax
mov ecx, dword [edi*4 + 0x5b11a0]
lea eax, [ebp - 0x70]
mov edx, 0x575db8
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_1
mov dword [ebp - 0x54], eax
mov ecx, dword [edi*4 + 0x5b11a8]
lea eax, [ebp - 0x74]
mov edx, 0x575dd8
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_1
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.0040af44
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x20]
call fcn.005749cc
test al, al
je 0x57589d
mov dword [ebp - 0x10], 4
jmp 0x575b01
push 1
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0040af44
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 8]
mov edx, ebx
call fcn.005746b8
mov dword [0x5b1188], eax
cmp dword [0x5b1188], 0
je 0x575b01
mov ecx, dword [edi*4 + 0x5b11b0]
lea eax, [ebp - 0x80]
mov edx, 0x575df4
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x48], eax
mov ecx, dword [edi*4 + 0x5b11b8]
lea eax, [ebp - 0x84]
mov edx, 0x575e0c
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x4c], eax
mov ecx, dword [edi*4 + 0x5b11c0]
lea eax, [ebp - 0x88]
mov edx, 0x575e24
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x50], eax
mov ecx, dword [edi*4 + 0x5b11c8]
lea eax, [ebp - 0x8c]
mov edx, 0x575e38
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x60], eax
cmp dword [ebp + 8], 0
jbe 0x5759b5
mov eax, dword [0x5b1188]
cmp dword [eax + 0x60], 0
je 0x5759b5
mov edx, dword [ebp + 8]
mov eax, dword [0x5b1188]
call fcn.0057931c
xor ebx, ebx
mov bl, byte [ebp - 0x2a]
mov ecx, dword [ebx*4 + 0x5b11d0]
lea eax, [ebp - 0x90]
mov edx, 0x575e54
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x64], eax
cmp dword [ebp - 0x4c], 0
je 0x5759fd
push 0x57539c
call dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0
je 0x575a0b
push 0x5753ac
call dword [ebp - 0x50]
cmp dword [ebp - 0x54], 0
je 0x575a19
push 0x5753c0
call dword [ebp - 0x54]
cmp dword [ebp - 0x58], 0
je 0x575acf
push 0x5753e4
call dword [ebp - 0x58]
mov ecx, dword [ebx*4 + 0x5b11e8]
lea eax, [ebp - 0x94]
mov edx, 0x575e68
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_1
mov edi, eax
mov eax, dword [0x5b1188]
mov dword [eax + 0x58], edi
test edi, edi
jne 0x575a9a
mov ecx, dword [ebx*4 + 0x5b11d8]
lea eax, [ebp - 0x98]
mov edx, 0x575e84
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x54], eax
mov ecx, dword [ebx*4 + 0x5b11e0]
lea eax, [ebp - 0x9c]
mov edx, 0x575e9c
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_1
mov edx, dword [0x5b1188]
mov dword [edx + 0x5c], eax
cmp dword [ebp - 0x48], 0
je 0x575aec
push 0x5a26d4
push 0x5a26c0
push 0x575388
push 0x57534c
call dword [ebp - 0x48]
mov eax, dword [0x5b1188]
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x575b01
mov dword [ebp - 0x10], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575b90
cmp dword [ebp - 0x14], 0
je 0x575b1d
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalFree
cmp dword [ebp - 0x18], 0
je 0x575b2c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalFree
cmp dword [ebp - 0x1c], 0
je 0x575b3b
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalFree
cmp dword [ebp - 0x10], 0
je 0x575b50
cmp dword [ebp - 8], 0
je 0x575b50
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor edx, edx
push ebp
push 0x575b75
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0040f8d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x575b90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575bb3
cmp byte [ebp - 0x29], 0
je 0x575bab
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 0x575c09
lea eax, [ebp - 0x9c]
mov edx, 0x11
call fcn.00405018
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405018
ret