Function at 0x57550c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x575515
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 0x575c9e
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 0x575c6c
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00574ab0
test al, al
je 0x57556b
mov dword [ebp - 0x10], 3
jmp 0x575c73
xor edx, edx
push ebp
push 0x575c59
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 0x57559f
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 0x575c48
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 0x575bf4
xor eax, eax
push ebp
push 0x575bed
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 0x575cb4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x5757f7
push 0x575cc4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x34], eax
push 0x575cd8
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x38], eax
push 0x575cf4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x3c], eax
push 0x575d10
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x40], eax
push 0x575d28
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.0040af44
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x20]
call fcn.00574a68
test al, al
je 0x57568a
mov dword [ebp - 0x10], 4
jmp 0x575b9d
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.00574754
mov dword [0x5b1188], eax
cmp dword [0x5b1188], 0
je 0x575b9d
push 0x575d3c
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x28], eax
push 0x575d4c
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x2c], eax
push 0x575d5c
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x30], eax
push 0x575d68
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x40], eax
cmp dword [ebp + 8], 0
jbe 0x575730
mov eax, dword [0x5b1188]
cmp dword [eax + 0x40], 0
je 0x575730
mov edx, dword [ebp + 8]
mov eax, dword [0x5b1188]
call fcn.005793b8
push 0x575d78
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x44], eax
cmp dword [ebp - 0x38], 0
je 0x575755
mov eax, fcn.00574e74
call dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 0
je 0x575763
mov eax, fcn.00574ed4
call dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0
je 0x575771
mov eax, fcn.0057535c
call dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0
je 0x5757c9
mov eax, fcn.00574e1c
call dword [ebp - 0x44]
push 0x575d80
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
mov eax, dword [0x5b1188]
mov dword [eax + 0x38], ebx
test ebx, ebx
jne 0x5757b2
push 0x575d94
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x34], eax
push 0x575da4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [0x5b1188]
mov dword [edx + 0x3c], eax
cmp dword [ebp - 0x34], 0
je 0x5757e6
push fcn.005a2738
mov ecx, fcn.005a26d4
mov edx, fcn.00574e70
mov eax, fcn.00574d94
call dword [ebp - 0x34]
mov eax, dword [0x5b1188]
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x575b9d
mov byte [ebp - 0x2a], 0
push ebp
mov eax, 0x575dbc
call fcn.005754dc
pop ecx
test al, al
je 0x575811
mov byte [ebp - 0x2a], 1
jmp 0x575825
push ebp
mov eax, 0x575dd8
call fcn.005754dc
pop ecx
test al, al
je 0x575825
mov byte [ebp - 0x2a], 2
cmp byte [ebp - 0x2a], 0
jbe 0x575b96
movzx edi, byte [ebp - 0x2a]
mov ecx, dword [edi*4 + 0x5b1188]
lea eax, [ebp - 0x64]
mov edx, 0x575df0
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 + 0x5b1190]
lea eax, [ebp - 0x68]
mov edx, 0x575e0c
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 + 0x5b1198]
lea eax, [ebp - 0x6c]
mov edx, 0x575e30
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 + 0x5b11a0]
lea eax, [ebp - 0x70]
mov edx, 0x575e54
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 + 0x5b11a8]
lea eax, [ebp - 0x74]
mov edx, 0x575e74
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.0040af44
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x20]
call fcn.00574a68
test al, al
je 0x575939
mov dword [ebp - 0x10], 4
jmp 0x575b9d
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.00574754
mov dword [0x5b1188], eax
cmp dword [0x5b1188], 0
je 0x575b9d
mov ecx, dword [edi*4 + 0x5b11b0]
lea eax, [ebp - 0x80]
mov edx, 0x575e90
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 [0x5b1188]
mov dword [edx + 0x48], eax
mov ecx, dword [edi*4 + 0x5b11b8]
lea eax, [ebp - 0x84]
mov edx, 0x575ea8
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 [0x5b1188]
mov dword [edx + 0x4c], eax
mov ecx, dword [edi*4 + 0x5b11c0]
lea eax, [ebp - 0x88]
mov edx, 0x575ec0
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 [0x5b1188]
mov dword [edx + 0x50], eax
mov ecx, dword [edi*4 + 0x5b11c8]
lea eax, [ebp - 0x8c]
mov edx, 0x575ed4
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 [0x5b1188]
mov dword [edx + 0x60], eax
cmp dword [ebp + 8], 0
jbe 0x575a51
mov eax, dword [0x5b1188]
cmp dword [eax + 0x60], 0
je 0x575a51
mov edx, dword [ebp + 8]
mov eax, dword [0x5b1188]
call fcn.005793b8
xor ebx, ebx
mov bl, byte [ebp - 0x2a]
mov ecx, dword [ebx*4 + 0x5b11d0]
lea eax, [ebp - 0x90]
mov edx, 0x575ef0
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 [0x5b1188]
mov dword [edx + 0x64], eax
cmp dword [ebp - 0x4c], 0
je 0x575a99
push 0x575438
call dword [ebp - 0x4c]
cmp dword [ebp - 0x50], 0
je 0x575aa7
push 0x575448
call dword [ebp - 0x50]
cmp dword [ebp - 0x54], 0
je 0x575ab5
push 0x57545c
call dword [ebp - 0x54]
cmp dword [ebp - 0x58], 0
je 0x575b6b
push 0x575480
call dword [ebp - 0x58]
mov ecx, dword [ebx*4 + 0x5b11e8]
lea eax, [ebp - 0x94]
mov edx, 0x575f04
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 [0x5b1188]
mov dword [eax + 0x58], edi
test edi, edi
jne 0x575b36
mov ecx, dword [ebx*4 + 0x5b11d8]
lea eax, [ebp - 0x98]
mov edx, 0x575f20
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 [0x5b1188]
mov dword [edx + 0x54], eax
mov ecx, dword [ebx*4 + 0x5b11e0]
lea eax, [ebp - 0x9c]
mov edx, 0x575f38
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 [0x5b1188]
mov dword [edx + 0x5c], eax
cmp dword [ebp - 0x48], 0
je 0x575b88
push 0x5a27b0
push 0x5a279c
push 0x575424
push 0x5753e8
call dword [ebp - 0x48]
mov eax, dword [0x5b1188]
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x575b9d
mov dword [ebp - 0x10], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575c2c
cmp dword [ebp - 0x14], 0
je 0x575bb9
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 0x18], 0
je 0x575bc8
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 0x1c], 0
je 0x575bd7
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 0x10], 0
je 0x575bec
cmp dword [ebp - 8], 0
je 0x575bec
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor edx, edx
push ebp
push 0x575c11
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 0x575c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575c4f
cmp byte [ebp - 0x29], 0
je 0x575c47
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 0x575ca5
lea eax, [ebp - 0x9c]
mov edx, 0x11
call fcn.00405018
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405018
ret