Function at 0x424099
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x435034
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x120
push ebx
push esi
mov ebx, ecx
push edi
push 0x1001
lea ecx, [ebp - 0x18]
call sub.HHA.dll_Ordinal_27
mov eax, dword [ebx + 0x18]
and dword [ebp - 4], 0
mov edi, str._TITLE
or ecx, 0xffffffff
mov edx, dword [eax + 0x10]
xor eax, eax
dec edx
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], edx
not ecx
dec ecx
inc eax
cmp eax, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jg 0x42427b
jmp 0x4240ef
mov eax, dword [ebp - 0x10]
cmp dword [ebx + 4], 0
jne 0x42427b
mov ecx, dword [ebx + 0x18]
lea edx, [ebp - 0x12c]
push 0
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + eax*4]
or ecx, 0xffffffff
xor eax, eax
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
lea eax, [ebp - 0x12c]
push eax
and ecx, 3
push dword [ebx + 0xc]
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_315
xor edi, edi
lea eax, [ebp - 0x12c]
push edi
push 0x8000000
push 3
push edi
push 1
push Ordinal_2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4241f6
lea eax, [ebp - 0x24]
push edi
push eax
push 0x1000
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], edi
je 0x4241f6
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x4241f6
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x3c
and byte [eax + ecx], 0
push dword [ebp - 0x14]
call esi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x4241f6
push dword [ebp - 0x1c]
push str._TITLE
push edi
call sub.HHA.dll_Ordinal_310
test eax, eax
jne 0x4241be
inc edi
push 0x3c
push edi
jmp 0x42419c
push 0x3e
push edi
call esi
pop ecx
test eax, eax
pop ecx
je 0x4241f6
mov edx, dword [ebp - 0x14]
inc eax
mov cl, byte [eax]
test cl, cl
je 0x4241e8
cmp cl, 0x3c
je 0x4241e8
cmp cl, 0xd
je 0x4241e5
cmp cl, 0xa
je 0x4241e5
mov byte [edx], cl
inc edx
inc eax
jmp 0x4241cd
and byte [edx], 0
push dword [ebp - 0x14]
push dword [ebx + 0x1c]
call sub.HHA.dll_Ordinal_46
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp - 0x10]
lea esi, [ebp - 0x12c]
mov eax, dword [ecx + 4]
mov edi, dword [eax + edx*4]
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x42422a
test al, al
je 0x424226
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x42422a
inc esi
inc esi
inc edi
inc edi
test al, al
jne 0x424208
xor eax, eax
jmp 0x42422f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424243
push dword [ebp - 0x10]
lea eax, [ebp - 0x12c]
push eax
push ecx
call sub.HHA.dll_Ordinal_54
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x10]
inc ecx
mov edx, dword [eax + 0x10]
dec edx
cmp edx, ecx
jge 0x42425d
push 0x444280
push eax
call sub.HHA.dll_Ordinal_46
mov ecx, dword [ebx + 0x20]
inc dword [ebx + 0x10]
test ecx, ecx
je 0x42426c
call sub.HHA.dll_Ordinal_282
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jle 0x4240ec
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
mov dword [ebx], 1
je 0x424293
push dword [ebp - 0x18]
call sub.HHA.dll_Ordinal_132
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret