Function at 0x10019091
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10043f30
call fcn.100321c8
sub esp, 0xa44
push ebx
push esi
push edi
mov edx, ecx
mov dword [ebp - 0x10], esp
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x447]
mov byte [ebp - 0x448], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x64f]
mov byte [ebp - 0x650], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x33]
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x18], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
cmp word [edx + eax*2 + 0x2490a], bx
je 0x100190fc
push 1
jmp 0x100190fd
push ebx
push dword [ebp + 8]
mov esi, 0x104
lea eax, [ebp - 0x448]
mov ecx, edx
push esi
push eax
call fcn.1001e7a6
mov edi, dword [ebp - 0x18]
lea eax, [edi + 0x27f4]
push eax
lea eax, [ebp - 0x448]
push eax
push 0x1004a050
lea eax, [ebp - 0x650]
push esi
push eax
call fcn.10001426
add esp, 0x14
lea eax, [ebp - 0x34]
lea ecx, [edi + 0x29110]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.10012de7
test eax, eax
je 0x10019437
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x13b]
mov byte [ebp - 0x13c], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x343]
mov byte [ebp - 0x344], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x54b]
mov byte [ebp - 0x54c], bl
push 1
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.1001e7a6
lea eax, [ebp - 0x13c]
push str.ahn.tc
mov edi, 0x1004a050
push eax
push edi
lea eax, [ebp - 0x344]
push esi
push eax
call fcn.10001426
add esp, 0x14
lea eax, [ebp - 0x13c]
push str.ahn.tc.ahc
push eax
push edi
lea eax, [ebp - 0x54c]
push esi
push eax
call fcn.10001426
lea eax, [ebp - 0x344]
push ebx
push eax
call fcn.1000336b
add esp, 0x1c
test eax, eax
je 0x10019422
lea eax, [ebp - 0x54c]
push ebx
push eax
call fcn.1000336b
pop ecx
test eax, eax
pop ecx
je 0x10019422
cmp word [ebp + 8], bx
jne 0x10019243
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test byte [eax + 0x10], 0x10
je 0x10019243
push ebx
push str._AhnUp_IsLatestTC___0x_04x_TRUE__ahn.tc_is_already_downloaded_from_window_update
push 1
call fcn.1000b21a
add esp, 0xc
push 1
pop eax
jmp 0x10019437
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x23f]
mov byte [ebp - 0x240], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13c]
push eax
push str._s_ahntemp.txt
lea eax, [ebp - 0x240]
push esi
push eax
call fcn.10001426
push dword [ebp - 0x18]
lea eax, [ebp - 0x240]
push 0x10013d7f
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.1000503c
add esp, 0x20
test eax, eax
je 0x10019400
push ebx
push ebx
push 3
push ebx
push 1
lea eax, [ebp - 0x240]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100192c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x_FALSE__open_ahntemp.txt__d_.
jmp 0x10019313
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xa4f]
mov byte [ebp - 0xa50], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0xa50]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x1001932f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x_FALSE__read_ahntemp.txt__d_.
push 1
call fcn.1000b21a
add esp, 0x10
lea eax, [ebp - 0x240]
push eax
call fcn.100032ea
pop ecx
jmp 0x10019434
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, str.ahnidcrc8:
lea eax, [ebp - 0xa50]
push edi
push eax
mov dword [ebp - 4], ebx
call fcn.1003245d
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x10019366
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x_FALSE__not_exist_ahnidcrc8_tag
push 1
call fcn.1000b21a
add esp, 0xc
jmp 0x100193d4
push edi
call fcn.10031620
pop ecx
mov ecx, eax
add ecx, esi
jne 0x1001937d
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x_FALSE__ahnidcrc8_value_is_null
jmp 0x1001935a
xor eax, eax
lea edi, [ebp - 0x27]
mov byte [ebp - 0x28], bl
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push 9
push eax
call fcn.100017e9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100333c0
pop ecx
test eax, eax
pop ecx
jne 0x100193b4
mov dword [ebp - 0x1c], 1
mov eax, str.TRUE
jmp 0x100193b9
mov eax, str.FALSE
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x__s__AhnUICRC_s__AhnTCCRC_s
push 1
call fcn.1000b21a
add esp, 0x18
or dword [ebp - 4], 0xffffffff
jmp 0x1001931d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x_FALSE___s_Extract_Fail__d_
push 1
call fcn.1000b21a
add esp, 0x14
jmp 0x10019434
push dword [ebp - 0x14]
push str._AhnUp_IsLatestTC___0x_04x_FALSE__not_exist_ahn.tc_or_ahn.tc.ahc
push 1
call fcn.1000b21a
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4