Function at 0x4257f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], 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.00404a38
mov eax, dword [ebp - 8]
call fcn.00404a38
mov eax, dword [ebp - 0xc]
call fcn.00404a38
mov eax, dword [ebp + 8]
call fcn.00404a38
xor eax, eax
push ebp
push 0x425c93
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov dl, 1
mov eax, dword [0x4140ac]
call fcn.00403748
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004256f8
xor edx, edx
push ebp
push 0x425c44
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x30]
call fcn.0040456c
lea eax, [ebp - 0x2c]
call fcn.0040456c
lea eax, [ebp - 0x94]
push eax
xor ecx, ecx
mov edx, 0x425cb0
mov eax, 0x80000002
call fcn.00420c18
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x2c]
mov edx, 0x425cd0
call fcn.00404894
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x425cf0
mov edx, dword [ebp - 0x2c]
mov eax, 0x80000002
call fcn.00420c18
lea eax, [ebp - 0x30]
call fcn.004256c4
mov eax, dword [ebp - 0x30]
call fcn.00404a48
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4258fd
push 0x425cf8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x425c2e
push 0x425d04
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
push 0x425d10
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x34], eax
push 0x425d1c
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x40], eax
push 0x425d2c
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x38], eax
push 0x425d3c
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x3c], eax
test ebx, ebx
je 0x425c2e
cmp dword [ebp - 0x34], 0
je 0x425c2e
cmp dword [ebp - 0x40], 0
je 0x425c2e
cmp dword [ebp - 0x38], 0
je 0x425c2e
cmp dword [ebp - 0x3c], 0
je 0x425c2e
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 0x425c2e
xor edx, edx
push ebp
push 0x425c27
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp + 8], 0
je 0x425a12
lea edx, [ebp - 0x98]
mov eax, dword [ebp + 8]
call fcn.004093cc
mov edx, dword [ebp - 0x98]
lea eax, [ebp + 8]
call fcn.00404604
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
call fcn.00409328
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x18
call fcn.00403038
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.00404a48
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
call fcn.00404a48
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
shl eax, 3
lea eax, [eax + eax*2]
call fcn.0040270c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
imul eax, eax, 0x202
call fcn.0040270c
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x425bfc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
shl edx, 3
lea edx, [edx + edx*2]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
call fcn.00403038
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x425b43
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x9c]
mov edx, esi
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x9c]
call fcn.00404a48
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x38]
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x425b43
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x1c]
lea ebx, [edx + eax*8]
mov dword [ebx + 4], 1
mov edi, esi
shl edi, 8
add edi, esi
mov eax, dword [ebp - 0x20]
lea eax, [eax + edi*2]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 8]
call fcn.004094e8
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x425b08
mov eax, dword [ebp - 0x20]
lea eax, [eax + edi*2 + 0x101]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 8]
call fcn.004094e8
mov dword [ebx + 0xc], eax
jmp 0x425b20
mov eax, dword [ebp - 0x20]
lea eax, [eax + edi*2 + 0x101]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc]
call fcn.004094e8
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x3c]
inc esi
dec dword [ebp - 0x48]
jne 0x425a7d
cmp byte [ebp - 0xd], 0
je 0x425bc0
lea eax, [ebp - 0x90]
xor ecx, ecx
mov edx, 0x30
call fcn.00403038
mov eax, dword [ebp - 8]
call fcn.00404a48
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
call fcn.00404a48
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x70], eax
cmp dword [ebp + 8], 0
je 0x425b96
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], eax
jmp 0x425b9b
xor eax, eax
mov dword [ebp - 0x64], eax
cmp dword [ebp + 8], 0
setne al
and eax, 0x7f
mov dword [ebp - 0x68], eax
push 0
push 1
lea eax, [ebp - 0x90]
push eax
push 0
push 0
call dword [ebp - 0x40]
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425c03
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
imul edx, eax, 0x202
mov eax, dword [ebp - 0x20]
call fcn.0040272c
mov eax, dword [ebp - 0x44]
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.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425c4b
mov eax, dword [ebp - 0x44]
call fcn.00403778
ret