Function at 0x2402420
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x24beb9b
push eax
mov eax, 0x102c
mov dword fs:[0], esp
call fcn.024adb70
test ecx, ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
je 0x2402830
test edx, edx
je 0x2402830
mov eax, dword [esp + 0x104c]
test eax, eax
je 0x2402830
mov eax, dword [esp + 0x1050]
test eax, eax
je 0x2402830
mov eax, dword [esp + 0x1054]
test eax, eax
je 0x2402830
mov eax, dword [esp + 0x1058]
test eax, eax
je 0x2402830
mov eax, dword [esp + 0x105c]
test eax, eax
je 0x2402830
mov esi, dword [esp + 0x1060]
test esi, esi
je 0x2402830
mov ecx, 0x24da130
call fcn.024822a0
mov ebp, eax
test ebp, ebp
jne 0x24024d0
mov dword [esi], 0x64
jmp 0x2402830
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x24da120
push ebp
call edi
push 0x24da10c
push ebp
mov esi, eax
call edi
push 0x24da0f8
push ebp
mov dword [esp + 0x18], eax
call edi
push 0x24da0e4
push ebp
mov dword [esp + 0x2c], eax
call edi
push 0x24da0d0
push ebp
mov dword [esp + 0x34], eax
call edi
push 0x24da0bc
push ebp
mov dword [esp + 0x38], eax
call edi
test esi, esi
mov ebx, eax
je 0x240281c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x240281c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x240281c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x240281c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x240281c
test ebx, ebx
je 0x240281c
mov eax, dword [esp + 0x1054]
push 0
push 0
push 0
push 0
push eax
call esi
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x240258f
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1060]
mov dword [ecx], 3
jmp 0x2402830
mov edx, dword [esp + 0x104c]
push 0
push 0
push 3
push 0
push 0x24e25d0
push 0x50
push edx
push esi
call dword [esp + 0x30]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jne 0x24025d1
push esi
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [esp + 0x1060]
mov dword [eax], 4
jmp 0x2402830
mov edx, dword [esp + 0x1050]
push 0
push 0x80000000
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push edx
push 0x24da0b4
push edi
mov dword [esp + 0x54], 0x24da0b0
mov dword [esp + 0x58], 0
call dword [esp + 0x44]
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
jne 0x2402630
push edi
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1060]
mov dword [ecx], 5
jmp 0x2402830
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push edx
push eax
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x24da080
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x24da080
push esi
call dword [esp + 0x40]
test eax, eax
jne 0x2402682
push esi
call ebx
mov ecx, dword [esp + 0x20]
push ecx
call ebx
mov edx, dword [esp + 0x14]
push edx
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [esp + 0x1060]
mov dword [eax], 6
jmp 0x2402830
xor eax, eax
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1044], eax
lea ecx, [esp + 0x10]
push ecx
push 0x1000
lea edx, [esp + 0x44]
push edx
push esi
mov dword [esp + 0x20], eax
call dword [esp + 0x40]
test eax, eax
je 0x240272e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x24027cf
cmp eax, 0x1000
ja 0x24027a8
mov ecx, dword [esp + 0x18]
cmp ecx, 0x989680
ja 0x24027a8
lea edi, [eax + ecx]
test edi, edi
mov dword [esp + 0x28], edi
je 0x2402769
mov eax, dword [esp + 0x1c]
push edi
push eax
call fcn.024ad835
add esp, 8
test eax, eax
je 0x2402769
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov edi, eax
sub edi, ecx
add edi, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov edi, eax
xor eax, eax
jmp 0x2402695
push esi
call ebx
mov eax, dword [esp + 0x20]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov edx, dword [esp + 0x1060]
mov dword [edx], 7
test edi, edi
je 0x2402830
push edi
call fcn.024ad03a
add esp, 4
jmp 0x2402830
push esi
call ebx
mov eax, dword [esp + 0x20]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [esp + 0x1c]
test eax, eax
mov edx, dword [esp + 0x1060]
mov dword [edx], 1
je 0x2402830
push eax
call fcn.024ad03a
add esp, 4
jmp 0x2402830
push esi
call ebx
mov eax, dword [esp + 0x20]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov edx, dword [esp + 0x1060]
mov dword [edx], 0x64
jmp 0x2402753
push esi
call ebx
mov eax, dword [esp + 0x20]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea edx, [esp + 0x18]
test edx, edx
je 0x2402808
mov eax, dword [esp + 0x1058]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [esp + 0x1c], ecx
mov edi, ecx
test edi, edi
je 0x2402815
push edi
call fcn.024ad03a
add esp, 4
mov eax, 1
jmp 0x2402832
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [esp + 0x1060]
mov dword [eax], 0x64
xor eax, eax
mov ecx, dword [esp + 0x103c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1038
ret 0x18