joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b03a6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.closebtn
lea ecx, [edi + 0x40]
mov dword [0x62fbd8], edi
call fcn.00439b90
push str.tab_update_view
lea ecx, [edi + 0x40]
mov dword [edi + 0x3a0], eax
call fcn.00439b90
push str.vLayout_bg
lea ecx, [edi + 0x40]
mov dword [edi + 0x3c4], eax
call fcn.00439b90
push str.lb_logo
lea ecx, [edi + 0x40]
mov dword [edi + 0x3c8], eax
call fcn.00439b90
push str.btn_runprogram
lea ecx, [edi + 0x40]
mov dword [edi + 0x3ac], eax
call fcn.00439b90
push str.lb_bigtext
lea ecx, [edi + 0x40]
mov dword [edi + 0x3a4], eax
call fcn.00439b90
push str.lb_title
lea ecx, [edi + 0x40]
mov dword [edi + 0x3bc], eax
call fcn.00439b90
push str.lb_file
lea ecx, [edi + 0x40]
mov dword [edi + 0x3b0], eax
call fcn.00439b90
push str.lb_speed
lea ecx, [edi + 0x40]
mov dword [edi + 0x3b4], eax
call fcn.00439b90
push str.pro_pos
lea ecx, [edi + 0x40]
mov dword [edi + 0x3b8], eax
call fcn.00439b90
mov dword [edi + 0x3c0], eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0047b9a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
lea edx, [eax + 2]
jmp 0x406da0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406da0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x238]
call fcn.00406130
push 0x14c
mov dword [ebp - 4], 0
call fcn.00479274
add esp, 4
test eax, eax
je 0x406de0
call fcn.00412080
jmp 0x406de2
xor eax, eax
xor ecx, ecx
push ecx
lea edx, [ebp - 0x238]
mov dword [edi + 0x3cc], eax
mov word [ebp - 0x254], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
call fcn.00405d30
mov edi, dword [edi + 0x3cc]
push 0
lea eax, [ebp - 0x254]
push eax
or eax, 0xffffffff
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00405d30
push 0
push 0
push edi
push 0x4124f0
push 0
push 0
call fcn.0047b08a
mov esi, 8
add esp, 0x18
cmp dword [ebp - 0x240], esi
jb 0x406e6a
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00478c1a
add esp, 4
cmp dword [ebp - 0x224], esi
jb 0x406e81
mov edx, dword [ebp - 0x238]
push edx
call fcn.00478c1a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret
Function at 0x408f10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408f20
sub eax, edx
sar eax, 1
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
test eax, eax
jg 0x408f40
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
push esi
push edi
neg ecx
or ecx, eax
push ecx
call fcn.00477c96
add esp, 4
mov esi, eax
cmp dword [ebp - 4], ebx
jle 0x408fb4
mov ecx, dword [ebp + 8]
sub eax, ecx
mov edi, ecx
mov dword [ebp - 8], eax
lea ecx, [ecx]
movzx eax, word [edi]
cmp eax, 0x5c
je 0x408f7d
cmp eax, 0x2f
jne 0x408fab
push ebx
push ecx
push esi
call fcn.0047a54b
mov ecx, dword [ebp - 8]
add esp, 0xc
xor eax, eax
push esi
mov word [ecx + edi], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408fa8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x408fc0
mov ecx, dword [ebp + 8]
inc ebx
add edi, 2
cmp ebx, dword [ebp - 4]
jl 0x408f70
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409590
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x8000080
push 3
push ebx
push 1
push closesocket
mov dword [ebp - 0x34], ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x409604
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x618b44
mov ecx, esi
mov byte [esi], bl
call fcn.00402c50
jmp 0x4096cc
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x30], eax
call fcn.00479495
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x409640
mov edx, dword [ebp - 0x30]
push 0
lea ecx, [ebp - 0x34]
push ecx
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409668
push ebx
call fcn.00479529
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x618b44
mov ecx, esi
mov byte [esi], 0
call fcn.00402c50
jmp 0x4096cc
mov eax, dword [ebp - 0x30]
push eax
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00402c50
push ebx
mov dword [ebp - 4], 0
call fcn.00479529
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
push ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
mov byte [esi], 0
call fcn.004032f0
cmp dword [ebp - 0x18], 0x10
jb 0x4096cc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00478c1a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret

Function at 0x4096f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x8000080
push 2
push ebx
push 1
push 0xc0000000
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x409736
cmp dword [ebp + 0x20], 0x10
jb 0x40972e
mov eax, dword [ebp + 0xc]
push eax
call fcn.00478c1a
add esp, 4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x409742
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
push ebx
lea ecx, [ebp - 4]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x409761
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x1c]
jne 0x409761
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x20], 0x10
jb 0x40977a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00478c1a
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40adc0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5addd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
push str.InternetOpen
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00402c50
push 0
push 0
mov dword [ebp - 4], 0
mov eax, dword [0x62fbec]
push 0
push eax
push 0x619398
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
jne 0x40ae38
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040b930
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov esi, eax
jb 0x40ae4c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00478c1a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret
Function at 0x40d0f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad22b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x629214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00477efa
push 4
mov dword [ebp - 4], 0
call fcn.00479274
mov edi, eax
add esp, 4
test edi, edi
je 0x40d170
call fcn.00478423
mov dword [edi], eax
call fcn.004781ba
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00478039
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d166
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00478061
jmp 0x40d172
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410d20
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
push 0x48
push eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x60]
push eax
mov esi, ecx
mov byte [ebp - 0x14], 0
call fcn.0047b9a0
xor eax, eax
add esp, 0xc
mov byte [ebp - 0x74], 0
mov word [ebp - 0x73], ax
mov byte [ebp - 0x71], al
test esi, esi
je 0x410db7
push 0x6198a0
push esi
call fcn.0047978e
mov edi, eax
add esp, 8
test edi, edi
je 0x410db7
push 2
push 0
push edi
call fcn.0047aa0e
push edi
call fcn.0047ac1e
mov esi, eax
push esi
call fcn.00479495
mov ebx, eax
add esp, 0x14
xor eax, eax
push edi
cmp ebx, eax
jne 0x410dca
call fcn.00479f11
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
call fcn.0047ac83
push edi
push esi
push 1
push ebx
call fcn.0047afa8
push ebx
lea esi, [ebp - 0x70]
call fcn.00410470
push edi
call fcn.00479f11
push ebx
call fcn.00479529
mov ecx, esi
lea ebx, [ebp - 0x14]
call fcn.00410520
push 0x21
call fcn.00479495
mov ebx, eax
xor eax, eax
add esp, 0x24
cmp ebx, eax
je 0x410db7
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x20], al
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ebp + ecx - 0x14]
push edx
lea eax, [ebp - 0x74]
push str._02X
push eax
call fcn.0047a64a
lea eax, [ebp - 0x74]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410e68
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410e74
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x78]
inc eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x78], eax
cmp eax, 0x10
jl 0x410e49
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00478c25
mov esp, ebp
pop ebp
ret
Function at 0x410f40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x48
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
mov word [ebp - 0x77], ax
mov byte [ebp - 0x75], al
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x78], bl
call fcn.0047b9a0
mov eax, dword [ebp + 8]
push esi
lea esi, [ebp - 0x74]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
call fcn.00410470
mov ecx, esi
lea ebx, [ebp - 0x18]
call fcn.00410520
push 0x21
call fcn.00479495
mov ebx, eax
xor eax, eax
add esp, 0x14
cmp ebx, eax
jne 0x410fe9
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x20], al
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ebp + ecx - 0x18]
push edx
lea eax, [ebp - 0x78]
push str._02x
push eax
call fcn.0047a64a
lea eax, [ebp - 0x78]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411025
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411031
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x7c]
inc eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x7c], eax
cmp eax, 0x10
jl 0x411006
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00478c25
mov esp, ebp
pop ebp
ret
Function at 0x411340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acd7c
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
push str.click
mov ecx, esi
call fcn.00477dc0
push eax
call fcn.0047a17e
add esp, 8
test eax, eax
jne 0x411532
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
push str.btn_close
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00477dc0
push eax
call fcn.0047a17e
add esp, 8
test eax, eax
sete bl
or edi, 0xffffffff
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.0043d597
test bl, bl
je 0x4113fd
mov eax, dword [ebp - 0x11c]
push 1
lea ecx, [eax - 0x20]
mov dword [eax + 0x37c], 8
call fcn.00438136
jmp 0x411532
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x94]
push eax
call edx
push str.btn_ok
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00477dc0
push eax
call fcn.0047a17e
add esp, 8
test eax, eax
lea ecx, [ebp - 0x94]
sete bl
mov dword [ebp - 4], edi
call fcn.0043d597
test bl, bl
je 0x411463
mov eax, dword [ebp - 0x11c]
push 1
lea ecx, [eax - 0x20]
mov dword [eax + 0x37c], 6
call fcn.00438136
jmp 0x411532
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
push str.btn_no
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00477dc0
push eax
call fcn.0047a17e
add esp, 8
test eax, eax
lea ecx, [ebp - 0x94]
sete bl
mov dword [ebp - 4], edi
call fcn.0043d597
test bl, bl
je 0x4114c6
mov eax, dword [ebp - 0x11c]
push 1
lea ecx, [eax - 0x20]
mov dword [eax + 0x37c], 7
call fcn.00438136
jmp 0x411532
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x118]
push eax
call edx
push str.btn_link
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00477dc0
push eax
call fcn.0047a17e
add esp, 8
test eax, eax
lea ecx, [ebp - 0x118]
sete bl
mov dword [ebp - 4], edi
call fcn.0043d597
test bl, bl
je 0x411532
mov ecx, dword [ebp - 0x11c]
push 1
push 0
push 0
add ecx, 0x380
call fcn.00477dc0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret 4
Function at 0x411a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af170
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x411a62
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411a98
push ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push 0x618b44
mov ecx, edi
mov byte [edi], bl
call fcn.00402c50
cmp dword [ebp + 0x1c], esi
jb 0x411b5b
mov eax, dword [ebp + 8]
push eax
jmp 0x411b53
xor eax, eax
mov esi, 0xf
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 8]
jae 0x411ad3
lea ecx, [ebp + 8]
call fcn.00410d20
cmp eax, ebx
je 0x411b1b
lea esi, [ebp - 0x34]
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x411ae3
push eax
call fcn.00479529
lea eax, [ebp - 0x34]
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x411b00
sub eax, edx
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00402c50
mov esi, 0xf
lea edx, [ebp - 0x50]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
push edx
mov ecx, edi
mov byte [edi], bl
call fcn.004032f0
cmp dword [ebp - 0x3c], 0x10
jb 0x411b40
mov eax, dword [ebp - 0x50]
push eax
call fcn.00478c1a
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
jb 0x411b5b
mov ecx, dword [ebp + 8]
push ecx
call fcn.00478c1a
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret
Function at 0x419e60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x14
mov eax, str.cacheloadflash.log
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00406130
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00408d40
mov ecx, eax
lea edx, [ebp - 0x64]
push edx
mov eax, esi
mov byte [ebp - 4], 1
call fcn.0040a2d0
mov esi, 8
add esp, 4
cmp dword [ebp - 0x34], esi
jb 0x419ee5
mov eax, dword [ebp - 0x48]
push eax
call fcn.00478c1a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x419f0a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00478c1a
add esp, 4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x419f15
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x50], esi
jb 0x419f2d
mov eax, dword [ebp - 0x64]
push eax
call fcn.00478c1a
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret
Function at 0x41b980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aedaf
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x629214]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x629214]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
push 0x44
xor edi, edi
lea eax, [esp + 0x28]
push edi
push eax
mov esi, ecx
call fcn.0047b9a0
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x12c]
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.0043d56f
push esi
lea ecx, [esp + 0x130]
push str.__s_
push ecx
mov dword [esp + 0x1d4], edi
call fcn.0043d9d0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41bbb0
lea ecx, [esp + 0xa4]
call fcn.0043d56f
mov byte [esp + 0x1c8], 1
xor ecx, ecx
push 0x11
mov eax, str.cmd_open_failed_d
lea esi, [esp + 0x70]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], edi
mov word [esp + 0x70], cx
call fcn.00406130
mov bl, 2
mov byte [esp + 0x1c8], bl
test byte [0x63048c], 1
jne 0x41bac0
or dword [0x63048c], 1
lea edx, [esp + 0x13]
push edx
mov byte [esp + 0x1cc], 3
call fcn.004045f0
mov byte [esp + 0x1c8], 4
call fcn.00403c10
push 0x5b0660
call fcn.0047990f
add esp, 4
mov byte [esp + 0x1c8], bl
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0x70]
mov ecx, 0x630434
call fcn.004040b0
mov ebx, 8
mov byte [esp + 0x1c8], 5
cmp dword [eax + 0x14], ebx
jb 0x41baec
mov esi, dword [eax]
jmp 0x41baee
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xa8]
push esi
push ecx
call fcn.0043d9d0
add esp, 0xc
cmp dword [esp + 0x9c], ebx
jb 0x41bb1f
mov edx, dword [esp + 0x88]
push edx
call fcn.00478c1a
add esp, 4
xor eax, eax
mov esi, 7
mov byte [esp + 0x1c8], 1
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov word [esp + 0x88], ax
cmp dword [esp + 0x80], ebx
jb 0x41bb5a
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00478c1a
add esp, 4
xor edx, edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], dx
call fcn.00477dc0
push eax
call fcn.004073c0
add esp, 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1c8], 0
call fcn.0043d597
lea ecx, [esp + 0x12c]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.0043d597
xor eax, eax
jmp 0x41bbe0
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x12c]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.0043d597
mov eax, 1
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.00478c25
mov esp, ebp
pop ebp
ret