joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4440d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
xor ebp, ebp
cmp edi, ebp
mov esi, ecx
je 0x4442a4
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5e98a4], eax
push ebp
lea eax, [esp + 0x14]
push 0xfffffffffffffffd
push eax
push 0x40000000
push ebp
push str.XWnd
push ebp
mov ecx, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call fcn.004d7c50
cmp eax, ebp
mov dword [0x5e98a8], eax
je 0x4441f1
mov ecx, dword [0x51502c]
mov edx, dword [esp + 0x44]
push eax
push 0x213
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
push ebp
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebp
mov dword [esp + 0x40], eax
je 0x4442a4
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], ebp
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
lea eax, [esp + 0x2c]
push 0
push eax
call esi
test eax, eax
je 0x4441bc
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
call ebx
push 1
push 0
push 0
lea eax, [esp + 0x2c]
push 0
push eax
call esi
test eax, eax
jne 0x44419b
push 0xff
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push 0
push ecx
push 1
call ebp
test eax, eax
je 0x4441d7
cmp eax, 0xffffffff
jne 0x444188
mov edx, dword [0x5e98a4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov eax, dword [0x5e8a64]
cmp eax, ebp
je 0x4442a4
lea ecx, [eax*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x4442a4
mov ebx, dword [0x5e8a5c]
mov ecx, dword [ebx]
cmp ecx, ebx
je 0x44426e
mov edi, eax
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 0x1470]
mov dword [edi], edx
mov edx, dword [ecx + 8]
mov esi, dword [0x5e9acc]
cmp edx, esi
je 0x44424e
mov ecx, edx
mov edx, dword [ecx]
cmp edx, esi
je 0x444267
mov ecx, edx
mov edx, dword [ecx]
cmp edx, esi
jne 0x444244
jmp 0x444267
mov edx, dword [ecx + 4]
cmp ecx, dword [edx + 8]
jne 0x444260
mov ecx, edx
mov edx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x444256
cmp dword [ecx + 8], edx
je 0x444267
mov ecx, edx
add edi, 4
cmp ecx, ebx
jne 0x444224
mov ecx, dword [0x5e8a64]
push 0x2710
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
jne 0x444298
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x5e98a4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x4442b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push edi
test esi, esi
je 0x4443de
call fcn.00444b80
test eax, eax
je 0x4443de
mov eax, dword [0x5e98bc]
test eax, eax
jne 0x44430b
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4442fe
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e98bc], eax
mov eax, dword [0x5e98bc]
test eax, eax
je 0x4443de
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esi, 0x14
mov ecx, 0x82
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0xc]
push eax
push ecx
push str._s360SeFreeze_se_d.dmp
push 0x104
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call fcn.00433230
add esp, 0x18
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4443de
mov edi, dword [esp + 0x21c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
push 0
push 0x410
call ebp
mov esi, eax
test esi, esi
jne 0x4443be
push edi
push eax
push 0x1f0fff
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret
push 0
push 0
push 0
push 0x20
push ebx
push edi
push esi
call dword [0x5e98bc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x444980
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x57d34c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x444b0b
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov al, byte [esi]
not ecx
dec ecx
test al, al
mov ebp, ecx
je 0x444af3
push 0x4f9550
push esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x444adb
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x444ac0
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x4f954c]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret
mov eax, dword [esp + 0x850]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x444afa
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
Function at 0x4463d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x4463ee
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
lea edi, [esi + 0x218]
xor ebp, ebp
mov eax, dword [edi + 8]
test eax, eax
je 0x446425
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x446425
mov edx, eax
mov ebx, dword [edx + ebp*4]
test ebx, ebx
je 0x446422
mov ecx, ebx
call fcn.00446600
push ebx
call fcn.004d9644
add esp, 4
inc ebp
jmp 0x4463f6
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov eax, edx
cmp eax, edx
je 0x44643f
mov ebx, dword [eax]
add eax, 4
mov dword [ecx], ebx
add ecx, 4
cmp eax, edx
jne 0x446431
mov eax, dword [edi + 0xc]
mov dword [edi + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x446467
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0x23c], 0
mov ebx, dword [esp + 0x34]
lea ecx, [esi + 0x10]
push ebx
push 0x4f6170
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x5067c4
push ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 0x18
mov dword [esi + 0x23c], eax
test eax, eax
jne 0x4464a6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
xor edx, edx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x1e], edx
push eax
mov dword [esp + 0x26], edx
push 0xa
mov dword [esp + 0x2e], edx
lea eax, [esp + 0x24]
mov dword [esp + 0x32], edx
push 2
push eax
mov word [esp + 0x2c], 0
mov word [esp + 0x3e], dx
call ebx
add esp, 0x10
cmp eax, 0xa
jne 0x4465c8
lea ecx, [esp + 0x1c]
push str.TWHIS
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4465c8
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x10]
push edx
push 1
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x4465c8
mov eax, dword [esp + 0x10]
mov ebp, 0x3e8
cmp eax, ebp
jne 0x4465c8
mov ecx, dword [esi + 0x23c]
lea edx, [esp + 0x14]
push ecx
push 1
push 4
push edx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x4465c8
cmp dword [esp + 0x14], ebp
jne 0x4465c8
mov eax, dword [esi + 0x23c]
lea ecx, [esi + 0xc]
push eax
push 1
push 4
push ecx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x4465c8
mov edx, dword [esi + 0x23c]
lea ebp, [esi + 8]
push edx
push eax
push 4
push ebp
call ebx
add esp, 0x10
cmp eax, 1
jne 0x4465c8
mov eax, dword [ebp]
test eax, eax
jle 0x4465c8
lea eax, [eax + eax*2]
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x4465c8
mov ecx, dword [esi + 0x23c]
mov edx, dword [ebp]
push ecx
push edx
push 0xc
push eax
call ebx
mov ecx, dword [ebp]
add esp, 0x10
cmp eax, ecx
je 0x4465d5
mov eax, dword [esi + 4]
push eax
call fcn.004d9644
add esp, 4
mov dword [esi + 4], 0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
mov ecx, esi
call fcn.00446360
push edi
push eax
mov ecx, esi
call fcn.00446850
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4
Function at 0x446610
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x178c
call fcn.004d9670
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x4466d1
mov eax, dword [esi + 0x23c]
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
cmp eax, ebx
jne 0x44664f
lea eax, [esi + 0x10]
push 0x5067cc
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
jmp 0x4466c7
push ebx
push ebx
push eax
call ebp
mov edx, dword [esi + 0x23c]
xor ecx, ecx
mov dword [esp + 0x26], ecx
push edx
mov dword [esp + 0x2e], ecx
push 0xa
mov dword [esp + 0x36], ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x3a], ecx
push 2
push eax
mov word [esp + 0x34], bx
mov word [esp + 0x46], cx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 0xa
jne 0x4466a2
lea eax, [esp + 0x18]
push str.TWHIS
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4466df
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esi + 0x10]
push 0x5067cc
push edx
mov dword [esi + 0x23c], ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x23c], eax
jne 0x4466df
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x178c
ret
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3e7
xor eax, eax
lea edi, [esp + 0x7fe]
mov word [esp + 0x7fc], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x23c]
push ebx
push ebx
push eax
call ebp
mov ecx, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push ecx
push 0x7d0
lea edx, [esp + 0x40]
push 1
push edx
call edi
add esp, 0x1c
cmp eax, 0x7d0
jne 0x446818
mov eax, dword [esi + 0x23c]
push ebx
push ebx
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x7fc]
mov eax, 0x3e8
push str.TWHIS
push 0x4f6170
push 9
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x80c]
push edx
push 0xa
push 2
push eax
call edi
add esp, 0x20
cmp eax, 0xa
jne 0x446818
mov ecx, dword [esi + 0x23c]
lea edx, [esp + 0x10]
push ecx
push 1
push 4
push edx
call edi
add esp, 0x10
cmp eax, 1
jne 0x446818
mov eax, dword [esi + 0x23c]
lea ecx, [esp + 0x14]
push eax
push 1
push 4
push ecx
call edi
add esp, 0x10
cmp eax, 1
jne 0x446818
mov edx, dword [esi + 0x23c]
push edx
push eax
lea eax, [esi + 0xc]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x446818
mov ecx, dword [esi + 0x23c]
lea ebp, [esi + 8]
push ecx
push eax
push 4
push ebp
call edi
add esp, 0x10
cmp eax, 1
jne 0x446818
mov edx, dword [esi + 0x23c]
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
push edx
push eax
push 0xc
push ecx
call edi
mov ecx, dword [ebp]
add esp, 0x10
cmp eax, ecx
je 0x44683c
mov edx, dword [esi + 0x23c]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0x23c], ebx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x178c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x178c
ret
Function at 0x446b80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dd388
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push esi
push 1
push 1
push eax
call ebx
mov ebp, dword [esp + 0x3c]
push esi
push 1
push 4
push ebp
call ebx
mov eax, dword [ebp]
add esp, 0x20
test eax, eax
jle 0x446ceb
push esi
lea edi, [ebp + 4]
push 1
push 4
push edi
call ebx
mov eax, dword [edi]
add esp, 0x10
test eax, eax
jl 0x446ceb
push esi
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call ebx
push esi
push 1
lea edx, [ebp + 0xc]
push 4
push edx
call ebx
push esi
push 1
lea eax, [ebp + 0x10]
push 4
push eax
call ebx
push esi
push 1
lea ecx, [esp + 0x6c]
push 4
push ecx
mov dword [esp + 0x74], 0
call ebx
mov eax, dword [esp + 0x74]
add esp, 0x40
test eax, eax
jle 0x446ceb
cmp eax, 0x1048
jae 0x446ceb
lea edx, [ebp + 0x14]
mov ecx, 0x82
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
push esi
push eax
push 2
push edx
call ebx
push esi
push 1
lea ecx, [esp + 0x4c]
push 4
push ecx
mov dword [esp + 0x54], 0
call ebx
mov eax, dword [esp + 0x54]
add esp, 0x20
test eax, eax
jle 0x446ce4
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
je 0x446ce4
mov edx, dword [esp + 0x34]
xor eax, eax
push esi
mov esi, dword [esp + 0x34]
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
push eax
push 1
push esi
call ebx
add esp, 0x10
lea ecx, [esp + 0x10]
push esi
call fcn.004178b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push ecx
lea ecx, [ebp + 0x21c]
call fcn.004179d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00417890
push esi
call fcn.004d9644
add esp, 4
mov eax, 1
jmp 0x446cee
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x446fd0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x44713c
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x44713c
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push edi
push 2
push 0
push eax
call ebp
mov eax, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push eax
call edi
add esp, 0x10
cmp eax, 0x7d0
jge 0x44702a
mov ecx, dword [esi + 0x23c]
push 0
push 0x7d0
push ecx
call ebp
add esp, 0xc
mov edx, dword [esi + 0x23c]
push edx
call edi
mov eax, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push eax
push 1
lea ecx, [esp + 0x24]
push 1
push ecx
mov byte [esp + 0x2c], 0
call edi
mov edx, dword [esi + 0x23c]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [esi + 0x23c]
lea ecx, [ebx + 4]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [esi + 0x23c]
lea eax, [ebx + 8]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [esi + 0x23c]
add esp, 0x44
lea edx, [ebx + 0xc]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [esi + 0x23c]
lea ecx, [ebx + 0x10]
push eax
push 1
push 4
push ecx
call edi
lea ebp, [ebx + 0x14]
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x24
cmp eax, 0x103
mov dword [esp + 0x10], eax
jbe 0x4470c5
mov dword [esp + 0x10], 0x103
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x10]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [esi + 0x23c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 2
push ebp
call edi
add ebx, 0x21c
add esp, 0x20
mov ecx, ebx
call fcn.00417a60
inc eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x23c]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [esi + 0x23c]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, ebx
push edx
push eax
push 1
call fcn.00417a80
push eax
call edi
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4
Function at 0x448a10
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dd4e8
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00448a90
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00417950
push edi
mov ecx, esi
call fcn.00448780
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00417890
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x449530
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
je 0x449623
mov dx, word [0x514ff0]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 0x454]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24c]
mov dword [esp + 0xc], eax
mov eax, 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 8]
push eax
push 0
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x449623
mov eax, dword [esp + 0x30]
test eax, eax
je 0x449616
cmp word [eax], 0
je 0x449616
push 0x504450
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x449623
mov eax, 1
pop esi
add esp, 0x654
ret
xor eax, eax
pop esi
add esp, 0x654
ret
Function at 0x44c300
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push 0
push str.history.dat
mov ecx, 0x514ff8
call fcn.00407d70
test eax, eax
je 0x44c32a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44c4bc
push esi
call fcn.0043b490
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x44c4b3
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x44c4ad
mov edx, dword [esp + 8]
test edx, edx
je 0x44c4ad
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], 0x28
mov eax, dword [edx]
push edx
call dword [eax + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x58]
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x44c4a2
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x44c49e
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x44c480
mov eax, dword [esp + 0x58]
test eax, eax
je 0x44c480
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x44c468
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x44c468
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x44c405
xor eax, eax
jmp 0x44c468
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x22]
mov dword [esp + 0x3c], edx
and ecx, 0xffff
and eax, 0xffff
lea edx, [esp + 0x30]
dec ecx
sub eax, 0x76c
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
call esi
add esp, 4
mov ecx, dword [esp + 0x5c]
push 1
push eax
mov eax, dword [esp + 0x60]
push 0
push eax
push ecx
push 0
mov ecx, ebx
call fcn.004498b0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x44c3a8
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebx + 0x68]
call fcn.00448dc0
pop esi
pop ebx
add esp, 0x70
ret