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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx eax, word [eax]
mov dword [esp + 8], eax
mov dword [esp], 0xb18e7543
mov word [esp + 4], 0
mov ebp, 0xa382385d
mov esi, 0x5c7dc7a2
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebp + 0x5c7dc7a3]
mov ebx, edx
xor ebx, ebp
or ebx, esi
mov eax, ebx
shr al, 1
and al, 1
mov ecx, ebx
not cl
mov ah, cl
and ah, 0x7d
mul ah
add al, al
sub dl, al
test bl, 2
sete al
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, ebp
add al, 0x2f
mov byte [esp + ebp + 0x5c7dc7a3], al
inc ebp
dec esi
cmp ebp, 0xa3823863
jne 0x5929b0
xor ecx, ecx
mov eax, dword [esp + 8]
cmp dword [esp], eax
setne cl
xor eax, eax
mov ebp, dword [esp + 0x3c]
jmp dword [ecx*4 + 0x2c8834]

Function at 0x593740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
mov eax, edx
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx]
lea ebx, [edx + 0x6e667871]
xor ebx, ecx
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
add cl, 0xca
mov byte [esp + edx], cl
mov ecx, edx
xor eax, 1
add eax, edx
and edx, 1
and ecx, 6
add eax, edx
sub eax, ecx
mov edx, eax
cmp eax, 7
jb 0x593770
mov eax, dword [esp]
mov edx, dword [0x2cb064]
test edx, edx
je 0x5937f8
xor ebx, ebx
mov ecx, dword [0x2cb068]
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x5937d0
inc ebx
cmp edx, ebx
jne 0x5937c0
jmp 0x5937f8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x5937f8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x2cb06c]
call fcn.00590f50
add esp, 0x20
test edi, edi
je 0x593802
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x59380e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4054bd
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0040576c
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x4054f1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423fc8], eax
jmp 0x405685
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x40550f
test eax, eax
je 0x405630
test byte [ebp + 0xc], 2
je 0x405630
mov esi, 0x421540
push edi
push esi
call fcn.00405b98
test ebx, ebx
je 0x40552c
push 0x4093dc
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405532
push edi
call fcn.004056d2
cmp byte [edi], 0
jne 0x405540
cmp byte [0x421540], 0x5c
jne 0x40554b
push 0x409010
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405626
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004056b6
cmp byte [eax], 0
je 0x405591
cmp byte [ebp - 0x18], 0
je 0x405591
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x4055a7
mov al, byte [esi + 1]
test al, al
je 0x405605
cmp al, 0x2e
jne 0x4055a7
cmp byte [esi + 2], 0
je 0x405605
push esi
push ebx
call fcn.00405b98
test byte [ebp - 0x148], 0x10
je 0x4055cc
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405605
push dword [ebp + 0xc]
push edi
call fcn.004054bd
jmp 0x405605
push edi
call fcn.00405850
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4055fd
test byte [ebp + 0xc], 4
je 0x4055f5
push edi
push 0xfffffffffffffff1
call fcn.00404e84
push 0
push edi
call fcn.004058e6
jmp 0x405605
inc dword [0x423fc8]
jmp 0x405605
push edi
push 0xfffffffffffffff2
call fcn.00404e84
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40556f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405630
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405685
cmp dword [ebp - 8], esi
jne 0x405645
inc dword [0x423fc8]
jmp 0x405685
push edi
call fcn.00405e93
test eax, eax
je 0x405685
push edi
call fcn.0040568b
push edi
call fcn.00405850
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40567d
test byte [ebp + 0xc], 4
je 0x40563d
push edi
push 0xfffffffffffffff1
call fcn.00404e84
push esi
push edi
call fcn.004058e6
jmp 0x405685
push edi
push 0xffffffffffffffe5
call fcn.00404e84
pop edi
pop esi
leave
ret 8
Function at 0x40581e
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405ae9
test bl, 8
mov dword [ebp - 8], eax
je 0x40585d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x7a8aa8], eax
jmp 0x4059da
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405877
test eax, eax
je 0x405988
test bl, 2
je 0x405988
mov esi, 0x7a3f28
push edi
push esi
call fcn.0040602d
cmp dword [ebp + 8], 0
je 0x405896
push 0x40a544
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x40589c
push edi
call fcn.00405a2d
cmp word [edi], 0
jne 0x4058ac
cmp word [0x7a3f28], 0x5c
jne 0x4058b7
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40597d
cmp word [ebp - 0x22c], 0x2e
jne 0x405901
cmp word [ebp - 0x22a], 0
je 0x405960
cmp word [ebp - 0x22a], 0x2e
jne 0x405901
cmp word [ebp - 0x228], 0
je 0x405960
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040602d
test byte [ebp - 0x258], 0x10
je 0x40592c
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405960
push dword [ebp + 0xc]
push edi
call fcn.0040581e
jmp 0x405960
push dword [ebp - 4]
push edi
call fcn.004057d6
test eax, eax
jne 0x405958
cmp dword [ebp - 4], eax
je 0x405950
push edi
push 0xfffffffffffffff1
call fcn.0040518c
push 0
push edi
call fcn.00405ece
jmp 0x405960
inc dword [0x7a8aa8]
jmp 0x405960
push edi
push 0xfffffffffffffff2
call fcn.0040518c
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4058d9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405988
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4059da
cmp dword [ebp - 8], esi
jne 0x40599c
inc dword [0x7a8aa8]
jmp 0x4059da
push edi
call fcn.00406370
test eax, eax
je 0x4059da
push edi
call fcn.004059e1
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004057d6
test eax, eax
jne 0x4059d2
cmp dword [ebp - 4], esi
je 0x405994
push edi
push 0xfffffffffffffff1
call fcn.0040518c
push esi
push edi
call fcn.00405ece
jmp 0x4059da
push edi
push 0xffffffffffffffe5
call fcn.0040518c
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x406397
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4063bb
xor eax, eax
test eax, eax
je 0x4063ce
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063ce
xor ecx, ecx
jmp 0x4063d1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4064b8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a65c4], 0
push esi
jne 0x4064ef
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064c9
mov dword [ecx*4 + 0x7a65c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4064c4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406520
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65c0]
xor eax, esi
inc ecx
dec edx
jne 0x406502
pop edi
not eax
pop esi
ret 0xc

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
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4f9b2b75
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x12961f3a
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x99f151
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov byte [esp + 1], bh
pop word [esp]
jmp 0x99f141
jne 0x99f130
mov dword [esp + 3], esi
mov dword [esp + 8], ecx
jmp 0x99f0e8
mov dword [esp + 6], ebx
lea esp, [esp + 0x1f]
lea esp, [esp + 3]
mov dword [esp + 4], edx
call fcn.0099f1da
mov dword [esp + 3], esi
mov dword [esp + 8], ecx
pushfd
mov byte [esp + 1], bh
pop word [esp]
pushal
jmp 0x99f10a
lea esp, [esp + 2]
mov dword [esp], ebx
call 0x99f151
stosd dword es:[edi], eax
mov byte [esp], al
mov word [esp], bx
jmp 0x99f178
mov word [esp + 1], cx
lea esp, [esp + 6]
mov byte [esp], bl
jmp 0x99f144
pushfd
mov byte [esp], cl
mov dword [esp + 4], esp
call 0x99f186
push ecx
push word [esp + 1]
jno 0x99f1bc
jo 0x99f1a6
jmp 0x99f16a
mov byte [esp + 2], dh
jmp 0x99f1c0
mov byte [esp + 2], dh
call fcn.0099f2c8
rcl byte [eax - 0x3a]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
pop ebp
and al, 0xd7
fcomp dword [bp - 0x34]
stosd dword es:[edi], eax
aam 0x2f
and edi, edi
invalid
je 0x99f201
push dword [esp + 3]
jbe 0x99f1a4
add esi, dword [esi - 0x3c]
mov word [esp + 1], cx
lea esp, [esp + 6]
mov byte [esp], bl
lea esp, [esp + 2]
mov dword [esp], ebx
jmp 0x99f14b
shl byte [ecx], cl
xchg ecx, eax
fstp qword [eax - 0x32]
test eax, 0xff35e658
invalid
je 0x99f232
push es
jmp 0x99f0fe
int3

Function at 0x99f186
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov byte [esp + 1], bh
pop word [esp]
jmp 0x99f141
jne 0x99f130
mov dword [esp + 3], esi
mov dword [esp + 8], ecx
jmp 0x99f0e8
mov dword [esp + 6], ebx
lea esp, [esp + 0x1f]
lea esp, [esp + 3]
mov dword [esp + 4], edx
call fcn.0099f1da
mov dword [esp + 3], esi
mov dword [esp + 8], ecx
pushfd
mov byte [esp + 1], bh
pop word [esp]
pushal
jmp 0x99f10a
lea esp, [esp + 2]
mov dword [esp], ebx
call 0x99f151
stosd dword es:[edi], eax
mov byte [esp], al
mov word [esp], bx
jmp 0x99f178
mov word [esp + 1], cx
lea esp, [esp + 6]
mov byte [esp], bl
jmp 0x99f144
pushfd
mov byte [esp], cl
mov dword [esp + 4], esp
call 0x99f186
push ecx
push word [esp + 1]
jno 0x99f1bc
jo 0x99f1a6
jmp 0x99f16a
mov byte [esp + 2], dh
jmp 0x99f1c0
mov byte [esp + 2], dh
call fcn.0099f2c8
rcl byte [eax - 0x3a]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
pop ebp
and al, 0xd7
fcomp dword [bp - 0x34]
stosd dword es:[edi], eax
aam 0x2f
and edi, edi
invalid
je 0x99f201
push dword [esp + 3]
jbe 0x99f1a4
add esi, dword [esi - 0x3c]
mov word [esp + 1], cx
lea esp, [esp + 6]
mov byte [esp], bl
lea esp, [esp + 2]
mov dword [esp], ebx
jmp 0x99f14b
shl byte [ecx], cl
xchg ecx, eax
fstp qword [eax - 0x32]
test eax, 0xff35e658
invalid
je 0x99f232
push es
jmp 0x99f0fe
int3
Function at 0x99f1da
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov byte [esp + 1], bh
pop word [esp]
jmp 0x99f141
jne 0x99f130
mov dword [esp + 3], esi
mov dword [esp + 8], ecx
jmp 0x99f0e8
mov dword [esp + 6], ebx
lea esp, [esp + 0x1f]
lea esp, [esp + 3]
mov dword [esp + 4], edx
call fcn.0099f1da
mov dword [esp + 3], esi
mov dword [esp + 8], ecx
pushfd
mov byte [esp + 1], bh
pop word [esp]
pushal
jmp 0x99f10a
lea esp, [esp + 2]
mov dword [esp], ebx
call 0x99f151
stosd dword es:[edi], eax
mov byte [esp], al
mov word [esp], bx
jmp 0x99f178
mov word [esp + 1], cx
lea esp, [esp + 6]
mov byte [esp], bl
jmp 0x99f144
pushfd
mov byte [esp], cl
mov dword [esp + 4], esp
call 0x99f186
push ecx
push word [esp + 1]
jno 0x99f1bc
jo 0x99f1a6
jmp 0x99f16a
mov byte [esp + 2], dh
jmp 0x99f1c0
mov byte [esp + 2], dh
call fcn.0099f2c8
rcl byte [eax - 0x3a]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
pop ebp
and al, 0xd7
fcomp dword [bp - 0x34]
stosd dword es:[edi], eax
aam 0x2f
and edi, edi
invalid
je 0x99f201
push dword [esp + 3]
jbe 0x99f1a4
add esi, dword [esi - 0x3c]
mov word [esp + 1], cx
lea esp, [esp + 6]
mov byte [esp], bl
lea esp, [esp + 2]
mov dword [esp], ebx
jmp 0x99f14b
shl byte [ecx], cl
xchg ecx, eax
fstp qword [eax - 0x32]
test eax, 0xff35e658
invalid
je 0x99f232
push es
jmp 0x99f0fe
int3

Function at 0x9a01ab
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
mov dx, bx
mov dx, 0x3330
lea esp, [esp + 3]
jmp 0x9a01e6
Function at 0xa81713
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 1], bx
cmc
mov dh, bh
bts eax, edx
cpuid
pop ecx
bswap edx
jmp 0xa80ffb
neg bh
mov ebx, dword [esp + 7]
mov word [esp + 3], dx
lea edi, [ebp + ebp]
add esp, 4
not dl
jmp 0xa81023
mov edi, 0x57ec29c5
not dx
bt di, ax
mov edx, 0xd300a17a
pop word [esp + 8]
cld
jmp 0xa81062
mov eax, 0x25d0e1b
bsf esi, eax
rdtsc
jmp 0xa81110

Function at 0xa832d5
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00a83197
lea esp, [esp + 0xc]
mov eax, dword fs:[0x30]
jmp 0xa832f6
mov dword [esp + 0xc], esi
pushfd
mov dword [esp + 0xc], edi
jmp 0xa832b9
mov eax, dword [eax + 8]
jmp 0xa83342
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0xa832e0
push eax
jmp 0xa83192

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4efd5cb8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x25da1244
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4015f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
mov esi, ecx
mov edx, 0x31
push 0x40
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x40]
imul eax, dword [esi + 0x44]
sub ecx, eax
push 0x1000
mov dword [esi + 0x50], ecx
mov ecx, dword [esi + 0x10]
shl edx, cl
push 0x16f2fa
push 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
mov edx, dword [esi + 0x10]
sub edx, 3
mov dword [esi + 0x18], 0x96
mov dword [esi + 0x38], 0x1a4
mov dword [esi + 0x44], edx
pop esi
ret 4
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
push 0
mov dword [edi], 0x423824
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xc
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x401082
sub eax, esi
sub eax, 0xa
mov dword [esi + 6], eax
mov byte [esi], 0xb9
mov byte [esi + 5], 0xe9
mov dword [esi + 1], edi
mov dword [edi + 8], esi
mov eax, edi
pop esi
leave
ret

Function at 0x4016c9
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR80.dll_srand]
pop ecx
lea ecx, [esp + 4]
call fcn.004119d7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
call fcn.004016a4
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0x433b80
push 0x433fc8
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x401747
push 0x42383c
push 0x427584
call fcn.004151bb
pop ecx
pop ecx
call fcn.004010c5
mov ecx, eax
call fcn.004032ad
test eax, eax
jne 0x40175c
push 2
pop esi
jmp 0x401768
call fcn.00408667
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [0x433fc8]
call sub.gdiplus.dll_GdiplusShutdown
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4026e5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x4026a2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret 4
Function at 0x4030fd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx]
sub esp, 0x28
push esi
xor esi, esi
cmp dword [eax + 0xc], esi
push edi
je 0x403246
cmp dword [eax + 8], esi
je 0x403246
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [ebp - 4], esi
push 4
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
call fcn.00401855
push 8
lea edi, [ebp - 0x24]
call fcn.00401855
cmp dword [ebp - 0x18], 0
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
je 0x403189
cmp dword [ebp - 0x20], 0
je 0x403189
mov eax, dword [ebx]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push 4
add eax, 8
push eax
lea eax, [edi + 4]
push eax
push dword [ebp - 0x14]
call esi
mov eax, dword [ebx]
lea ecx, [ebp - 8]
push ecx
push 4
add eax, 0xc
push eax
lea eax, [edi + 8]
push eax
push dword [ebp - 0x14]
call esi
mov dword [ebp - 4], 1
jmp 0x40318c
mov edi, dword [ebp - 0x10]
push 0x20
mov ecx, ebx
call fcn.00402707
test eax, eax
mov dword [ebp - 8], eax
jne 0x4031ad
push 0x427ec0
push 0x427570
call fcn.004151bb
pop ecx
pop ecx
push dword [ebp - 8]
mov ecx, ebx
call fcn.004024a1
mov ecx, ebx
call fcn.004027b2
test eax, eax
jne 0x4031d3
push 0x427ee8
push 0x427570
call fcn.004151bb
pop ecx
pop ecx
push 0x60
mov ecx, ebx
call fcn.00402707
test eax, eax
jne 0x4031f1
push 0x427f14
push 0x427570
call fcn.004151bb
pop ecx
pop ecx
cmp dword [ebp - 4], 0
je 0x40321d
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
lea eax, [edi + 4]
push eax
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
add edi, 8
push edi
push dword [ebp - 0x14]
call esi
xor esi, esi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
push esi
mov dword [ebp - 0xc], esi
push dword [eax + 0x5d4]
push 0x4030ab
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x2c], eax
xor eax, eax
pop edi
inc eax
pop esi
leave
ret
push 0x20
mov ecx, ebx
call fcn.00402707
mov edi, eax
cmp edi, esi
jne 0x403266
push 0x427f38
push 0x427570
call fcn.004151bb
pop ecx
pop ecx
push edi
mov ecx, ebx
call fcn.004024a1
mov ecx, ebx
call fcn.004027b2
test eax, eax
jne 0x40328a
push 0x427f60
push 0x427570
call fcn.004151bb
pop ecx
pop ecx
push 0x60
mov ecx, ebx
call fcn.00402707
test eax, eax
jne 0x40321f
push 0x427f8c
push 0x427570
call fcn.004151bb
pop ecx
pop ecx
jmp 0x40321f
Function at 0x403382
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
stosd dword es:[edi], eax
push esi
push esi
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push esi
push dword [eax + 0x5e0]
push dword [eax + 0x5dc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x4033f4
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x403405
push str.CBugReportInfo::RestartCrashProcess_Fail_
push str.BugReport
call fcn.004151bb
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret 4