joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4335d4
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x40
mov eax, 0x496ca5
call fcn.004648f7
mov edi, dword [ebp + 0x420]
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00401fa9
push 0x208
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x10], esi
call fcn.00466400
mov al, byte [ebp + 0x444]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4336ae
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041c2
lea ecx, [ebp + 0x428]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.00413a4f
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040a9ca
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004021c5
push edi
call fcn.00432fa5
test al, al
pop ecx
jne 0x4336a8
push edi
call fcn.0043306e
pop ecx
jmp 0x4336aa
mov al, 1
cmp al, bl
jne 0x43371c
push 0x208
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.00466400
add esp, 0xc
push 0x20a
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x208]
push 0x5c
push eax
call fcn.00468ff3
cmp eax, ebx
pop ecx
pop ecx
je 0x4336f4
mov word [eax], bx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041c2
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004020ed
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp + 0x428]
call fcn.004021c5
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x418
leave
ret
Function at 0x4344ef
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0xc
mov eax, 0x496efb
call fcn.004648f7
mov edi, dword [ebp + 0x428]
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
jne 0x434549
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 + 0x41c]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x420
leave
ret 4
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.004022f1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x434599
cmp dword [ebp - 0x10], 0
je 0x4345af
push edi
push dword [edi + 8]
lea ecx, [ebp - 0x18]
call fcn.0040b46c
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
lea eax, [ebp + eax + 0x1c]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.004340fe
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp + 0x1c]
push eax
push dword [esi + 8]
call ebx
test eax, eax
jne 0x434567
mov ecx, edi
call fcn.00433eb9
xor esi, esi
test al, al
je 0x4345cf
push 0
push 1
lea ecx, [ebp]
call fcn.004020a2
mov eax, esi
jmp 0x434524
inc esi
jmp 0x4345bc
Function at 0x438294
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x438407
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.00438277
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x4383fe
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x4383f5
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.00466400
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x4383f5
cmp dword [ebp - 0x70], edi
jne 0x4383e5
mov esi, 0x4a2eb0
push esi
call fcn.00466310
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00469a9e
add esp, 0x10
test eax, eax
jne 0x4383bf
mov dword [ebp - 0x6c], ebx
jmp 0x4383f5
cmp dword [ebp - 0x70], edi
jne 0x4383e5
push esi
call fcn.00466310
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00469a9e
add esp, 0x10
test eax, eax
je 0x4383e5
mov dword [ebp - 0x6c], 2
jmp 0x4383f5
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004648e8
add ebp, 0xa4
leave
ret
Function at 0x438422
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x2ac4]
mov eax, 0x2ac4
call fcn.00467020
push 0xffffffffffffffff
push 0x497341
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x2ac0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x2acc]
push 7
pop esi
xor edi, edi
push edi
lea ecx, [ebp + 0x2880]
mov dword [ebp + 0x2898], esi
call fcn.004024b4
push edi
lea ecx, [ebp + 0x289c]
mov dword [ebp - 4], edi
mov dword [ebp + 0x28b4], esi
call fcn.004024b4
push 0x206
lea eax, [ebp + 0x28ba]
push edi
push eax
mov byte [ebp - 4], 1
mov word [ebp + 0x28b8], di
call fcn.00466400
add esp, 0xc
push 0x104
lea eax, [ebp + 0x28b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x28b8]
push eax
lea ecx, [ebp + 0x289c]
call fcn.00402180
mov eax, dword [ebp + 0x28b0]
dec eax
push eax
lea ecx, [ebp + 0x289c]
call fcn.0041b75b
cmp word [eax], 0x5c
je 0x43851d
push 0x49fa70
lea ecx, [ebp - 0x40]
call fcn.004041c2
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x289c]
mov byte [ebp - 4], 2
call fcn.0040a9ca
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004021c5
push 0x4a2f48
lea eax, [ebp + 0x289c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040ae6a
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x2880]
mov byte [ebp - 4], 3
call fcn.004020ed
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004021c5
cmp dword [ebp + 0x2898], 8
mov eax, dword [ebp + 0x2884]
jae 0x43856c
lea eax, [ebp + 0x2884]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0x20], eax
jne 0x4385bd
xor bl, bl
push edi
push 1
lea ecx, [ebp + 0x289c]
call fcn.004021c5
push edi
push 1
lea ecx, [ebp + 0x2880]
call fcn.004021c5
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2ac0]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x2ac4
leave
ret
push 0x4a2f38
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x438645
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp]
push ecx
mov dword [ebp - 0x24], 0x2880
call eax
test eax, eax
jne 0x438645
lea esi, [ebp]
mov dword [ebp - 0x14], 3
lea eax, [esi + 8]
push eax
call fcn.00438294
push 6
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1a]
push edi
push eax
call fcn.00466400
add esp, 0x10
lea eax, [ebp - 0x1a]
push eax
mov ecx, ebx
call fcn.00437ef6
test al, al
jne 0x438627
cmp dword [esi + 0x1a0], 6
jne 0x43863f
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x43863f
xor eax, eax
mov cl, byte [esi + eax + 0x194]
mov byte [ebx + eax], cl
inc eax
cmp eax, 6
jl 0x438629
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov esi, dword [esi]
cmp esi, edi
jne 0x4385ec
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 6
lea eax, [ebp - 0x1a]
push edi
push eax
call fcn.00466400
add esp, 0xc
lea eax, [ebp - 0x1a]
push eax
mov ecx, ebx
call fcn.00437ef6
mov bl, al
neg bl
sbb bl, bl
inc bl
jmp 0x43857c
Function at 0x438e5e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
mov eax, dword [ebp + 0x14]
je 0x438ea2
mov cx, word [ebp + 0x10]
mov word [ebp - 0x12], cx
mov ecx, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [ebp + 0x18]
mov word [ebp - 0x14], 2
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x438ea5
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004648e8
leave
ret

Function at 0x43b981
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov esi, ecx
call fcn.00438e31
push 1
push eax
mov dword [esi + 0xc], eax
call fcn.004386ef
add esp, 0xc
test al, al
je 0x43b9f5
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
mov word [ebp - 0x14], 2
mov word [ebp - 0x12], cx
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
mov dword [esi + 0x10], 1
call fcn.0043b1d3
mov ecx, dword [esi + 4]
push esi
push dword [esi + 0xc]
call fcn.0043b6ed
mov al, 1
jmp 0x43ba0a
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x43ba04
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [esi + 0xc], 0xffffffff
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004648e8
leave
ret 4
Function at 0x43d8df
Capabilities:
Initialize winsock library

Disassembly:
push 0x198
mov eax, 0x497733
call fcn.00464960
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0x4a316c
call fcn.004386a1
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0041e06e
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call fcn.0041e06e
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.0041e06e
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
lea eax, [esi + 0x358]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x368]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x378]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x388]
call fcn.004386a1
lea ecx, [esi + 0x3a4]
mov byte [ebp - 4], 7
call fcn.00439603
mov eax, dword [ebp + 8]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [ebp - 4], 8
call fcn.00439282
mov eax, 0x43d7fb
push eax
lea edi, [esi + 0x3cc]
push esi
mov ecx, edi
mov byte [esi + 0x3c8], bl
call fcn.0043875d
lea eax, [esi + 0x3ec]
mov dword [esi + 0x3e8], ebx
lea ecx, [esi + 0x3fc]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.004386a1
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.0042ffc0
mov eax, esi
call fcn.004649e3
ret 4
Function at 0x43e94f
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x447b44
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x447b66
cmp word [eax], 0
je 0x447b66
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x447b66
and al, 0x10
cmp al, 0x10
setne al
ret
xor al, al
ret

Function at 0x447b69
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
lea esi, [ebp + 0x1b4]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x1c4]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x447bce
push dword [ebp - 0x78]
lea eax, [ebp - 0x60]
push str.CLSID_sLocalServer32
push 0x103
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push dword [ebp - 0x78]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x60]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x447be9
xor al, al
jmp 0x447c1f
push ebx
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push dword [ebp - 0x74]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x447c13
xor bl, bl
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.004648e8
add ebp, 0x1ac
leave
ret 0x14
Function at 0x4480d6
Capabilities:
Enumerate process modules

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x8c
mov eax, 0x49875b
call fcn.004648f7
xor ebx, ebx
push 0x1fe
lea eax, [ebp + 2]
push ebx
push eax
mov esi, ecx
mov word [ebp], bx
call fcn.00466400
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0xc
cmp dword [ebp + 0x20c], ebx
jbe 0x4481c9
cmp byte [ebp + 0x210], bl
je 0x4481d1
push dword [ebp + 0x20c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x448163
lea eax, [ebp]
push str.Unknown_Process__OpenProcessError_
push eax
call fcn.0046a1c8
pop ecx
pop ecx
jmp 0x4481ff
lea ecx, [ebp - 0x28]
push ecx
push 4
lea ecx, [ebp - 0x14]
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, ebx
lea eax, [ebp]
je 0x4481b1
push 0xff
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
jne 0x4481be
push 0x200
lea eax, [ebp]
push ebx
push eax
call fcn.00466400
lea eax, [ebp]
push str.Unknown_Process__GetModuleBaseNameError_
push eax
call fcn.0046a1c8
add esp, 0x14
jmp 0x4481be
push str.Unknown_Process__EnumProcessModulesError_
push eax
call fcn.0046a1c8
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4481ff
cmp byte [ebp + 0x210], bl
jne 0x4481e6
push str.No_pid_option_found_in_CmdLine
lea eax, [ebp]
push 0x100
push eax
call edi
add esp, 0xc
jmp 0x4481ff
push dword [ebp + 0x20c]
lea eax, [ebp]
push str.Unknown_ProcessID._PID___d
push 0x100
push eax
call edi
add esp, 0x10
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x98]
call fcn.004041c2
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], ebx
call fcn.0044de78
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1f8]
mov byte [ebp - 4], 1
call fcn.00401ff1
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004020a2
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.004021c5
push 0x200
lea eax, [ebp]
push ebx
push eax
call fcn.00466400
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push 0x4a396c
lea eax, [ebp]
push 0x14
push eax
call edi
add esp, 0x24
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x60]
call fcn.004041c2
push eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 4], 2
call fcn.0044de78
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x214]
mov byte [ebp - 4], 3
call fcn.00401ff1
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004020a2
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.004021c5
push ebx
lea ecx, [esi + 0x268]
call fcn.00433ed3
push eax
call fcn.004322ac
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x204
leave
ret 8
Function at 0x44af28
Capabilities:
Delete file

Disassembly:
push 0x9a8
mov eax, 0x499101
call fcn.00464960
push 0x4a89c8
lea ecx, [ebp - 0x8d8]
call fcn.004041c2
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004332fb
pop ecx
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x8d8]
mov byte [ebp - 4], 2
call fcn.004021c5
cmp dword [ebp - 0x58], ebx
push ebx
je 0x44b0d3
lea eax, [ebp - 0x50]
push eax
call fcn.00433789
pop ecx
pop ecx
cmp dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 3
je 0x44b0c8
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x44afa0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x8bc]
call fcn.00430af8
xor eax, eax
mov word [ebp - 0x18], bx
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 4
call fcn.004307de
movzx edi, word [ebp - 0x14]
push esi
push 3
lea ecx, [ebp - 0x9b4]
call fcn.0042de92
mov esi, 0x49fa70
push esi
push edi
lea ecx, [ebp - 0x9ac]
mov byte [ebp - 4], 5
call fcn.0042dca9
push eax
call fcn.00425e0c
pop ecx
pop ecx
lea eax, [ebp - 0x8f4]
push eax
lea ecx, [ebp - 0x9b4]
call fcn.0042c9fa
mov edi, eax
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x92c]
push eax
mov byte [ebp - 4], 6
call fcn.0040ae6a
push edi
push eax
lea eax, [ebp - 0x910]
push eax
mov byte [ebp - 4], 7
call fcn.00413a4f
push str.InstallInfo.xml
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call fcn.0040ae6a
add esp, 0x24
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x910]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp - 0x92c]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp - 0x8f4]
call fcn.004021c5
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x44b082
lea eax, [ebp - 0x30]
push eax
call fcn.00447b44
test al, al
pop ecx
je 0x44b0a0
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x44b099
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.004021c5
lea ecx, [ebp - 0x9b4]
mov byte [ebp - 4], 4
call fcn.0042c040
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 3
call fcn.0043085c
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.004021c5
call fcn.004649e3
ret
Function at 0x44c1f6
Capabilities:
Write file on windows

Disassembly:
push 0x154
mov eax, 0x499218
call fcn.004648f7
mov dword [ebp - 0x18], ecx
xor esi, esi
inc esi
push esi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x160]
mov byte [ebp - 0xd], bl
call fcn.0042de92
mov ecx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
call fcn.0044be28
mov edi, str.Global.db
push edi
push eax
lea eax, [ebp - 0x158]
push eax
mov byte [ebp - 4], 1
call fcn.0042da35
pop ecx
pop ecx
push eax
call fcn.00425e0c
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004021c5
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x160]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
jb 0x44c276
mov eax, dword [eax + 4]
jmp 0x44c279
add eax, 4
push ebx
push ebx
push 2
push ebx
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], eax
call fcn.004021c5
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44c33b
push esi
push 3
lea ecx, [ebp - 0xd8]
call fcn.0042de92
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 2
call fcn.0044be28
push edi
push eax
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 3
call fcn.0042da35
pop ecx
pop ecx
push eax
call fcn.00425e0c
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.004021c5
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
jb 0x44c305
mov eax, dword [eax + 4]
jmp 0x44c308
add eax, 4
push ebx
push ebx
push 2
push ebx
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], eax
call fcn.004021c5
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.0042c040
cmp dword [ebp - 0x14], 0xffffffff
je 0x44c365
push ebx
lea eax, [ebp + 8]
push eax
push 0x10
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44c35c
cmp dword [ebp + 8], 0x10
jne 0x44c35c
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0042c040
mov al, byte [ebp - 0xd]
call fcn.004649cf
ret 4