joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407de0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x8000
mov edi, ecx
call fcn.004448e9
mov ebx, dword [ebp + 8]
add esp, 4
mov esi, eax
lea ebx, [ebx]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x8000
push esi
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407e3b
mov edx, dword [ebp + 8]
test edx, edx
je 0x407e4d
js 0x407e3b
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x407e00
mov eax, dword [ecx]
push edx
push esi
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x407e00
push esi
call fcn.00492dd3
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x407e59
mov eax, dword [ecx]
call dword [eax + 0xc]
push esi
call fcn.00492dd3
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x407ea0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
mov edi, ecx
push eax
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x407edc
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 4]
mov dword [esi], 0xffffffff
push eax
push 0x20000005
mov dword [esi + 4], 0xffffffff
push dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x407f2b
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov dword [esi + 4], 0
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x407f40
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov dword [ebp - 0x208], eax
mov edi, ecx
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0049ac40
push 0x38
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.0049ac40
lea eax, [ebp - 0x204]
mov dword [ebp - 0x244], 0x3c
add esp, 0x18
mov dword [ebp - 0x234], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x230], 0xff
mov dword [ebp - 0x214], 1
jb 0x407fc9
mov esi, dword [esi]
lea ecx, [ebp - 0x244]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x407ff1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x234]
cmp word [edx], 0
jne 0x408001
xor ecx, ecx
jmp 0x408015
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408006
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00407100
mov edx, dword [ebp - 0x218]
mov ax, word [ebp - 0x22c]
mov word [ebx], ax
cmp word [edx], 0
jne 0x408038
xor ecx, ecx
jmp 0x40804f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408040
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x208]
push edx
call fcn.00407100
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004921c3
mov esp, ebp
pop ebp
ret

Function at 0x40e440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40e459
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40e494
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40e490
lea ebx, [ebx]
cmp esi, edx
jae 0x40e494
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40e480
cmp esi, edx
jb 0x40e49b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40e800
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x40e940
test edx, edx
je 0x40e940
push edx
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
call fcn.0040da50
lea ecx, [ebp - 0x94]
call fcn.0040db20
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040dbf0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40e8a8
mov eax, dword [esi]
jmp 0x40e8aa
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x40e8f2
cmp ecx, 0x10
jb 0x40e8ba
mov edx, dword [esi]
jmp 0x40e8bc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x40e8f2
cmp ecx, 0x10
jb 0x40e8d1
mov ecx, dword [esi]
jmp 0x40e8d3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0040d540
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x40e903
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004081c0
cmp dword [esi + 0x14], 0x10
jb 0x40e90d
mov eax, dword [esi]
jmp 0x40e90f
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004995e0
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x40e92d
mov esi, dword [esi]
mov byte [esi + 0x20], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
push 0
push 0x4ee146
mov ecx, esi
call fcn.0040d670
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x40efa0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8b06
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0049ac40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x40f033
xor ecx, ecx
jmp 0x40f04f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f040
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407100
push 0x4eddec
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00411150
push str.XuanZhi9_
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00411150
add esp, 0x18
cmp dword [ebp - 0x234], 8
jb 0x40f0ab
push dword [ebp - 0x248]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x40f0df
push dword [ebp - 0x230]
call fcn.00473980
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x40f0e9
mov eax, dword [esi]
jmp 0x40f0eb
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
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.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x40fbb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.004a00f0
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x1ffe
push eax
mov word [ebp - 0x200c], ax
mov esi, ecx
lea eax, [ebp - 0x200a]
push eax
call fcn.0049ac40
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40fbf3
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x200c]
push 0x1000
push eax
call fcn.00498b48
push 0x40
lea eax, [ebp - 0x2060]
push 0
push eax
call fcn.0049ac40
add esp, 0x18
mov dword [ebp - 0x2064], 0x44
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x201c], xmm0
jb 0x40fc35
mov esi, dword [esi]
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2064]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40fc8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute__CreateProcess_return_false__last_error_is__d.
push 0x1e1
push str.runExeFile
call fcn.00420530
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x201c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2018]
call esi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x410330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8d2c
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0049ac40
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [ebp - 0x220], ax
jne 0x4103b5
xor ecx, ecx
jmp 0x4103cf
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4103c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x440]
call fcn.00407100
push 0x104
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4104f7
push 0x104
lea eax, [ebp - 0x428]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4104f7
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407230
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.00410150
mov byte [ebp - 4], 3
cmp dword [ebp - 0x45c], 8
jb 0x41045e
push dword [ebp - 0x470]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
push str.ldlduninst_del.exe
lea edx, [ebp - 0x440]
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x488]
mov word [ebp - 0x470], ax
call fcn.00411250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x458]
cmovae ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x444], 8
push ecx
cmovae edx, dword [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.0040f820
add esp, 0xc
cmp dword [ebp - 0x474], 8
jb 0x4104e0
push dword [ebp - 0x488]
call fcn.00473980
add esp, 4
cmp dword [ebp - 0x444], 8
jb 0x4104f7
push dword [ebp - 0x458]
call fcn.00473980
add esp, 4
cmp dword [ebp - 0x42c], 8
jb 0x41050e
push dword [ebp - 0x440]
call fcn.00473980
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret

Function at 0x410530
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.0049ac40
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
jb 0x410568
mov eax, dword [esi]
jmp 0x41056a
mov eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4105a1
cmp dword [esi + 0x14], 8
jb 0x41058a
mov esi, dword [esi]
push 5
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411850
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00411a70
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x4118a9
cmp eax, 0x6f
jne 0x4118d8
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x4118d8
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x4118f6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x411910
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x41192c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x411a39
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.0049ac40
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4ee17c
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.004988b0
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x4119d0
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4119c1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00407100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00411ad0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x411a5c
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x411a39
push dword [ebp - 0x244]
call fcn.00473980
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x411910
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x4118da
push str.list_T__too_long
call fcn.00444887
int3
Function at 0x412500
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x41264a
test edx, edx
jle 0x41264a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040da50
lea ecx, [ebp - 0x94]
call fcn.0040db20
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040dbf0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4125a8
mov eax, dword [esi]
jmp 0x4125aa
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x4125f7
cmp ecx, 0x10
jb 0x4125ba
mov edx, dword [esi]
jmp 0x4125bc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x4125f7
cmp ecx, 0x10
jb 0x4125d1
mov ecx, dword [esi]
jmp 0x4125d3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0040d540
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x412608
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004081c0
cmp dword [esi + 0x14], 0x10
jb 0x412612
mov eax, dword [esi]
jmp 0x412614
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004995e0
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x412632
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x413a70
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9015
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x50c4d8]
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, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 4
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x413ac2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xd0], 0
lea edx, [esi + 0x78]
lea ecx, [ebp - 0x28]
call fcn.0040f110
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x413b1a
cmp byte [esi + 0xc8], 0
je 0x413afd
mov al, byte [eax + 0x1c]
test al, al
jne 0x413b1a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 2
push eax
lea ecx, [esi + 0xc4]
mov dword [ebp - 0x2c], 0
call fcn.00415b80
cmp dword [ebp - 0x14], 8
jb 0x413b2b
push dword [ebp - 0x28]
call fcn.00473980
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [esi + 0xc4]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edx, edx
je 0x413b6d
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413b6d
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x413b65
mov eax, dword [ecx]
push edx
jmp 0x413b6b
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
cmp dword [esi + 0xbc], 8
jb 0x413b84
push dword [esi + 0xa8]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [esi + 0xbc], 7
mov dword [esi + 0xb8], 0
mov word [esi + 0xa8], ax
cmp dword [esi + 0xa4], 8
jb 0x413bb8
push dword [esi + 0x90]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [esi + 0xa4], 7
mov dword [esi + 0xa0], 0
mov word [esi + 0x90], ax
cmp dword [esi + 0x8c], 8
jb 0x413be9
push dword [esi + 0x78]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], 0
mov ecx, esi
mov word [esi + 0x78], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac70
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.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x415360
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c92da
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x50c4d8]
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, ecx
lea edi, [esi + 0x78]
mov dword [ebp - 0x60], 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.0040f230
mov ebx, eax
add esi, 0x90
cmp esi, ebx
je 0x4153d8
cmp dword [esi + 0x14], 8
jb 0x4153bd
push dword [esi]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00407020
cmp dword [ebp - 0x2c], 8
jb 0x4153e9
push dword [ebp - 0x40]
call fcn.00473980
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4153f1
mov esi, dword [esi]
push esi
push str.rootpath__s
push 0xd0
push str.SimulatorFileCleaner::_removeSetupDir
call fcn.00420530
push 0x4ee408
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00411250
add esp, 0x14
mov dword [ebp - 4], 0
mov ebx, 1
push eax
mov dword [ebp - 0x60], ebx
call fcn.00424b70
add esp, 4
test al, al
je 0x415462
push str._system.vmdk
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00411250
add esp, 4
mov dword [ebp - 4], ebx
mov ebx, 3
push eax
mov dword [ebp - 0x60], ebx
call fcn.00424b70
add esp, 4
mov byte [ebp - 0x59], 1
test al, al
jne 0x415466
mov byte [ebp - 0x59], 0
test bl, 2
je 0x415493
and ebx, 0xfffffffd
cmp dword [ebp - 0x2c], 8
jb 0x41547f
push dword [ebp - 0x40]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4154b0
cmp dword [ebp - 0x44], 8
jb 0x4154b0
push dword [ebp - 0x58]
call fcn.00473980
add esp, 4
cmp byte [ebp - 0x59], 0
je 0x415544
cmp dword [edi + 0x14], 8
jb 0x4154c4
mov edx, dword [edi]
jmp 0x4154c6
mov edx, edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x4154e3
xor ecx, ecx
jmp 0x4154ff
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4154f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4154f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407100
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.0040f2a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x415530
push dword [ebp - 0x28]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [edi + 0x14], 8
jb 0x41554e
mov eax, dword [edi]
jmp 0x415550
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415582
cmp dword [edi + 0x14], 8
jb 0x415563
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.remove_install_dir___s__failed__last_error___d.
push 0xda
push str.SimulatorFileCleaner::_removeSetupDir
call fcn.00420530
add esp, 0x14
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.004921c3
mov esp, ebp
pop ebp
ret
Function at 0x415730
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9360
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x78]
lea ecx, [ebp - 0x40]
call fcn.0040f230
push 0xd
push str.fyservice.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00410c50
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 7
push str.__uninstall
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407100
push 0xbb8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00428ce0
add esp, 0x10
cmp dword [ebp - 0x14], 8
jb 0x4157c8
push dword [ebp - 0x28]
call fcn.00473980
add esp, 4
lea eax, [ebp - 0x44]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4157f7
push str.LDNews
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 8
jb 0x415808
push dword [ebp - 0x40]
call fcn.00473980
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret