Function at 0x443870
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x477350]
sub esp, 0x598
test eax, eax
jne 0x443884
call fcn.0041d3c0
push ebx
push ebp
push esi
push edi
mov edi, 0x475374
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dl, 0x5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x124]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x123], dl
jne 0x4438e5
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x123], al
mov edi, 0x475954
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x328]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x328]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x327], dl
jne 0x443940
lea edi, [esp + 0x328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x327], al
mov ecx, 0xf3
xor eax, eax
mov edi, 0x475580
push 0x475642
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x475642
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00448e70
mov edi, 0x47525c
or ecx, 0xffffffff
xor eax, eax
push 0x475642
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x475642
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00448a90
push 0x475230
mov dword [0x4755b2], eax
call fcn.004499a0
mov word [0x4755b6], ax
mov eax, dword [0x4755b2]
push eax
call fcn.00432170
test eax, eax
mov dword [esp + 0x14], eax
je 0x443a20
mov cx, word [0x4755b6]
cmp cx, word [eax + 0x36]
jne 0x443a20
mov ecx, dword [0x477350]
test ecx, ecx
mov cl, byte [eax + 0x27]
je 0x443a0d
pop edi
and cl, 0xfd
pop esi
pop ebp
mov byte [eax + 0x27], cl
pop ebx
add esp, 0x598
ret 4
pop edi
or cl, 1
pop esi
pop ebp
mov byte [eax + 0x27], cl
pop ebx
add esp, 0x598
ret 4
mov edi, 0x47525c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x228]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x22c]
push ecx
call fcn.0044c660
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x443a70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x598
ret 4
mov edx, dword [0x460c5c]
lea edi, [esp + 0x328]
mov dword [eax], edx
mov cl, byte [0x460c60]
mov byte [eax + 4], cl
mov eax, dword [0x475a68]
test eax, eax
jne 0x443a98
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00448e70
lea edi, [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
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 eax, [esp + 0x468]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0xffffffff
jne 0x443cfb
mov edx, dword [0x475a68]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [0x475a68], eax
lea edi, [esp + 0x328]
jne 0x443b3b
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00448e70
lea edi, [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x468]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x443cfb
mov ecx, dword [esp + 0x18]
mov edx, dword [0x461200]
mov dword [esp + 0x10], 0
lea edi, [esp + 0x328]
mov dword [ecx], edx
mov al, byte [0x461204]
mov byte [ecx + 4], al
mov eax, dword [0x475a68]
test eax, eax
jne 0x443be1
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00448e70
lea edi, [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x468]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x443e8f
mov edx, dword [0x475a68]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [0x475a68], eax
lea edi, [esp + 0x328]
jne 0x443c78
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00448e70
lea edi, [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x468]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call ebp
cmp eax, 0xffffffff
je 0x443ea1
push eax
call ebx
mov dword [esp + 0x10], 1
jmp 0x443e9a
push eax
call ebx
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [0x475a58]
mov edx, ecx
mov esi, edi
mov edi, 0x475746
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x443d3f
mov byte [0x4755a2], 0x11
jmp 0x443ea1
mov eax, dword [esp + 0x18]
mov ecx, dword [0x460c6c]
lea edi, [esp + 0x124]
mov dword [eax], ecx
mov dl, byte [0x460c70]
or ecx, 0xffffffff
mov byte [eax + 4], dl
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00448e70
lea edi, [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x468]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x443dd6
mov byte [0x4755a2], 0x11
jmp 0x443ea1
push eax
call ebx
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push 0x47584a
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x24]
mov edx, ecx
mov esi, edi
mov edi, 0x47584a
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 3
push 0
push 1
lea ecx, [esp + 0x34]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x443e86
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x330]
push 0x140
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443e7f
cmp dword [esp + 0x1c], 0x140
jne 0x443e7f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp word [esp + 0x32a], 1
sete al
test eax, eax
je 0x443e86
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x598
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x4755a2], 0x12
jmp 0x443ea1
push eax
mov dword [esp + 0x14], 1
call ebx
mov byte [0x4755a2], 0x14
mov eax, dword [0x477368]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x443f8e
test eax, eax
jne 0x443f96
mov edi, 0x47525c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xc
jne 0x44403e
mov eax, dword [esp + 0x18]
mov edx, dword [0x460c6c]
lea edi, [esp + 0x124]
mov dword [eax], edx
mov cl, byte [0x460c70]
mov byte [eax + 4], cl
mov al, 0x5f
mov byte [esp + 0x22d], al
mov byte [esp + 0x22e], al
mov byte [esp + 0x22f], al
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00448e70
lea edi, [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x468]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call ebp
cmp eax, 0xffffffff
je 0x44403e
push eax
call ebx
mov byte [0x4755a2], 0x14
mov dword [0x475a68], 0
jmp 0x443fa6
test eax, eax
je 0x44403e
mov eax, dword [0x475a68]
test eax, eax
je 0x443fa6
or byte [0x4755a7], 0x20
mov eax, dword [esp + 0x5ac]
sub eax, 2
je 0x443fcc
sub eax, 2
je 0x443fc3
dec eax
je 0x443fcc
mov al, byte [0x4755a7]
and al, 0x3f
jmp 0x443fd3
mov al, byte [0x4755a7]
or al, 0x80
jmp 0x443fd3
mov al, byte [0x4755a7]
or al, 0x40
mov esi, dword [esp + 0x14]
mov byte [0x4755a7], al
test esi, esi
jne 0x444051
push 0x475580
call fcn.0043c2b0
test eax, eax
je 0x444042
push 0x475580
call fcn.004321a0
test eax, eax
mov dword [esp + 0x14], eax
je 0x44403e
mov esi, eax
mov al, byte [esi + 0x61]
test al, al
jne 0x444016
push 0x475746
call fcn.00437fe0
mov byte [esi + 0x61], al
mov eax, dword [0x477350]
test eax, eax
je 0x444025
mov byte [esi + 0x29], 1
jmp 0x444029
or byte [esi + 0x27], 1
mov eax, dword [0x475228]
mov dword [0x475a60], 1
inc eax
mov dword [0x475228], eax
mov esi, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x598
ret 4
mov dx, word [0x4755b6]
cmp dx, word [esi + 0x36]
je 0x4440a2
push 0x475580
call fcn.0043c2b0
push esi
push 0x475580
call fcn.004323e0
mov eax, dword [0x477350]
test eax, eax
mov al, byte [esi + 0x27]
je 0x44409d
and al, 0xfd
pop edi
mov byte [esi + 0x27], al
mov eax, esi
pop esi
pop ebp
mov dword [0x475a60], 1
pop ebx
add esp, 0x598
ret 4
or al, 1
mov byte [esi + 0x27], al
mov eax, esi
pop edi
pop esi
pop ebp
mov dword [0x475a60], 1
pop ebx
add esp, 0x598
ret 4