Function at 0x404b50
Capabilities:
Contain obfuscated stackstrings
Get file size
Link many functions at runtime

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov al, 0x65
mov dl, 0x6c
mov bl, 0x46
mov cl, 0x69
push esi
push edi
mov byte [esp + 0x64], 0x4b
mov byte [esp + 0x65], al
mov byte [esp + 0x66], 0x72
mov byte [esp + 0x67], 0x6e
mov byte [esp + 0x68], al
mov byte [esp + 0x69], dl
mov byte [esp + 0x6a], 0x33
mov byte [esp + 0x6b], 0x32
mov byte [esp + 0x6c], 0x2e
mov byte [esp + 0x6d], 0x64
mov byte [esp + 0x6e], dl
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], 0
mov byte [esp + 0x58], 0x43
mov byte [esp + 0x59], 0x72
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], 0x61
mov byte [esp + 0x5c], 0x74
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], cl
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], al
mov byte [esp + 0x62], 0x41
mov byte [esp + 0x63], 0
mov byte [esp + 0x74], 0x53
mov byte [esp + 0x75], al
mov byte [esp + 0x76], 0x74
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], dl
mov byte [esp + 0x7a], al
mov byte [esp + 0x7b], 0x50
mov byte [esp + 0x7c], 0x6f
mov byte [esp + 0x7d], cl
mov byte [esp + 0x7e], 0x6e
mov byte [esp + 0x7f], 0x74
mov byte [esp + 0x80], al
mov byte [esp + 0x81], 0x72
mov byte [esp + 0x82], 0
mov byte [esp + 0x40], 0x52
mov byte [esp + 0x41], al
mov byte [esp + 0x42], 0x61
mov byte [esp + 0x43], 0x64
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], dl
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0
mov byte [esp + 0x4c], 0x57
mov byte [esp + 0x4d], 0x72
mov byte [esp + 0x4e], cl
mov byte [esp + 0x4f], 0x74
mov byte [esp + 0x50], al
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], cl
mov byte [esp + 0x53], dl
mov byte [esp + 0x54], al
mov byte [esp + 0x55], 0
mov byte [esp + 0x84], 0x53
mov byte [esp + 0x85], al
mov byte [esp + 0x86], 0x74
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], dl
mov byte [esp + 0x8a], al
mov byte [esp + 0x8b], 0x41
mov byte [esp + 0x8c], 0x74
mov byte [esp + 0x8d], 0x74
mov byte [esp + 0x8e], 0x72
mov byte [esp + 0x8f], cl
mov byte [esp + 0x90], 0x62
mov byte [esp + 0x91], 0x75
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x93], al
lea eax, [esp + 0x58]
lea ecx, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x9a], 0x74
mov byte [esp + 0x9c], 0x73
mov byte [esp + 0x9d], 0x41
mov byte [esp + 0x9e], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebx, eax
lea edx, [esp + 0x74]
lea eax, [esp + 0x64]
push edx
push eax
dec ebx
call esi
push eax
call edi
lea ecx, [esp + 0x40]
lea edx, [esp + 0x64]
mov ebp, eax
push ecx
push edx
dec ebp
call esi
push eax
call edi
dec eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
push eax
push ecx
call esi
push eax
call edi
lea edx, [esp + 0x84]
lea eax, [esp + 0x64]
push edx
push eax
call esi
push eax
call edi
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push 0
push 3
push 0
push 1
push closesocket
push edx
mov dword [ecx], 0
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x404da5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push 2
push 0
push 0xfffffffffffffffc
push esi
call ebp
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x30]
push 4
push ecx
push esi
call edi
cmp dword [esp + 0x28], 0x8111534d
je 0x404de1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push 2
push 0
push 0xfffffffffffffff8
push esi
call ebp
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x18]
push 4
push eax
push esi
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jbe 0x404e20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push 2
push 0
neg ecx
push ecx
push esi
call ebp
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff8
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x404e59
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 0
add eax, 0xfffffff8
push edx
push eax
push ebp
push esi
call edi
mov ecx, dword [esp + 0x10]
mov eax, 0x8d3dcb09
add ecx, 0xfffffff8
xor ebx, ebx
mul ecx
shr edx, 6
test edx, edx
jle 0x404ec0
mov edi, str._
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._
push 0x74
push ebp
call fcn.00406160
mov edx, dword [esp + 0x20]
mov eax, 0x8d3dcb09
add edx, 0xfffffff8
add esp, 0x10
mul edx
inc ebx
add ebp, 0x74
shr edx, 6
cmp ebx, edx
jl 0x404e83
mov ebp, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x10]
xor esi, esi
add edx, 0xfffffff8
mov ecx, dword [eax]
mov dword [esp + 0x18], esi
cmp ecx, 0xffffffff
jne 0x404f02
mov eax, 0x8d3dcb09
mov ecx, dword [esp + 0xa0]
mul edx
pop edi
mov dword [ecx], ebp
mov eax, edx
pop esi
pop ebp
pop ebx
shr eax, 6
add esp, 0x88
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
push edx
mov byte [esp + 0x38], al
mov byte [esp + 0x40], cl
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [esp + 0x2c], edi
jne 0x404f37
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], esi
lea ecx, [eax - 8]
mov eax, 0x8d3dcb09
mul ecx
shr edx, 6
test edx, edx
jle 0x404ffb
mov dword [esp + 0x14], edi
lea ebx, [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
lea edx, [ebx - 4]
push 4
lea eax, [esp + 0x34]
push edx
push eax
call esi
push 4
lea ecx, [esp + 0x48]
push ebx
push ecx
call esi
mov edx, dword [esp + 0xbc]
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 0x20
test eax, eax
jne 0x404fd6
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404fd6
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
lea esi, [ebx - 8]
mov ecx, 0x1d
mov ebp, dword [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
inc ecx
add eax, 0x74
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc ecx
add ebx, 0x74
lea edx, [eax - 8]
mov eax, 0x8d3dcb09
mul edx
shr edx, 6
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x404f5b
push ebp
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0xa4]
add esp, 4
mov dword [eax], edi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret