joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4222e0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.004f98d0
push 0xffffffffffffffff
push 0x52fa98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call fcn.004fb1f0
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x4224e1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4224e1
push esi
call edi
cmp eax, 0xffa
jge 0x4224e1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x565b8c
lea eax, [ebp + 0x630]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
call fcn.0040e120
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00426550
mov ecx, eax
call fcn.00426610
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040ac80
test esi, esi
je 0x4224e1
push 0x565dd0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4224e1
lea ecx, [ebp]
call fcn.00421d20
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x422406
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x422414
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4223e5
jmp 0x422436
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x42242e
add ebx, 0x10
test ebx, ebx
jne 0x4224dd
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4224d8
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call fcn.004fb1f0
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4224ce
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4224d8
inc esi
cmp esi, 2
jb 0x422470
mov eax, ebx
jmp 0x4224e3
mov ebx, 0x10
mov eax, ebx
jmp 0x4224e3
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 + 0x2838]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x42a020
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530af8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5938b4]
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 edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.0040e180
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x565ab8
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.0040e2a0
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.0043cc80
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0040e250
test bl, bl
jne 0x42a0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x42a19e
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.0043c850
test al, al
jne 0x42a110
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x42a19e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x42a18b
cmp eax, 0xce
je 0x42a18b
cmp eax, 0x12e
jne 0x42a1bf
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x42a153
push 0x800
call fcn.004f8dad
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call fcn.004fb1f0
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.0043c8c0
test al, al
je 0x42a1bf
push esi
call fcn.0040e740
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040e470
mov ebx, dword [ebp - 0x38]
jmp 0x42a1af
cmp dword [ebp + 0x14], 0
ja 0x42a197
cmp dword [ebp + 0x10], 0
jbe 0x42a1c3
cmp eax, 0xce
je 0x42a1c3
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x42a1bf
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x42a083
xor bl, bl
jmp 0x42a1cf
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x42a1e0
push esi
call fcn.004f8da8
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040ac80
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 - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret 0x10
Function at 0x449c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5938b4]
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 edi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e180
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00413140
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0040e460
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x449d8b
call fcn.00404df0
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x449cd0
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x449cea
mov ecx, esi
cmp eax, 8
jb 0x449cdf
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x449e06
mov ecx, esi
cmp eax, 8
jb 0x449cf3
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x449d09
mov ecx, esi
cmp eax, 8
jb 0x449d02
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x449d5c
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.00412f60
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
cmp eax, 8
jb 0x449d25
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x449d5c
mov ecx, esi
cmp eax, 8
jb 0x449d35
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x449d5c
mov ecx, esi
cmp eax, 8
jb 0x449d45
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x449d5c
cmp eax, 8
jb 0x449d52
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x449de7
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
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 - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret
call fcn.0040e460
cmp eax, 2
jne 0x449d5c
lea ecx, [ebp - 0x28]
call fcn.00404df0
mov edx, eax
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x449da9
mov edx, dword [eax]
cmp word [edx + 2], 0x3a
jne 0x449d5c
mov edx, eax
cmp ecx, 8
jb 0x449db9
mov edx, dword [eax]
cmp word [edx], 0x61
jb 0x449d5c
cmp ecx, 8
jb 0x449dc6
mov eax, dword [eax]
cmp word [eax], 0x7a
ja 0x449d5c
push 0x565990
call fcn.0040e740
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x565990
call fcn.0040e8a0
lea ecx, [ebp - 0x28]
call fcn.0040e040
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449d5c
shr eax, 4
and al, 1
mov byte [edi], al
mov bl, 1
jmp 0x449d5e
Function at 0x47cf80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b78b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5938b4]
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 dword [ebp - 0x264], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0040e350
mov dword [ebp - 0x260], eax
mov edi, dword [eax]
call fcn.00404df0
mov dword [ebp - 0x25c], eax
mov esi, dword [eax]
cmp esi, edi
je 0x47cfee
push ecx
mov ecx, esi
call fcn.0040f030
add esi, 0x18
cmp esi, edi
jne 0x47cfd7
mov esi, dword [ebp - 0x25c]
mov esi, dword [esi]
mov eax, dword [ebp - 0x260]
mov edi, dword [ebp - 0x264]
mov dword [eax], esi
mov eax, dword [edi]
test eax, eax
je 0x47d193
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x565c64
push eax
call esi
push 0x568114
push dword [edi]
mov dword [ebp - 0x260], eax
call esi
mov ecx, dword [ebp - 0x264]
mov edi, eax
push 0x565c88
push dword [ecx]
call esi
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
test ecx, ecx
je 0x47d193
test edi, edi
je 0x47d193
test eax, eax
je 0x47d193
xor eax, eax
mov dword [ebp - 0x48], 0x6f0053
mov word [ebp - 0x14], ax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x740066
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], 0x610077
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x4d005c
mov dword [ebp - 0x34], 0x630069
mov dword [ebp - 0x30], 0x6f0072
mov dword [ebp - 0x2c], 0x6f0073
mov dword [ebp - 0x28], 0x740066
mov dword [ebp - 0x24], 0x43005c
mov dword [ebp - 0x20], 0x460054
mov dword [ebp - 0x1c], 0x54005c
mov dword [ebp - 0x18], 0x500049
call ecx
test eax, eax
jne 0x47d193
push 0x208
xor esi, esi
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x250]
push eax
push esi
push dword [ebp - 0x258]
call edi
test eax, eax
jne 0x47d187
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0040e120
mov dword [ebp - 4], 0
lea eax, [ebp - 0x27c]
push eax
mov ecx, ebx
call fcn.00411bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.0040ac80
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x104
push eax
lea eax, [ebp - 0x250]
inc esi
push eax
push esi
push dword [ebp - 0x258]
call edi
test eax, eax
je 0x47d120
push dword [ebp - 0x258]
call dword [ebp - 0x25c]
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.004f8545
mov esp, ebp
pop ebp
ret 4
Function at 0x47d890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b898
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [eax]
xor edi, edi
test eax, eax
je 0x47da00
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x565c64
push eax
call esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
push 0x565c74
push dword [eax]
call esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
push 0x565c88
push dword [eax]
call esi
mov esi, eax
cmp dword [ebp - 0x58], edi
je 0x47da00
cmp dword [ebp - 0x68], edi
je 0x47da00
test esi, esi
je 0x47da00
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x65004b
mov dword [ebp - 0x3c], 0x620079
mov dword [ebp - 0x38], 0x61006f
mov dword [ebp - 0x34], 0x640072
mov dword [ebp - 0x30], 0x4c0020
mov dword [ebp - 0x2c], 0x790061
mov dword [ebp - 0x28], 0x75006f
mov dword [ebp - 0x24], 0x5c0074
mov dword [ebp - 0x20], 0x720050
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x61006f
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], edi
push eax
push 0x20019
lea ecx, [ebp - 0x60]
call fcn.004b0490
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x47d9d6
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x14
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x564fbc
push dword [ebp - 0x5c]
movups xmmword [ebp - 0x54], xmm0
call dword [ebp - 0x68]
test eax, eax
jne 0x47d9d1
push 0x10
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00501bc0
add esp, 0xc
mov edi, eax
push dword [ebp - 0x5c]
call esi
lea ecx, [ebp - 0x60]
call fcn.004b0620
test edi, edi
je 0x47d9ed
mov ecx, dword [ebp - 0x64]
push edi
call fcn.0047da20
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004b0620
mov eax, edi
jmp 0x47da02
xor eax, eax
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.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x47da20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x47dbd4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x565c64
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push 0x565c74
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push 0x565c88
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x47dbd4
cmp dword [ebp - 0x84], 0
je 0x47dbd4
test esi, esi
je 0x47dbd4
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.004b0490
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x47dbc5
lea ecx, [ebp - 0x78]
call fcn.0040e160
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.004134a0
add esp, 0xc
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x14
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x5c], xmm0
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
call fcn.0040e040
push eax
push dword [ebp - 0x7c]
call dword [ebp - 0x84]
test eax, eax
jne 0x47dbb4
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00501bc0
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.0040ac80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004b0620
mov eax, edi
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.004f8545
mov esp, ebp
pop ebp
ret 4

Function at 0x47dc00
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004fb1f0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47dc5c
cmp dword [esp + 4], 6
jb 0x47dc5c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004f8545
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004f8545
add esp, 0x118
ret
Function at 0x47e620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x5938b4]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x240]
push ebp
mov ebp, dword [esp + 0x240]
push edi
mov edi, dword [esp + 0x240]
test edi, edi
je 0x47e758
mov eax, dword [ecx]
test eax, eax
je 0x47e758
push esi
push 0x565c74
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x47e757
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [esp + 0x10], 0x208
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
call fcn.0040e040
push eax
push edi
call esi
lea eax, [esp + 0x34]
push eax
call fcn.0040e740
add esp, 4
lea ecx, [ebx + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040e470
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push edi
call esi
lea eax, [esp + 0x34]
push eax
call fcn.0040e740
add esp, 4
lea ecx, [ebx + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040e470
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push edi
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call esi
pop esi
mov ecx, dword [esp + 0x238]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f8545
add esp, 0x230
ret 0xc
Function at 0x4adb90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4adb97
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x4adc57
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
sub edi, 1
jne 0x4adbb0
pop edi
test esi, esi
je 0x4adc7a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5615e0]
sub esi, 1
jne 0x4adc60
not ecx
mov eax, ecx
pop esi
ret

Function at 0x4ae790
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, edx
mov edx, ecx
mov dword [esp + 8], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x4ae7b5
push dword [esp + 0x10]
mov eax, dword [ecx]
push ebp
push edx
call dword [eax + 0xc]
pop edi
pop ebp
pop ecx
ret
push ebx
mov ebx, ebp
imul ebx, dword [esp + 0x14]
cmp byte [edi], 0
je 0x4ae7e9
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
push edx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ae7dc
mov byte [edi + 8], 1
mov eax, dword [esp + 0x18]
xor edx, edx
pop ebx
pop edi
div ebp
pop ebp
pop ecx
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x10]
push esi
mov esi, dword [edi + 0x14]
lea eax, [edx + ebx]
sub esi, edx
cmp eax, dword [edi + 0x14]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [esp + 0x18]
call fcn.004fac70
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebp
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x4b00c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fd52
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5938b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x344
call fcn.004f8556
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x138], 0xffffffff
mov dword [ebp - 4], 0xffffffff
cmp dword [esi], 0
jne 0x4b01da
cmp dword [esi + 4], 0xffffffff
jne 0x4b01da
lea edi, [esi + 0x13c]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4b0145
mov eax, dword [0x565990]
mov ebx, dword [ebp + 8]
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
cmp edi, 1
jne 0x4b017b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4b017b
mov dword [0x598d1c], 0x2000000
jmp 0x4b01e8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push edi
mov ecx, ebx
call fcn.004ae5d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b0198
mov eax, dword [ebp - 0x10]
jmp 0x4b01df
mov ecx, ebx
call fcn.004aebb0
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x4b01d3
cmp edi, 5
jne 0x4b01d3
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x4b01d3
mov eax, dword [ecx]
push dword [edx + 0x24]
mov eax, dword [eax]
call eax
test al, al
jne 0x4b01d3
mov ecx, esi
call fcn.004b0050
mov dword [0x598d1c], 0x5000000
jmp 0x4b01e8
mov eax, dword [0x598dbc]
jmp 0x4b01df
mov eax, 0x1000000
mov dword [0x598d1c], eax
test eax, eax
je 0x4b020a
push 0x344
push esi
call fcn.004f8820
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.004f8556
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], 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 0x4b0490
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x53fd92
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x4b04d4
call fcn.004b0620
cmp byte [0x598d20], 0
jne 0x4b04e7
mov eax, SysReAllocString
jmp 0x4b05fc
mov eax, dword [esi]
test eax, eax
jne 0x4b0552
push 8
call fcn.004f8556
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.004f8556
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004fb1f0
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b0541
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4b05eb
call fcn.0042d710
test al, al
jne 0x4b058c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0042de00
test al, al
je 0x4b05eb
mov ecx, dword [esi]
add ecx, 4
call fcn.0042d230
call fcn.0042d710
test al, al
je 0x4b05eb
push 0x565b90
lea ecx, [ebp - 0x28]
call fcn.0040e120
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.00426550
mov ecx, eax
call fcn.00426610
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ac80
test edi, edi
je 0x4b05eb
push 0x56b82c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b05eb
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x4b05eb
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4b05fa
mov dword [eax], SysStringLen
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x120]
pop ebp
ret 4