Function at 0x4022f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x446008]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov eax, dword [ebp + 0xc]
mov esi, str.00000000__e_XXm_e_XXm_e_XXm_e_XXm_e_XXm_e_XXm_e_XXm_e_XXm__e_XXm_e_XXm_e_XXm_e_XXm_e_XXm_e_XXm_e_XXm_e_XXm__e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_XXm.e_0m_n
mov dword [esp + 0x28], edx
mov edx, ecx
mov dword [esp + 0x20], edx
mov ecx, 0x3c
mov dword [esp + 0x18], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x10], eax
push edi
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test eax, eax
jl 0x40234c
mov esi, dword [ebp + 8]
jg 0x402356
test esi, esi
jne 0x402356
or esi, 0xffffffff
or eax, 0xffffffff
mov dword [esp + 0x14], eax
xor edi, edi
test eax, eax
jb 0x40236a
ja 0x402363
cmp esi, 0x10
jbe 0x40236a
mov eax, 0x10
jmp 0x40236c
mov eax, esi
push edx
push eax
lea eax, [esp + 0x38]
push 1
push eax
call fcn.0040fbda
mov dword [esp + 0x38], eax
add esp, 0x10
sub esi, eax
mov ecx, edi
mov dword [esp + 0x20], esi
sbb dword [esp + 0x14], 0
shr ecx, 0x1c
mov cl, byte [ecx + 0x426660]
mov byte [esp + 0x40], cl
mov ecx, edi
shr ecx, 0x18
and ecx, 0xf
movzx eax, byte [ecx + 0x426660]
mov byte [esp + 0x41], al
mov eax, edi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [eax + 0x426660]
mov byte [esp + 0x42], al
mov eax, edi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [eax + 0x426660]
mov byte [esp + 0x43], al
mov eax, edi
shr eax, 0xc
and eax, 0xf
movzx eax, byte [eax + 0x426660]
mov byte [esp + 0x44], al
mov eax, edi
shr eax, 8
and eax, 0xf
movzx eax, byte [eax + 0x426660]
mov byte [esp + 0x45], al
mov eax, edi
shr eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x426660]
mov byte [esp + 0x46], al
mov eax, edi
and eax, 0xf
mov edi, 0x4263c4
movzx eax, byte [eax + 0x426660]
mov byte [esp + 0x47], al
xor eax, eax
mov dword [esp + 0x18], eax
nop dword [eax + eax]
movzx esi, byte [esp + eax + 0x30]
lea edi, [edi + 0x10]
movzx ecx, byte [esi + 0x426540]
mov eax, ecx
and ecx, 0xf
shr eax, 4
mov dl, byte [ecx + 0x426660]
mov dh, byte [eax + 0x426660]
mov eax, dword [edi - 0x14]
mov ecx, dword [edi - 0x10]
mov byte [esp + eax + 0x40], dh
mov byte [esp + eax + 0x41], dl
mov eax, esi
shr eax, 4
movzx eax, byte [eax + 0x426660]
mov byte [esp + ecx + 0x40], al
mov eax, esi
and eax, 0xf
movzx eax, byte [eax + 0x426660]
mov byte [esp + ecx + 0x41], al
mov eax, dword [edi - 0xc]
mov ecx, dword [edi - 8]
mov byte [esp + eax + 0x40], dh
mov byte [esp + eax + 0x41], dl
movzx eax, byte [esi + str................................._________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ____abcdefghijklmnopqrstuvwxyz................................................................................................................................._f]
mov byte [esp + ecx + 0x40], al
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x10
jb 0x402430
mov esi, dword [esp + 0x28]
cmp esi, 0x10
jae 0x4024f0
mov eax, esi
mov edx, 0x10
shl eax, 4
add eax, 0x4263c4
sub edx, esi
mov ecx, dword [eax - 4]
lea eax, [eax + 0x10]
mov word [esp + ecx + 0x40], 0x3030
mov ecx, dword [eax - 0x10]
mov word [esp + ecx + 0x40], 0x2020
mov ecx, dword [eax - 0xc]
mov word [esp + ecx + 0x40], 0x3030
mov ecx, dword [eax - 8]
mov byte [esp + ecx + 0x40], 0x20
sub edx, 1
jne 0x4024c2
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
push 1
push 0xf1
push eax
call fcn.0040f9c7
add esp, 0x10
test eax, eax
je 0x40253a
mov edi, dword [esp + 0x1c]
add edi, 0x10
mov dword [esp + 0x1c], edi
cmp esi, 0x10
jne 0x40253a
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
ja 0x402363
jb 0x40253a
test esi, esi
jne 0x402358
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.0040a22f
mov esp, ebp
pop ebp
ret