joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fc5e0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x52bbc1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x50]
mov ecx, edi
push 1
push 0
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], 0x25
call fcn.00420110
push 0xffffffffffffffff
push 0
push edi
cmp eax, 0xffffffff
jne 0x4fc677
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
call fcn.00404c30
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
jmp 0x4fc78e
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00404c30
mov dword [esp + 0x48], 1
cmp dword [edi + 0x14], 8
jb 0x4fc6b9
mov eax, dword [edi]
jmp 0x4fc6bb
mov eax, edi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test ebp, ebp
jne 0x4fc6e6
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push edi
mov word [esi], ax
call fcn.00404c30
jmp 0x4fc75a
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x4fc70d
mov edi, dword [edi]
lea eax, [ebp + 1]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4fc731
cmp eax, ebp
ja 0x4fc731
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [esp + 0x20]
push ebx
call fcn.00404910
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
xor eax, eax
mov dword [esi + 0x14], 7
add esp, 4
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.00404b90
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], 0
cmp dword [esp + 0x34], 8
jb 0x4fc77b
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00505b1e
add esp, 0x38
ret 8
Function at 0x4fd660
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x52be7c
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov edi, dword [esp + 0x294]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x74]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, str.MacromedFlashFlashHelperService.exe
mov dword [esp + 0x3c], 0
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd700
sub ecx, edx
sar ecx, 1
push ecx
push str.MacromedFlashFlashHelperService.exe
lea ecx, [esp + 0x34]
call fcn.00405240
mov dword [esp + 0x28c], 0
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esp + 0x74], ax
jne 0x4fd75b
xor ecx, ecx
jmp 0x4fd771
lea ecx, [esp + 0x74]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd762
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405240
mov byte [esp + 0x28c], 1
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.00422950
add esp, 4
mov byte [esp + 0x28c], 3
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4fd7bb
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov byte [esp + 0x28c], 4
cmp dword [esp + 0x40], 8
jb 0x4fd7ea
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.0042cdb0
test al, al
jne 0x4fd812
xor bl, bl
jmp 0x4fd877
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x44]
call fcn.00440790
mov byte [esp + 0x28c], 5
cmp dword [esp + 0x54], 0
jne 0x4fd832
xor bl, bl
jmp 0x4fd848
lea eax, [esp + 0x44]
cmp edi, eax
je 0x4fd846
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00404c30
mov bl, 1
mov byte [esp + 0x28c], 4
cmp dword [esp + 0x58], 8
jb 0x4fd860
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x4fd892
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov word [esp + 0x5c], ax
mov al, bl
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.00505b1e
add esp, 0x280
ret 4
Function at 0x4fd9b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x52bf01
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x27c]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, str.MacromedFlashFlashHelperService.exe
mov dword [esp + 0x24], 0
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fda50
sub ecx, edx
sar ecx, 1
push ecx
push str.MacromedFlashFlashHelperService.exe
lea ecx, [esp + 0x1c]
call fcn.00405240
mov dword [esp + 0x274], 0
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [esp + 0x5c], ax
jne 0x4fdaab
xor ecx, ecx
jmp 0x4fdac1
lea ecx, [esp + 0x5c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fdab2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call fcn.00405240
mov byte [esp + 0x274], 1
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
call fcn.00422950
add esp, 4
mov byte [esp + 0x274], 3
cmp dword [esp + 0x40], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4fdb0b
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x274], 4
cmp dword [esp + 0x28], 8
jb 0x4fdb3a
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.0042cdb0
test al, al
jne 0x4fdb62
xor bl, bl
jmp 0x4fdb6f
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.004fcc90
mov bl, al
mov dword [esp + 0x274], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x4fdb8a
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x44], ax
mov al, bl
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00505b1e
add esp, 0x268
ret 4
Function at 0x4ffcd0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x52c42b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x10], eax
mov byte [eax], 0
lea eax, [esp + 0x14]
push 0x11c
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x14], 0x11c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ffd5f
cmp dword [esp + 0x18], 6
mov eax, dword [esp + 0x10]
setae cl
mov byte [eax], cl
mov dword [esp + 0x140], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x14]
call fcn.0044e440
test al, al
je 0x4ffd92
lea ecx, [esp + 0x10]
call fcn.0044c600
test al, al
jne 0x4ffd92
xor bl, bl
jmp 0x4ffe30
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.0041ea20
test al, al
jne 0x4ffdb6
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4ffdb1
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.0041ea20
test al, al
jne 0x4ffddd
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4ffdd8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.0041ea20
test al, al
jne 0x4ffe04
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4ffdff
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.0041ea20
test al, al
jne 0x4ffe2b
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4ffe26
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0044b9b0
mov al, bl
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00505b1e
add esp, 0x134
ret
Function at 0x5007f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c560
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], eax
mov word [esp + 0xc], ax
mov byte [esp + 0x48], 1
mov dword [esp + 8], eax
lea eax, [esp + 8]
push edx
push eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
call fcn.00500300
add esp, 0xc
mov bl, al
mov byte [esp + 0x48], 0
cmp dword [esp + 0x20], 8
jb 0x50089e
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x5008d1
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
mov al, bl
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00505b1e
add esp, 0x44
ret
Function at 0x500d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c629
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, edx
mov esi, ecx
mov dword [esp + 0xc], 0
xor ecx, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
mov dword [esp + 0x54], 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ecx
mov word [esp + 0x30], cx
mov byte [esp + 0x54], 2
lea edx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.00500300
add esp, 0xc
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test al, al
jne 0x500e03
xor eax, eax
mov word [esi], ax
jmp 0x500e14
xor eax, eax
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x18]
push eax
call fcn.00404b90
mov dword [esp + 0xc], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x500e37
push dword [esp + 0x30]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x54], al
cmp dword [esp + 0x2c], 8
jb 0x500e5e
push dword [esp + 0x18]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00505b1e
add esp, 0x4c
ret
Function at 0x501750
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x52c748
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [esp + 0x1c], 0
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00404c30
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.0042fdc0
mov eax, dword [esp + 0x1c]
cmp eax, 2
jbe 0x50189c
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
mov edx, dword [esp + 0xc]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x501804
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax + 2], 0x5c
jne 0x501804
mov bl, 1
jmp 0x50190c
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x501829
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x50190a
push 0x5c
mov edx, 0x2f
lea ecx, [esp + 0x10]
call fcn.0042fc10
mov edx, dword [esp + 0x10]
mov eax, ecx
mov ecx, dword [esp + 0x24]
add esp, 4
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x50190a
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x50190a
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x50190a
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x50190a
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
jmp 0x5018f3
jne 0x50190a
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
mov edx, dword [esp + 0xc]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x50190a
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x50190a
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x50190a
push 0x5342dc
lea ecx, [esp + 0x10]
call fcn.00407d40
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x50190a
shr eax, 4
mov bl, 1
and al, 1
mov byte [esi], al
jmp 0x50190c
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x501928
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00505b1e
add esp, 0x28
ret
Function at 0x504da0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x504dab
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00504dc0
Function at 0x5053f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], esi
test edi, edi
jg 0x50541c
jl 0x5055b6
test esi, esi
je 0x5055b6
mov ecx, 1
mov dword [ebp - 0x84], 0xedb88320
mov eax, ecx
lea ecx, [ecx]
mov dword [ebp + eax*4 - 0x84], ecx
inc eax
add ecx, ecx
cmp eax, 0x20
jl 0x505430
xor esi, esi
mov eax, dword [ebp + esi - 0x84]
lea ecx, [ebp - 0x84]
xor edx, edx
test eax, eax
je 0x505461
test al, 1
je 0x50545a
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x505454
mov dword [ebp + esi - 0x104], edx
add esi, 4
cmp esi, 0x80
jl 0x505441
xor esi, esi
jmp 0x505480
mov eax, dword [ebp + esi - 0x104]
lea ecx, [ebp - 0x104]
xor edx, edx
test eax, eax
je 0x5054a0
test al, 1
je 0x505499
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x505493
mov dword [ebp + esi - 0x84], edx
add esi, 4
cmp esi, 0x80
jl 0x505480
jmp 0x5054c0
xor esi, esi
jmp 0x5054d0
mov eax, dword [ebp + esi - 0x84]
lea ecx, [ebp - 0x84]
xor edx, edx
test eax, eax
je 0x5054f0
test al, 1
je 0x5054e9
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x5054e3
mov dword [ebp + esi - 0x104], edx
add esi, 4
cmp esi, 0x80
jl 0x5054d0
mov edx, dword [ebp + 0xc]
mov eax, edx
and eax, 1
or eax, 0
je 0x505530
xor ecx, ecx
lea eax, [ebp - 0x104]
test ebx, ebx
je 0x50552e
jmp 0x505520
test bl, 1
je 0x505527
xor ecx, dword [eax]
add eax, 4
shr ebx, 1
jne 0x505520
mov ebx, ecx
shrd edx, edi, 1
sar edi, 1
mov eax, edx
or eax, edi
mov dword [ebp + 0xc], edx
je 0x5055b3
xor esi, esi
mov eax, dword [ebp + esi - 0x104]
lea ecx, [ebp - 0x104]
xor edx, edx
test eax, eax
je 0x505561
test al, 1
je 0x50555a
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x505554
mov dword [ebp + esi - 0x84], edx
add esi, 4
cmp esi, 0x80
jl 0x505541
mov esi, dword [ebp + 0xc]
mov eax, esi
and eax, 1
or eax, 0
je 0x5055a0
xor ecx, ecx
lea eax, [ebp - 0x84]
test ebx, ebx
je 0x50559e
lea esp, [esp]
test bl, 1
je 0x505597
xor ecx, dword [eax]
add eax, 4
shr ebx, 1
jne 0x505590
mov ebx, ecx
shrd esi, edi, 1
sar edi, 1
mov eax, esi
or eax, edi
mov dword [ebp + 0xc], esi
jne 0x5054c0
xor ebx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4028e7
Capabilities:
Terminate process

Disassembly:
jmp 0x41fab2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x41fac3
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403f62
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402996
Capabilities:
Query environment variable

Disassembly:
jmp 0x452456
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x452467
pop esi
ret
push ebx
push edi
push esi
call fcn.0045233d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402f6d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45248f
push ebx
push esi
push edi
call fcn.00403e13
add esp, 0xc
push 0
call fcn.00404525
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403e8b
Capabilities:
Parse pe header

Disassembly:
jmp 0x41200c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41204b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41204b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41204b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41204b
cmp dword [ecx + 0x74], 0xe
jbe 0x41204b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x45033d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x516a7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x450388
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004508fe
test al, al
jne 0x450382
sub edx, 2
cmp edx, edi
jne 0x450368
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4503aa
lea eax, [edi + 2]
cmp edx, eax
je 0x4503aa
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044ff36
add esp, 0x10
jmp 0x4504a4
push esi
lea ecx, [ebp - 0x255]
call fcn.004508fe
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4503ed
push dword [ebp - 0x25c]
jmp 0x45039a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45042a
cmp word [ebp - 0x226], 0
je 0x45044b
cmp word [ebp - 0x226], ax
jne 0x45042a
cmp word [ebp - 0x224], 0
je 0x45044b
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044ff36
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x450497
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x450404
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45047f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4504a4
push 0x44f81c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403cf6
add esp, 0x10
jmp 0x450474
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402559
leave
ret