Function at 0x42ce90
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43205b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x43d2b8]
push esi
push edi
xor esi, esi
mov dword [esp + 0x124], eax
xor eax, eax
cmp edx, esi
mov ecx, 0x41
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
mov dword [esp + 8], esi
rep stosd dword es:[edi], eax
je 0x42ceed
cmp byte [edx], 0
je 0x42ceed
push 0x105
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x42cf4d
push 0x105
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x1c]
push 0x5c
push edx
call fcn.0041c718
add esp, 8
cmp eax, esi
je 0x42cf15
mov byte [eax + 1], 0
mov ecx, 0x105
lea eax, [esp + 0x1c]
mov edi, edi
cmp byte [eax], 0
je 0x42cf2b
inc eax
dec ecx
jne 0x42cf20
jmp 0x42cf4d
cmp ecx, esi
je 0x42cf4d
mov eax, 0x105
sub eax, ecx
push 0x436e6c
mov ecx, 0x105
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x24]
push edx
call fcn.00402992
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x42d2bf
push ebx
push ebp
push esi
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ebx, [esi + 1]
push ebx
call fcn.0041d9a0
mov edi, eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov dword [esp + 0x1c], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push ebx
rep stosb byte es:[edi], al
call fcn.0041d9a0
mov ebp, eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x20]
add esp, 8
test edi, edi
mov dword [esp + 0x14], ebp
je 0x42d2ac
test ebp, ebp
je 0x42d2ac
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d2ac
push edi
push ebx
push ebp
call fcn.00407060
add esp, 0xc
push ebp
call dword [sym.imp.USER32.dll_CharUpperA]
push 0x436e64
push ebp
call fcn.00421740
add esp, 8
test eax, eax
je 0x42d071
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x42d071
mov dl, byte [eax + 4]
add eax, 4
xor edi, edi
test dl, dl
je 0x42d06d
mov ebp, ecx
mov esi, eax
sub ebp, eax
movsx edx, byte [esi]
push edx
push 0x436e5c
call fcn.0041deb0
add esp, 8
test eax, eax
jne 0x42d062
cmp edi, dword [esp + 0x150]
jge 0x42d062
mov al, byte [esi]
mov byte [esi + ebp], al
mov al, byte [esi + 1]
inc edi
inc esi
test al, al
jne 0x42d036
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x144]
mov byte [edi + ecx], 0
push 0x436e54
push ebp
call fcn.00421740
add esp, 8
test eax, eax
je 0x42d0db
mov ecx, dword [esp + 0x148]
test ecx, ecx
je 0x42d0db
mov dl, byte [eax + 4]
add eax, 4
xor edi, edi
test dl, dl
je 0x42d0d7
mov ebp, ecx
mov esi, eax
sub ebp, eax
movsx ecx, byte [esi]
push ecx
push 0x436e5c
call fcn.0041deb0
add esp, 8
test eax, eax
jne 0x42d0cc
cmp edi, dword [esp + 0x150]
jge 0x42d0cc
mov dl, byte [esi]
mov byte [esi + ebp], dl
mov al, byte [esi + 1]
inc edi
inc esi
test al, al
jne 0x42d0a0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x148]
mov byte [edi + ecx], 0
push 0x436e48
push ebp
call fcn.00421740
add esp, 8
test eax, eax
je 0x42d14b
mov ecx, dword [esp + 0x14c]
test ecx, ecx
je 0x42d14b
mov dl, byte [eax + 0xa]
add eax, 0xa
xor edi, edi
test dl, dl
je 0x42d147
mov ebp, ecx
mov esi, eax
sub ebp, eax
lea ebx, [ebx]
movsx eax, byte [esi]
push eax
push 0x436e5c
call fcn.0041deb0
add esp, 8
test eax, eax
jne 0x42d13c
cmp edi, dword [esp + 0x150]
jge 0x42d13c
mov cl, byte [esi]
mov byte [esi + ebp], cl
mov al, byte [esi + 1]
inc edi
inc esi
test al, al
jne 0x42d110
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x14c]
mov byte [edi + ecx], 0
push 0x436e40
push ebp
call fcn.00421740
mov esi, eax
add esp, 8
test esi, esi
je 0x42d291
mov eax, dword [esp + 0x140]
test eax, eax
je 0x42d291
mov edx, dword [esp + 0x18]
push edx
push ebx
push ebp
add esi, 7
call fcn.00407060
mov al, byte [esi]
add esp, 0xc
xor edi, edi
test al, al
je 0x42d1bc
mov ebp, dword [esp + 0x140]
sub ebp, esi
movsx eax, byte [esi]
push eax
push 0x436e3c
call fcn.0041deb0
add esp, 8
test eax, eax
jne 0x42d1b8
mov cl, byte [esi]
mov byte [esi + ebp], cl
mov al, byte [esi + 1]
inc edi
inc esi
test al, al
jne 0x42d195
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x140]
push esi
lea ecx, [esp + 0x14]
mov byte [edi + esi], 0
call fcn.0042cde0
push 0x433790
push 0x436e34
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], 0
call fcn.0042c770
push 0x433790
push 0x436e28
lea ecx, [esp + 0x18]
call fcn.0042c770
push 0x433790
push 0x436e20
lea ecx, [esp + 0x18]
call fcn.0042c770
push 0x433790
push 0x436e18
lea ecx, [esp + 0x18]
call fcn.0042c770
push 0x433790
push 0x436e10
lea ecx, [esp + 0x18]
call fcn.0042c770
lea ecx, [esp + 0x10]
call fcn.0042ca20
lea ecx, [esp + 0x10]
call fcn.0042c9d0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x150]
push edx
push 0x436e0c
push eax
push esi
call fcn.00403367
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d291
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x14], 1
call fcn.0041c1b2
push ebp
call fcn.0041c1b2
add esp, 8
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
jmp 0x42d2c1
mov eax, esi
mov ecx, dword [esp + 0x128]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x120]
pop esi
call fcn.0041e823
add esp, 0x12c
ret