joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5814
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004a32f0
mov eax, dword [0x842118]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00429835
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4c5856
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4c59b2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004a3540
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x847890]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0042c506
mov ecx, dword [esi*4 + 0x847890]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4c59ab
cmp eax, dword [ecx + edi + 0x24]
jne 0x4c59ab
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c59ab
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042c506
add esp, 0x14
test edx, edx
jl 0x4c59ab
jg 0x4c5921
test eax, eax
jb 0x4c59ab
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4c59ab
jl 0x4c593b
cmp dword [ebp - 0x1008], eax
ja 0x4c59ab
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4c5959
test ebx, ebx
je 0x4c5992
cmp ecx, edi
jae 0x4c5992
mov al, byte [ecx]
cmp al, 0xd
jne 0x4c5973
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4c597f
cmp byte [ecx + 1], 0xa
jne 0x4c597f
inc ecx
jmp 0x4c597f
movzx eax, al
movsx eax, byte [eax + 0x842870]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4c5959
cmp edx, ebx
jne 0x4c5959
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4c59b0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041756f
leave
ret
Function at 0x4d31eb
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004d305a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4d335a
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4d335a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4d330f
jg 0x4d3247
test eax, eax
je 0x4d3305
push 1
push 0x1000
call fcn.0041cc11
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4d326a
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4d32fc
push 0x8000
push ebx
call fcn.00417cb8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4d3293
jg 0x4d328e
cmp ecx, 0x1000
jb 0x4d3293
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042a4b6
add esp, 0x10
cmp eax, 0xffffffff
je 0x4d32d8
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4d328e
jl 0x4d32bf
test ecx, ecx
jne 0x4d3280
push dword [ebp - 0xc]
push ebx
call fcn.00417cb8
push esi
call fcn.0041b690
add esp, 0xc
xor ebx, ebx
jmp 0x4d3368
cmp byte [edi + 0x24], 0
je 0x4d32ef
cmp dword [edi + 0x20], 5
jne 0x4d32ef
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4d32fa
mov ebx, dword [edi + 0x18]
jmp 0x4d32fc
xor ebx, ebx
push esi
call fcn.0041b690
pop ecx
jmp 0x4d3368
test ecx, ecx
jg 0x4d32d1
jl 0x4d330f
test eax, eax
jae 0x4d32d1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042c524
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4d332f
cmp byte [edi + 0x1c], 0
je 0x4d32d1
jmp 0x4d3360
push ebx
call fcn.0041e4f7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4d32d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4d3368
cmp byte [edi + 0x1c], 0
je 0x4d3365
mov ebx, dword [edi + 0x18]
jmp 0x4d3368
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042c524
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d442f
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x188
push 8
push dword [0x846350]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x848e30]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x848e34], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.004d73e9
mov dword [esi + 0x58], 0x4d5412
mov eax, esi
mov dword [esi + 0x5c], 0x4d545e
mov dword [esi + 0x10], fcn.004d4f4a
mov dword [esi + 0x30], 0x4d4d25
mov dword [esi + 0x64], 0x4d54f3
mov dword [esi + 0x60], 0x4d54a7
mov dword [esi + 0x34], 0x4d47f0
mov dword [esi + 0x24], 0x4d47c7
mov dword [esi + 0x28], 0x4d479c
mov dword [esi + 0x2c], 0x4d46f0
mov dword [esi + 0x44], 0x4d51e2
mov dword [esi + 0x68], 0x4d44f0
mov dword [esi + 0x6c], 0x4d56f5
pop esi
ret 4
Function at 0x4d9a14
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4d9c20
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
imul esi, dword [esp + 0x24], 3
push edi
mov edi, 0xff
shl ebx, 2
mov dword [esp + 0x28], edx
cmp dword [esp + 0x40], edi
jne 0x4d9b30
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x24]
imul ebp, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
add ebp, ebx
mov ebx, dword [eax + 0xcc]
add ebp, dword [esp + 0x20]
imul ebx, edx
add ebx, dword [eax + 0xc8]
add ebx, esi
cmp dword [esp + 0x38], 0
jle 0x4d9af9
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
movzx edi, byte [ebp + 3]
mov esi, 0xff
movzx eax, byte [ebp + 2]
sub esi, edi
movzx ecx, byte [ebx + 2]
imul eax, edi
imul ecx, esi
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
movzx ecx, byte [ebx + 1]
mov byte [ebx + 2], al
movzx eax, byte [ebp + 1]
imul eax, edi
imul ecx, esi
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov byte [ebx + 1], al
movzx eax, byte [ebx]
movzx ecx, byte [ebp]
lea ebp, [ebp + 4]
imul eax, esi
imul ecx, edi
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
sub dword [esp + 0x30], 1
mov byte [ebx], al
lea ebx, [ebx + 3]
jne 0x4d9a8a
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
dec ecx
or eax, 0xffffffff
mov dword [esp + 0x3c], ecx
inc edx
push 1
cmp dword [esi + 0xe8], 0
mov esi, dword [esp + 0x14]
pop ebx
cmovne eax, ebx
mov dword [esp + 0x28], edx
add eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
test ecx, ecx
jne 0x4d9a55
jmp 0x4d9c1c
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x24]
imul ebp, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
add ebp, ebx
mov ebx, dword [eax + 0xcc]
add ebp, dword [esp + 0x20]
imul ebx, edx
add ebx, dword [eax + 0xc8]
add ebx, esi
cmp dword [esp + 0x38], 0
jle 0x4d9bea
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
movzx eax, byte [ebp + 3]
mov esi, 0xff
imul eax, dword [esp + 0x40]
movzx ecx, byte [ebx + 2]
cdq
idiv edi
mov edi, eax
movzx eax, byte [ebp + 2]
imul eax, edi
sub esi, edi
imul ecx, esi
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
movzx ecx, byte [ebx + 1]
mov byte [ebx + 2], al
movzx eax, byte [ebp + 1]
imul eax, edi
imul ecx, esi
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov byte [ebx + 1], al
movzx eax, byte [ebx]
movzx ecx, byte [ebp]
lea ebp, [ebp + 4]
imul eax, esi
imul ecx, edi
mov edi, 0xff
add eax, ecx
cdq
idiv edi
sub dword [esp + 0x30], 1
mov byte [ebx], al
lea ebx, [ebx + 3]
jne 0x4d9b71
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
dec ecx
or eax, 0xffffffff
mov dword [esp + 0x3c], ecx
inc edx
push 1
cmp dword [esi + 0xe8], 0
mov esi, dword [esp + 0x18]
pop ebx
cmovne eax, ebx
mov dword [esp + 0x28], edx
add eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4d9b38
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x4da5ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x30]
mov ebp, dword [esi + 0xd4]
test edi, edi
je 0x4da694
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push ebx
shl ecx, 2
mov ebx, ebp
imul ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
imul edx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esi + 0xcc]
add edx, dword [esp + 0x18]
imul ecx, eax
add ecx, dword [esi + 0xc8]
add ecx, ebx
cmp dword [esp + 0x30], 0
jle 0x4da672
mov esi, dword [esp + 0x30]
mov al, byte [edx + 2]
xor byte [ecx + 2], al
mov al, byte [edx + 1]
xor byte [ecx + 1], al
mov al, byte [edx]
lea edx, [edx + 4]
xor byte [ecx], al
add ecx, ebp
sub esi, 1
jne 0x4da650
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc eax
xor ecx, ecx
mov dword [esp + 0x24], eax
inc ecx
or eax, 0xffffffff
cmp dword [esi + 0xe8], 0
cmovne eax, ecx
add eax, dword [esp + 0x34]
sub edi, ecx
mov ecx, dword [esp + 0x28]
jne 0x4da61f
pop ebx
pop edi
pop esi
pop ebp
ret 0x24

Function at 0x4da9d3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul ecx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ecx
test ebx, ebx
je 0x4daaa1
push ebp
mov ebp, dword [esp + 0x24]
push esi
imul esi, dword [esp + 0x2c], 3
imul eax, dword [esp + 0x24], 3
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov edx, eax
imul edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
add edi, esi
mov esi, dword [eax + 0xcc]
add edi, dword [esp + 0x20]
imul esi, ebp
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x38]
test ecx, ecx
jle 0x4daa6e
mov ebx, 0xff
mov ebp, ecx
sub ebx, dword [esp + 0x40]
movzx eax, byte [edi]
imul eax, dword [esp + 0x40]
movzx ecx, byte [esi]
imul ecx, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc edi
mov byte [esi], al
inc esi
sub ebp, 1
jne 0x4daa41
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
xor esi, esi
dec ebx
or eax, 0xffffffff
inc esi
mov dword [esp + 0x3c], ebx
inc ebp
cmp dword [ecx + 0xe8], 0
mov ecx, dword [esp + 0x10]
cmovne eax, esi
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x14]
add eax, edx
test ebx, ebx
jne 0x4daa08
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x4db0b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x30]
mov ebp, dword [esi + 0xd4]
test edi, edi
je 0x4db155
imul ecx, dword [esp + 0x24], 3
mov eax, dword [esp + 0x28]
push ebx
mov ebx, ebp
imul ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
imul edx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esi + 0xcc]
add edx, dword [esp + 0x18]
imul ecx, eax
add ecx, dword [esi + 0xc8]
add ecx, ebx
cmp dword [esp + 0x30], 0
jle 0x4db133
mov esi, dword [esp + 0x30]
mov al, byte [edx + 2]
xor byte [ecx + 2], al
mov al, byte [edx + 1]
xor byte [ecx + 1], al
mov al, byte [edx]
lea edx, [edx + 3]
xor byte [ecx], al
add ecx, ebp
sub esi, 1
jne 0x4db111
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc eax
xor ecx, ecx
mov dword [esp + 0x24], eax
inc ecx
or eax, 0xffffffff
cmp dword [esi + 0xe8], 0
cmovne eax, ecx
add eax, dword [esp + 0x34]
sub edi, ecx
mov ecx, dword [esp + 0x28]
jne 0x4db0e0
pop ebx
pop edi
pop esi
pop ebp
ret 0x24
Function at 0x4dd6b6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
lea eax, [esp + 0x10]
push ebx
push esi
push eax
push dword [esp + 0x78]
xor esi, esi
mov ebx, esi
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4dd84d
push dword [esp + 0x28]
call fcn.0044abaf
test eax, eax
je 0x4dd6f6
push dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4dd84d
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x4dd83a
push ebp
mov ebp, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x38]
call ebp
cmp eax, 0x18
jne 0x4dd832
push 0x2c
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0042cc40
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
xor eax, eax
push 0x20
inc eax
mov dword [esp + 0x50], 0x28
mov word [esp + 0x5c], ax
pop eax
push esi
push esi
mov word [esp + 0x62], ax
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], esi
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4dd832
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call esi
push 2
xor eax, eax
push eax
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x90]
push eax
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x2c]
push edi
call esi
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x38]
call ebp
cmp eax, 0x18
jne 0x4dd832
mov ebp, dword [esp + 0x38]
xor esi, esi
mov edx, dword [esp + 0x3c]
mov eax, ebp
shl eax, 2
mov dword [esp + 0x10], eax
test edx, edx
jle 0x4dd832
mov eax, dword [sym.imp.GDI32.dll_GetPixel]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, edx
sub ecx, esi
add eax, 3
dec ecx
xor ebx, ebx
imul ecx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x7c], eax
test ebp, ebp
jle 0x4dd829
push esi
push ebx
push edi
call dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
test eax, eax
setne al
dec al
mov byte [ecx], al
add ecx, 4
mov ebp, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x7c], ecx
cmp ebx, ebp
jl 0x4dd801
mov edx, dword [esp + 0x3c]
inc esi
cmp esi, edx
jl 0x4dd7e4
mov ebx, dword [esp + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop ebp
push dword [esp + 0x28]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x2c]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x68
ret 4
Function at 0x4df310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4df495
cmp dword [esi + 0x20], 0
je 0x4df495
cmp dword [esi + 0x24], 0
je 0x4df495
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4df495
cmp dword [eax], esi
jne 0x4df495
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x4df375
cmp eax, 0x39
je 0x4df375
cmp eax, 0x45
je 0x4df375
cmp eax, 0x49
je 0x4df375
cmp eax, 0x5b
je 0x4df375
cmp eax, 0x67
je 0x4df375
cmp eax, 0x71
je 0x4df375
cmp eax, 0x29a
jne 0x4df495
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x4df3ae
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x4df3d0
call fcn.0046c270
jmp 0x4df3d5
call fcn.0046c800
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.004e0500
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.0042cc40
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x4fb22a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x4fb228]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x4fb22c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x4fb22e]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
mov ecx, 0x652c6da7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7e870bf4
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x421e72
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
xor eax, eax
push eax
call sub.KERNEL32.dll_GetTickCount
mov dword [esp], eax
call fcn.0045f174
call sub.KERNEL32.dll_GetTickCount
mov ebx, eax
sub ebx, dword [esp]
cmp ebx, dword [esp + 0xc]
jle 0x421e7e
xor eax, eax
add esp, 4
pop ebx
ret 4
Function at 0x429fbb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
xor eax, eax
push eax
push eax
mov edx, dword [esp + 0x10]
lea ecx, [esp]
call fcn.0043a610
mov ebx, dword [0x518004]
cmp ebx, 1
jne 0x429fdb
xor eax, eax
jmp 0x429fe0
mov eax, 1
and eax, eax
je 0x429fe9
jmp 0x42a16c
push str.log.txt
push 0
call fcn.004566c0
and eax, eax
je 0x42a16a
mov ebx, dword [esp + 0x18]
and ebx, ebx
je 0x42a012
call sub.KERNEL32.dll_GetTickCount
mov dword [0x51801c], eax
call sub.KERNEL32.dll_GetTickCount
mov ebx, eax
sub ebx, dword [0x51801c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x14]
cmp ebx, 1
jne 0x42a0a4
mov eax, dword [0x54e9c4]
push eax
push eax
call fcn.00460201
push eax
push 0x48bdec
call fcn.00460251
mov edx, 0x48b32e
call fcn.00462b90
mov eax, dword [0x54e9c4]
push eax
push eax
push 8
mov eax, dword [0x54e9c4]
push eax
push eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.00442150
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.00442c40
pop eax
mov edx, 0x48bdb5
call fcn.00462b90
mov edx, dword [esp + 4]
call fcn.00462b90
mov edx, 0x48f2f1
call fcn.00462b90
lea eax, [esp + 4]
push eax
call fcn.00462b10
jmp 0x42a110
mov eax, dword [0x54e9c4]
push eax
push eax
call fcn.00460201
push eax
push 0x48bdec
call fcn.00460251
mov edx, 0x48b32e
call fcn.00462b90
mov eax, dword [0x54e9c4]
push eax
push eax
push 8
mov eax, dword [0x54e9c4]
push eax
push eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.00442150
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.00442c40
pop eax
mov edx, 0x48bdb2
call fcn.00462b90
mov edx, dword [esp + 4]
call fcn.00462b90
lea eax, [esp + 4]
push eax
call fcn.00462b10
push 0
call fcn.00456760
push edx
push eax
push 0
call fcn.00456a00
push dword [esp]
push 0
call fcn.00456a50
mov ebx, dword [esp + 0x14]
cmp ebx, 1
jne 0x42a14b
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x42a14b
mov eax, 1
jmp 0x42a14d
xor eax, eax
and eax, eax
je 0x42a160
push 0x48b87c
push 0
call fcn.00456a50
push 0
call fcn.004564f0
xor eax, eax
push dword [esp]
call fcn.00462c80
add esp, 8
pop ebx
ret 0xc
Function at 0x43e7a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43e986
mov eax, dword [0x54e9c8]
test eax, eax
je 0x43e986
xor ebx, ebx
jmp 0x43e7e0
imul eax, ebx, 0x28
mov edx, dword [0x54e9c8]
mov eax, dword [edx + eax + 4]
test eax, eax
jne 0x43e7df
mov dword [ebp - 4], ebx
jmp 0x43e7e8
inc ebx
cmp ebx, dword [0x514a88]
jl 0x43e7c9
cmp dword [ebp - 4], 0xffffffff
jne 0x43e843
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x14], eax
mov edx, dword [0x514a88]
inc edx
mov eax, edx
mov edx, 0x28
mul edx
push eax
mov eax, dword [0x54e9c8]
push eax
push 8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43e83c
mov eax, dword [ebp - 0x10]
mov dword [0x54e9c8], eax
mov eax, dword [0x514a88]
lea edx, [eax + 1]
mov dword [0x514a88], edx
mov dword [ebp - 4], eax
jmp 0x43e843
xor eax, eax
jmp 0x43e986
cmp dword [ebp + 0x18], 0xffffffff
jne 0x43e850
mov dword [ebp + 0x18], 0x8800
push 0
mov eax, dword [0x517fd4]
push eax
push 0xffffd8f0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x18]
or eax, 0x40000050
push eax
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov dword [ebp - 8], eax
test eax, eax
je 0x43e984
push 0
push 0x14
push 0x41e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
mov eax, dword [ebp + 0x10]
and eax, 0xffff
mov edx, dword [ebp + 0x14]
and edx, 0xffff
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x420
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
push 0x89
push 0
push 0x454
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
push 0
mov eax, dword [0x517fd4]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, 0x80000000
push eax
push eax
push eax
push eax
push 0x80000003
push 0
push section..rdata
push 8
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43e927
push 0x96
push 0
push 0x418
mov eax, dword [0x54e9d4]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
mov eax, dword [ebp + 8]
mov dword [0x54e9cc], eax
mov eax, dword [ebp - 8]
mov dword [0x54e9d0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x54e9d4], eax
mov dword [0x54e9d8], 0
mov eax, dword [ebp + 0x10]
mov dword [0x54e9dc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x54e9e0], eax
imul eax, dword [ebp - 4], 0x28
mov edx, dword [0x54e9c8]
lea edi, [edx + eax]
lea esi, [0x54e9cc]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp - 8]
jmp 0x43e986
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14