joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4700c0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7cee
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x53a098]
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, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.004c5400
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00404d00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00404d00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040cc90
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.004049a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.004049a0
lea eax, [ebp - 0x27c]
push eax
call fcn.00409bb0
add esp, 4
test al, al
je 0x4702c8
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x280], 0
call fcn.004c2d96
add esp, 4
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push 0x80
push 4
push 1
push 0x80000000
push eax
lea ecx, [ebp - 0x280]
call fcn.00418a70
test al, al
jne 0x4702cc
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x4702c8
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4702b3
test eax, eax
je 0x4702b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004c2dc6
add esp, 8
mov dword [ebp - 0x280], 0
xor bl, bl
jmp 0x470315
push esi
lea ecx, [ebp - 0x280]
call fcn.00418c50
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x470315
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x470300
test eax, eax
je 0x470300
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004c2dc6
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.004049a0
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.004c2d85
mov esp, ebp
pop ebp
ret 4
Function at 0x476a50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f861c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.004049a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.004049a0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.004049a0
push 0x88
push ebx
call fcn.004c2dc6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x476df0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8679
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00406d40
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x476fa2
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x476ee4
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x53d154
mov byte [ebp - 0x15], al
call fcn.00404e90
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x476ebf
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0040c100
inc edi
cmp edi, 4
jl 0x476eb5
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x476e50
mov dword [ebp + 8], esi
test esi, esi
je 0x476fa2
mov eax, esi
cmp esi, 3
jge 0x476f1e
cmp eax, 3
jae 0x476fb6
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x476f04
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x476f88
mov ecx, 0x53d154
call fcn.00404e90
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x476f6e
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0040c100
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x476f64
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x476fa2
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.0040c100
sub edi, 1
jne 0x476f94
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c3513
int3
Function at 0x478c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8d38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
call fcn.0041da80
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
cmp edi, esi
setne byte [ebp - 0xd]
sub esi, edi
sar esi, 2
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], esi
test esi, esi
je 0x478d5b
mov eax, esi
nop dword [eax + eax]
mov esi, dword [edi + ebx*4]
test esi, esi
jne 0x478cfb
xor bl, bl
jmp 0x478d4d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor bl, bl
cmp eax, esi
je 0x478d4a
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x478d4a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
je 0x478d43
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x478d43
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
and byte [ebp - 0xd], bl
mov ebx, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x24], ebx
cmp ebx, eax
jb 0x478cf0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x478da7
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x478d88
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478dbc
push ecx
push edi
call fcn.004c2dc6
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004cb4bf
int3
Function at 0x47ebd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa15a
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x53a098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0047ed00
add esp, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.00409bb0
add esp, 4
movzx eax, al
test eax, eax
jne 0x47ec65
push 0x50fac0
mov ecx, dword [ebp + 8]
call fcn.00404d00
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004049a0
mov eax, dword [ebp + 8]
jmp 0x47ecd8
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004c5400
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00404c20
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x50fac0
push str.Version
push 0x5189e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404d00
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004049a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c2d85
mov esp, ebp
pop ebp
ret
Function at 0x47f8c0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x4fa651
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x53a098]
xor eax, ebp
mov dword [ebp + 0x224], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0x230]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
call fcn.00404d40
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.0047f7a0
mov dword [ebp - 4], 1
lea eax, [ebp]
push eax
call fcn.00409bb0
add esp, 4
test al, al
je 0x47f99a
push 0x20a
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.004c5400
add esp, 0xc
lea ecx, [ebp]
call fcn.00404c20
push eax
push 0x104
lea eax, [ebp + 0x18]
push eax
push 0x50fac0
push str.Version
push str.Plugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x18]
push eax
call fcn.004051b0
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00405050
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004049a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004c2d85
lea esp, [ebp + 0x228]
pop ebp
ret 4

Function at 0x480df0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x4fa651
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x53a098]
xor eax, ebp
mov dword [ebp + 0x224], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0x230]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
call fcn.00404d40
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.0047f7a0
mov dword [ebp - 4], 1
lea eax, [ebp]
push eax
call fcn.00409bb0
add esp, 4
test al, al
je 0x480eca
push 0x20a
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.004c5400
add esp, 0xc
lea ecx, [ebp]
call fcn.00404c20
push eax
push 0x104
lea eax, [ebp + 0x18]
push eax
push 0x50fac0
push str.CoreVersion
push str.Plugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x18]
push eax
call fcn.004051b0
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00405050
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004049a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004c2d85
lea esp, [ebp + 0x228]
pop ebp
ret 4
Function at 0x481220
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fab60
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x53a098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push esi
call fcn.00409aa0
add esp, 4
test al, al
je 0x481264
mov ecx, esi
call fcn.00409ff0
push ecx
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00483470
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00483470
add esp, 4
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov eax, 0x614
movlpd qword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x40]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x4e], xmm0
mov dword [ebp - 0x46], 0
mov word [ebp - 0x50], ax
call fcn.00404c20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x58], eax
call fcn.00404c20
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x5c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb esi, esi
and esi, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049a0
mov eax, esi
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.004c2d85
mov esp, ebp
pop ebp
ret 8
Function at 0x488470
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc404
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00406d40
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
call fcn.00406d40
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x30]
call fcn.00406d40
mov byte [ebp - 4], 2
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 3
lea esi, [ebx + 0x7c]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00443f60
mov dword [esi], eax
mov byte [ebp - 4], 6
push str.._log_
mov byte [ebx + 0x54], 0
call fcn.00405fd0
add esp, 4
lea ecx, [ebx + 0x30]
push eax
push str.._log_
call fcn.00406e70
mov dword [ebx + 0x48], 1
mov word [ebx + 0x4c], 0x101
mov byte [ebx + 0x4e], 0
mov dword [ebx + 0x50], 0x64
mov byte [ebx + 0x55], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x4885c0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x21c]
sub esp, 0x21c
push 0xffffffffffffffff
push 0x4fc441
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x53a098]
xor eax, ebp
mov dword [ebp + 0x218], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 0x224]
lea ecx, [ebp]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
call fcn.00406d40
mov dword [ebp - 4], 1
cmp dword [esi], 0
jne 0x488661
mov ecx, ebx
call fcn.004059e0
mov byte [ebp - 0x11], 0
lea eax, [ebp]
push dword [ebp - 0x11]
push eax
call fcn.004056d0
add esp, 4
mov ecx, ebx
push eax
call fcn.00406f90
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00404e30
mov eax, ebx
jmp 0x488722
lea ecx, [ebp]
call fcn.00404e90
mov ebx, eax
nop dword [eax + eax]
push dword [esi]
lea eax, [ebp + 0x18]
push 0x200
push 1
push eax
call fcn.004cf2dc
mov esi, dword [ebx + 0x14]
mov edi, eax
mov edx, dword [ebx + 0x10]
mov ecx, esi
sub ecx, edx
add esp, 0x10
cmp edi, ecx
ja 0x4886c8
lea ecx, [edx + edi]
mov eax, ebx
mov dword [ebx + 0x10], ecx
cmp esi, 0x10
jb 0x4886a4
mov eax, dword [ebx]
lea esi, [eax + edx]
push edi
lea eax, [ebp + 0x18]
push eax
push esi
call fcn.00406000
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
lea eax, [esi + edi]
push eax
call fcn.00401ec0
add esp, 0x14
jmp 0x4886dd
push edi
lea eax, [ebp + 0x18]
mov byte [ebp - 0x11], 0
push eax
push dword [ebp - 0x11]
lea ecx, [ebp]
push edi
call fcn.0042ab00
mov esi, dword [ebp - 0x20]
cmp edi, 0x200
je 0x488670
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.004059e0
mov byte [ebp - 0x18], 0
lea eax, [ebp]
push dword [ebp - 0x18]
push eax
call fcn.004056d0
add esp, 4
mov ecx, esi
push eax
call fcn.00406f90
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00404e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x218]
xor ecx, ebp
call fcn.004c2d85
lea esp, [ebp + 0x21c]
pop ebp
ret 4
Function at 0x48b5c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
lea edi, [esi - 0x10]
je 0x48b5e9
push 6
push str.log4z_already_start__r_n
mov ecx, edi
call fcn.0048ae50
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0x40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push edi
push 0x488460
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.004ce60d
mov ecx, eax
add esp, 0x18
or ecx, 0
je 0x48b63b
push 0xbb8
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48b648
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.log4z:_create_log4z_thread_error___r_n
call fcn.00488110
add esp, 4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48eb00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd307
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53a098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.004059e0
mov esi, dword [ebp + 8]
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push esi
call fcn.004056d0
add esp, 4
mov ecx, ebx
push eax
call fcn.00406f90
mov dword [ebp - 4], 0
add ebx, 0x18
add esi, 0x18
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp + 8], esi
call fcn.004059e0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push esi
call fcn.004056d0
add esp, 4
mov ecx, ebx
push eax
call fcn.00406f90
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x18]
add esi, 0x18
call fcn.004059e0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push esi
call fcn.004056d0
add esp, 4
lea ecx, [ebx + 0x18]
push eax
call fcn.00406f90
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x30]
mov esi, dword [ebp + 8]
add esi, 0x30
call fcn.004059e0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push esi
call fcn.004056d0
add esp, 4
lea ecx, [ebx + 0x30]
push eax
call fcn.00406f90
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x48]
mov dword [ebx + 0x48], eax
movzx eax, byte [edi + 0x4c]
mov byte [ebx + 0x4c], al
movzx eax, byte [edi + 0x4d]
mov byte [ebx + 0x4d], al
movzx eax, byte [edi + 0x4e]
mov byte [ebx + 0x4e], al
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x50], eax
movzx eax, byte [edi + 0x54]
mov byte [ebx + 0x54], al
movzx eax, byte [edi + 0x55]
mov byte [ebx + 0x55], al
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [ebx + 0x74], eax
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x78], eax
mov byte [ebp - 4], 4
lea esi, [ebx + 0x7c]
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00443f60
mov dword [esi], eax
mov byte [ebp - 4], 6
mov ecx, dword [esi]
mov eax, dword [edi + 0x7c]
mov dword [esi], eax
mov dword [edi + 0x7c], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x80]
mov dword [esi + 4], eax
mov dword [edi + 0x80], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x493f00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x493f0b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00493f30
Function at 0x4a5ab0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x4feea2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x53a098]
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 0x4a5af4
call fcn.004a5c40
cmp byte [0x53d0e4], 0
jne 0x4a5b07
mov eax, 0x80000001
jmp 0x4a5c1c
mov eax, dword [esi]
test eax, eax
jne 0x4a5b72
push 8
call fcn.004c2d96
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.004c2d96
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004c5400
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a5b61
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 0x4a5c0b
call fcn.00415f70
test al, al
jne 0x4a5bac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.004160f0
test al, al
je 0x4a5c0b
mov ecx, dword [esi]
add ecx, 4
call fcn.00415a90
call fcn.00415f70
test al, al
je 0x4a5c0b
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.00404d00
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.0040edd0
mov ecx, eax
call fcn.0040ee90
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
test edi, edi
je 0x4a5c0b
push 0x51b928
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a5c0b
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x4a5c0b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4a5c1a
mov dword [eax], 0x80000001
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.004c2d85
lea esp, [ebp + 0x120]
pop ebp
ret 4