Function at 0x43aa90
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4b4abc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov ax, word [0x4bda8c]
push ebx
push ebp
push esi
add ecx, 0x70258
push edi
mov word [esp + 0x12], ax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ecx
mov esi, ecx
mov edi, 0x12c
mov ecx, dword [esi]
test ecx, ecx
je 0x43aadf
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi], 0
add esi, 4
dec edi
jne 0x43aad3
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x124]
lea ecx, [esp + 0x9c]
push eax
push 0x4bd894
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
or ecx, 0xffffffff
mov edi, 0x4bd888
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x4bd884
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4bd884
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x9c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4bd87c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 3
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x38]
push closesocket
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp esi, 0xffffffff
mov ebx, eax
je 0x43ac33
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x24]
push 0x4bd878
push ecx
call fcn.004a7d19
mov esi, eax
add esp, 8
test esi, esi
jne 0x43ac53
or eax, 0xffffffff
jmp 0x43ad5d
lea edi, [ebx + 1]
push edi
call fcn.004a71d4
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x43ac71
or eax, 0xffffffff
jmp 0x43ad5d
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push 1
push ebx
push ebp
rep stosb byte es:[edi], al
call fcn.004a7d2c
push esi
call fcn.004a7b32
push 0x114
call fcn.004a71d4
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x11c], 0
je 0x43acc6
lea ecx, [esp + 0x12]
push ecx
push ebp
mov ecx, eax
call fcn.004a60f0
mov ebx, eax
jmp 0x43acc8
xor ebx, ebx
mov ecx, ebx
mov dword [esp + 0x11c], 0xffffffff
call fcn.004a6150
mov esi, eax
test esi, esi
je 0x43ad44
mov edi, dword [esp + 0x20]
mov ebp, dword [sym.imp.kernel32.dll_HeapAlloc]
push 0x18
push 8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call ebp
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x11c], 1
je 0x43ad18
push 0
push esi
push 0
mov ecx, eax
call fcn.004a5770
jmp 0x43ad1a
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x11c], 0xffffffff
mov dword [edi], eax
call fcn.004a6150
mov edx, dword [esp + 0x14]
mov esi, eax
inc edx
add edi, 4
test esi, esi
mov dword [esp + 0x14], edx
jne 0x43acea
mov ebp, dword [esp + 0x18]
test ebx, ebx
je 0x43ad50
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
push ebp
call fcn.004a71c9
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 4