Function at 0x42c9a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cb4
mov eax, dword [ebp - 8]
call fcn.00404cb4
mov eax, dword [ebp - 0xc]
call fcn.00404cb4
mov eax, dword [ebp + 8]
call fcn.00404cb4
xor eax, eax
push ebp
push 0x42ce9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov dl, 1
mov eax, dword [0x4190c0]
call fcn.00403918
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0042c89c
xor edx, edx
push ebp
push 0x42ce4c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x30]
call fcn.004047e8
lea eax, [ebp - 0x2c]
call fcn.004047e8
lea eax, [ebp - 0x90]
push eax
xor ecx, ecx
mov edx, 0x42ceb8
mov eax, 0x80000002
call fcn.004230ec
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x2c]
mov edx, 0x42ced8
call fcn.00404b10
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x42cef8
mov edx, dword [ebp - 0x2c]
mov eax, 0x80000002
call fcn.004230ec
lea eax, [ebp - 0x30]
call fcn.0042c868
mov eax, dword [ebp - 0x30]
call fcn.00404cc4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x42caad
push 0x42cf00
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42ce2c
push 0x42cf0c
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
push 0x42cf18
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x34], eax
push 0x42cf24
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x3c], eax
push 0x42cf34
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
push 0x42cf44
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x38], eax
test ebx, ebx
je 0x42ce20
cmp dword [ebp - 0x34], 0
je 0x42ce20
cmp dword [ebp - 0x3c], 0
je 0x42ce20
test esi, esi
je 0x42ce20
cmp dword [ebp - 0x38], 0
je 0x42ce20
lea eax, [ebp - 0x28]
push eax
push 0
push 1
push 0
push 0
push 0
call ebx
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x42ce14
xor edx, edx
push ebp
push 0x42ce0d
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp + 8], 0
je 0x42cbbf
lea edx, [ebp - 0x94]
mov eax, dword [ebp + 8]
call fcn.00409554
mov edx, dword [ebp - 0x94]
lea eax, [ebp + 8]
call fcn.00404880
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
call fcn.004094d4
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x18
call fcn.004031e4
mov dword [ebp - 0x54], 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.00404cc4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
call fcn.00404cc4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
shl eax, 3
lea eax, [eax + eax*2]
call fcn.004027c4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
imul eax, eax, 0x202
call fcn.004027c4
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x42cde2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x42cd15
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
shl edx, 3
lea edx, [edx + edx*2]
lea eax, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
xor ecx, ecx
call fcn.004031e4
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x98]
mov edx, ebx
mov eax, dword [ebp - 0x40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x98]
call fcn.00404cc4
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x42cd15
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x1c]
lea edi, [edx + eax*8]
mov dword [edi + 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x42cca0
mov eax, ebx
shl eax, 8
add eax, ebx
mov edx, dword [ebp - 0x20]
lea eax, [edx + eax*2]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 8]
call fcn.0040964c
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x42ccca
mov eax, ebx
shl eax, 8
add eax, ebx
mov edx, dword [ebp - 0x20]
lea eax, [edx + eax*2 + 0x101]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc]
call fcn.0040964c
mov dword [edi + 0xc], eax
jmp 0x42ccf2
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x42cd15
mov eax, ebx
shl eax, 8
add eax, ebx
mov edx, dword [ebp - 0x20]
lea eax, [edx + eax*2 + 0x101]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 8]
call fcn.0040964c
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x38]
inc ebx
dec dword [ebp - 0x44]
jne 0x42cc10
cmp byte [ebp - 0xd], 0
je 0x42cda6
lea eax, [ebp - 0x8c]
xor ecx, ecx
mov edx, 0x30
call fcn.004031e4
mov eax, dword [ebp - 8]
call fcn.00404cc4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc]
call fcn.00404cc4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x6c], eax
cmp dword [ebp + 8], 0
je 0x42cd6c
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], eax
jmp 0x42cd71
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp + 8], 0
setne al
and eax, 0x7f
mov dword [ebp - 0x64], eax
push 0
push 1
lea eax, [ebp - 0x8c]
push eax
push 0
push 0
call dword [ebp - 0x3c]
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x42cda6
mov eax, 0x42cf5c
call fcn.0042c998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cde9
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
imul edx, eax, 0x202
mov eax, dword [ebp - 0x20]
call fcn.004027e4
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
shl edx, 3
lea edx, [edx + edx*2]
mov eax, dword [ebp - 0x1c]
call fcn.004027e4
ret
mov eax, 0x42cf84
call fcn.0042c998
jmp 0x42ce36
mov eax, 0x42cfb0
call fcn.0042c998
jmp 0x42ce36
mov eax, 0x42cfdc
call fcn.0042c998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ce53
mov eax, dword [ebp - 0x40]
call fcn.00403948
ret