joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6428a4cf
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x64907008]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x64907008]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6428a546
jmp 0x6428a59d
jmp 0x6428a5f4
jmp 0x6428a64b
jmp 0x6428a6a2
jmp 0x6428a6f9
jmp 0x6428a750
jmp 0x6428a7a7
jmp 0x6428a7fe
jmp 0x6428a855
jmp 0x6428a8ac
jmp 0x6428a903
jmp 0x6428a95a
jmp 0x6428a9b1
jmp 0x6428aa08
jmp 0x6428aa5f
jmp 0x6428aab6
jmp 0x6428ab0d
jmp 0x6428ab64
jmp 0x6428abbb
jmp 0x6428ac12
jmp 0x6428ac69
jmp 0x6428acc0
jmp 0x6428ad17
jmp 0x6428ad6e
jmp 0x6428adc5
jmp 0x6428ae1c
jmp 0x6428ae73
mov dword [ebp - 0x14], 0
jmp 0x6428aed1
jmp 0x6428af28
jmp 0x6428af7f
jmp 0x6428afd6
jmp 0x6428b02d
jmp 0x6428b084
jmp 0x6428b0db
jmp 0x6428b132
jmp 0x6428b189
jmp 0x6428b1e0
jmp 0x6428b237
jmp 0x6428b28e
jmp 0x6428b2e5
jmp 0x6428b33c
jmp 0x6428b393
jmp 0x6428b3ea
jmp 0x6428b441
jmp 0x6428b498
jmp 0x6428b4ef
jmp 0x6428b546
jmp 0x6428b59d
jmp 0x6428b5f4
jmp 0x6428b64b
jmp 0x6428b6a2
jmp 0x6428b6f9
jmp 0x6428b750
jmp 0x6428b7a7
jmp 0x6428b7fe
mov dword [ebp - 0x18], 0
jmp 0x6428b85c
jmp 0x6428b8b3
jmp 0x6428b90a
jmp 0x6428b961
jmp 0x6428b9b8
jmp 0x6428ba0f
jmp 0x6428ba66
jmp 0x6428babd
jmp 0x6428bb14
jmp 0x6428bb6b
jmp 0x6428bbc2
jmp 0x6428bc19
jmp 0x6428bc70
jmp 0x6428bcc7
jmp 0x6428bd1e
jmp 0x6428bd75
jmp 0x6428bdcc
jmp 0x6428be23
jmp 0x6428be7a
jmp 0x6428bed1
jmp 0x6428bf28
jmp 0x6428bf7f
jmp 0x6428bfd6
jmp 0x6428c02d
jmp 0x6428c084
jmp 0x6428c0db
jmp 0x6428c132
jmp 0x6428c189
mov dword [ebp - 0x10], 0
jmp 0x6428c1e7
jmp 0x6428c23e
jmp 0x6428c295
jmp 0x6428c2ec
jmp 0x6428c343
jmp 0x6428c39a
jmp 0x6428c3f1
jmp 0x6428c448
jmp 0x6428c49f
jmp 0x6428c4f6
jmp 0x6428c54d
jmp 0x6428c5a4
jmp 0x6428c5fb
jmp 0x6428c652
jmp 0x6428c6a9
jmp 0x6428c700
jmp 0x6428c757
jmp 0x6428c7ae
jmp 0x6428c805
jmp 0x6428c85c
jmp 0x6428c8b3
jmp 0x6428c90a
jmp 0x6428c961
jmp 0x6428c9b8
jmp 0x6428ca0f
jmp 0x6428ca66
jmp 0x6428cabd
jmp 0x6428cb14
mov dword [ebp - 0x10], 0
jmp 0x6428fafa
jmp 0x6428cb77
jmp 0x6428cbce
jmp 0x6428cc25
jmp 0x6428cc7c
jmp 0x6428ccd3
jmp 0x6428cd2a
jmp 0x6428cd81
jmp 0x6428cdd8
jmp 0x6428ce2f
jmp 0x6428ce86
jmp 0x6428cedd
jmp 0x6428cf34
jmp 0x6428cf8b
jmp 0x6428cfe2
jmp fcn.6428d039
mov eax, dword [0x64907008]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6428cb20
nop
leave
ret

Function at 0x642aae40
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x64906040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.642aaea0
Function at 0x642aaea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x64907378]
test esi, esi
jle 0x642aaf8d
mov edi, dword [0x6490737c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x642aaed4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x642aaf86
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x642aaec0
mov dword [esp], eax
mov esi, eax
call fcn.642ab640
test eax, eax
mov edi, eax
je 0x642aafca
mov esi, dword [0x6490737c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.642ab750
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x6490737c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x642aafaa
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x642aaf7f
sub eax, 0x40
and eax, 0xffffffbf
je 0x642aaf7f
mov eax, dword [esp + 0x20]
add ebx, dword [0x6490737c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x642aaf94
add dword [0x64907378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x642aaede
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.642aae40
mov eax, dword [0x6490737c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.642aae40
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.642aae40
lea esi, [esi]

Function at 0x642ab2b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x64907388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x64907380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x642ab305
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x642ab2fe
test esi, esi
je 0x642ab2fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x642ab2e0
mov dword [esp], 0x64907388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x415aeb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041595c

Function at 0x415ee5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408ca0
mov eax, dword [0x4771c0]
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.00413aee
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x415f27
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416083
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041e990
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 + 0x479760]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00416c84
mov ecx, dword [esi*4 + 0x479760]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41607c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41607c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41607c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00416c84
add esp, 0x14
test edx, edx
jl 0x41607c
jg 0x415ff2
test eax, eax
jb 0x41607c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41607c
jl 0x41600c
cmp dword [ebp - 0x1008], eax
ja 0x41607c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41602a
test ebx, ebx
je 0x416063
cmp ecx, edi
jae 0x416063
mov al, byte [ecx]
cmp al, 0xd
jne 0x416044
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416050
cmp byte [ecx + 1], 0xa
jne 0x416050
inc ecx
jmp 0x416050
movzx eax, al
movsx eax, byte [eax + 0x477490]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41602a
cmp edx, ebx
jne 0x41602a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416081
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004080c7
leave
ret
Function at 0x416122
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x479760]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x416162
cmp byte [ebx], 0xa
jne 0x416162
or byte [eax + edi + 0x28], 4
jmp 0x416167
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x416265
mov al, byte [edx]
cmp al, 0x1a
je 0x416247
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x416196
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4161bb
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4161c5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x416178
jmp 0x416265
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416242
cmp dword [ebp - 0xc], 0
je 0x416242
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x479760]
test byte [eax + edi + 0x28], 0x48
je 0x41621c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x416207
mov byte [esi], dl
jmp 0x416218
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x479760]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x416265
cmp byte [ebp - 1], 0xa
jne 0x41622b
cmp esi, ebx
jne 0x41622b
mov byte [esi], 0xa
jmp 0x416264
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00416ca2
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x416265
mov byte [esi], 0xd
jmp 0x416264
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x479760]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x416261
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x416265
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41626e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x479760]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4162b1
cmp word [esi], dx
jne 0x4162b1
or byte [edi + eax + 0x28], 4
jmp 0x4162b6
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x416409
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4163e9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4162f8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41632e
cmp eax, edx
jae 0x41633a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4162d0
jmp 0x416409
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4163e5
cmp dword [ebp - 0x14], 0
je 0x4163e5
mov eax, dword [ebx*4 + 0x479760]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4163bd
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x416386
mov word [esi], cx
jmp 0x4163b9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x479760]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x479760]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x479760]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x416409
pop ebx
cmp word [ebp - 4], bx
jne 0x4163ce
cmp esi, dword [ebp + 0xc]
jne 0x4163ce
mov word [esi], bx
jmp 0x416406
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00416ca2
add esp, 0x10
cmp word [ebp - 4], bx
je 0x416409
push 0xd
jmp 0x416402
mov ecx, dword [ebx*4 + 0x479760]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x416400
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x416409
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418bbb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418c58
push ebx
push esi
call fcn.00418b84
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00417965
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x418c05
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418c57
push edi
push eax
call fcn.004137c3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x418c25
call fcn.00412a7b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418c56
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00417965
add esp, 0x20
test eax, eax
jne 0x418c44
push edi
call fcn.00412a7b
jmp 0x418c4c
push ebx
call fcn.00412a7b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41e950
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e97d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e97d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x420545
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
sub eax, dword [esp + 0x10]
sar eax, 2
push edi
mov edi, dword [esp + 0x20]
test eax, eax
je 0x42061d
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42061b
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x478da8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x421548
mov byte [edi + esi], al
call fcn.0040d3de
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401920
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor byte [edi + esi], al
mov eax, dword [esp + 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00401800
inc esi
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x30]
jb 0x420582
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.0040433b
pop edi
add esp, 0xc
ret 0x14

Function at 0x42062d
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x420649
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1e69099d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x64d85d6e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ed0
nop
mov ecx, 0xc7068bd
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xd825501
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4f3be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ecx + eax - 4]
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.004f24af
add esp, 0xc
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0x678]
sub ecx, eax
mov dword [ebp - 0x678], ecx
push 4
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x678]
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.004f24af
add esp, 0xc
mov eax, dword [ebp - 0x38c]
mov ecx, dword [ebp - 0x678]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x3ac], eax
push 4
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x688]
push eax
call fcn.004f24af
add esp, 0xc
mov eax, dword [ebp - 0x678]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x748], eax
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x6f8], eax
and dword [ebp - 0x700], 0
jmp 0x4f3c8e
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x38c]
jae 0x4f3ce0
invalid
invalid
invalid
clc