joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41af2a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x403e30
call fcn.0041b328
mov edi, 0x94
mov eax, edi
call fcn.0041b480
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [fcn.00401248]
mov ecx, dword [esi + 0x10]
mov dword [0x42d094], ecx
mov eax, dword [esi + 4]
mov dword [0x42d0a0], eax
mov edx, dword [esi + 8]
mov dword [0x42d0a4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x42d098], esi
cmp ecx, 2
je 0x41af8a
or esi, 0x8000
mov dword [0x42d098], esi
shl eax, 8
add eax, edx
mov dword [0x42d09c], eax
xor esi, esi
push esi
mov edi, dword [fcn.004012c0]
call edi
cmp word [eax], 0x5a4d
jne 0x41afc5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41afc5
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41afdd
cmp eax, 0x20b
je 0x41afca
mov dword [ebp - 0x1c], esi
jmp 0x41aff1
cmp dword [ecx + 0x84], 0xe
jbe 0x41afc5
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x41afeb
cmp dword [ecx + 0x74], 0xe
jbe 0x41afc5
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0041e427
pop ecx
test eax, eax
jne 0x41b005
push 0x1c
call fcn.0041af06
pop ecx
call fcn.0041e31e
test eax, eax
jne 0x41b016
push 0x10
call fcn.0041af06
pop ecx
cmp dword [ebp - 0x1c], esi
je 0x41b032
mov eax, dword [0x42e9a0]
cmp eax, esi
je 0x41b032
call eax
test eax, eax
jne 0x41b032
push 0x1d
call fcn.0041aee1
pop ecx
call fcn.0041e076
mov dword [ebp - 4], esi
call fcn.0041de78
test eax, eax
jge 0x41b04b
push 0x1b
call fcn.0041aee1
pop ecx
call dword [0x4011e8]
mov dword [0x42e99c], eax
call fcn.0041dd56
mov dword [0x42d080], eax
call fcn.0041dcb4
test eax, eax
jge 0x41b071
push 8
call fcn.0041aee1
pop ecx
call fcn.0041da81
test eax, eax
jge 0x41b082
push 9
call fcn.0041aee1
pop ecx
push 1
call fcn.0041d5a3
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x41b098
push eax
call fcn.0041aee1
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x401100]
call fcn.0041da24
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x41b0b9
movzx eax, word [ebp - 0x40]
jmp 0x41b0bc
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040ba9a
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x41b0da
push edi
call fcn.0041d6d0
call fcn.0041d6f2
jmp 0x41b10c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041b363
ret
Function at 0x41f13a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x41f168
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x41f16f
cmp ebx, dword [eax + 4]
jae 0x41f16f
xor eax, eax
jmp 0x41f35f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x41f180
xor eax, eax
inc eax
jmp 0x41f35e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x41f196
cmp ecx, edx
jae 0x41f2db
cmp dword [eax + 4], 0
je 0x41f19f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x41f187
cmp dword [ebp + 8], 0
je 0x41f1c1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41f2db
cmp eax, esi
jae 0x41f2db
mov eax, dword [0x42d358]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x41f1e6
cmp dword [esi*4 + 0x42d360], edi
je 0x41f2df
inc esi
cmp esi, eax
jl 0x41f1d4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x40120c]
test eax, eax
je 0x41f35b
cmp dword [ebp - 8], 0x1000000
jne 0x41f35b
test byte [ebp - 0xc], 0xcc
je 0x41f264
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x41f35b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41f35b
cmp word [eax + 0x18], 0x10b
jne 0x41f35b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x41f35b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x41f264
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x41f264
test byte [ecx + 0x27], 0x80
jne 0x41f2db
push 1
push 0x42d3a0
call dword [0x401238]
test eax, eax
jne 0x41f178
mov ecx, dword [0x42d358]
test ecx, ecx
mov edx, ecx
jle 0x41f298
lea eax, [ecx*4 + 0x42d35c]
cmp dword [eax], edi
je 0x41f298
dec edx
sub eax, 4
test edx, edx
jg 0x41f28c
test edx, edx
jne 0x41f2c9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41f2a5
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41f2bd
lea eax, [edx*4 + 0x42d360]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41f2ab
cmp ecx, 0x10
jge 0x41f2c9
inc ecx
mov dword [0x42d358], ecx
push 0
push 0x42d3a0
call dword [0x401238]
jmp 0x41f178
xor eax, eax
jmp 0x41f35e
test esi, esi
jle 0x41f178
mov ebx, dword [0x401238]
push 1
push 0x42d3a0
call ebx
test eax, eax
jne 0x41f178
cmp dword [esi*4 + 0x42d360], edi
je 0x41f335
mov eax, dword [0x42d358]
lea esi, [eax - 1]
test esi, esi
jl 0x41f323
cmp dword [esi*4 + 0x42d360], edi
je 0x41f31f
dec esi
jns 0x41f313
test esi, esi
jge 0x41f333
cmp eax, 0x10
jge 0x41f32e
inc eax
mov dword [0x42d358], eax
lea esi, [eax - 1]
jmp 0x41f335
je 0x41f34d
xor ecx, ecx
test esi, esi
jl 0x41f34d
lea eax, [ecx*4 + 0x42d360]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41f33b
push 0
push 0x42d3a0
call ebx
jmp 0x41f178
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b554]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b6d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21b6d4]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b6e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b6d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x10005a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017988
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001f494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10005bde
cmp byte [ebx + 0x49], 0
je 0x10005bde
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10005bd2
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10005aa5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10005ac2
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push edx
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10005af9
dec eax
je 0x10005afd
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x10005bd9
call fcn.10001830
xor al, al
jmp 0x10005be0
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10005b0d
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x10005b3a
cmp edi, 0x10
jae 0x10005b1c
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10008a97
add esp, 0x10
cmp esi, eax
jne 0x10005bca
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x10005bd6
test esi, esi
jne 0x10005ab6
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x10005bfb
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x10005bfb
cmp edi, esi
jae 0x10005bb3
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001bf0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10005ab6
mov ecx, eax
cmp edi, 0x10
jae 0x10005b8f
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x10005baa
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10005ab0
test esi, esi
jne 0x10005b85
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10005bc2
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10005ab0
lea ecx, [ebp - 0x2c]
call fcn.10001830
xor al, al
jmp 0x10005be0
lea ecx, [ebp - 0x2c]
call fcn.10001830
mov al, 1
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.1000792e
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.10006ea7
int3
Function at 0x10006000
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100177fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001f494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10007777
push 4
mov dword [ebp - 4], 0
call fcn.10007f2e
mov edi, eax
add esp, 4
test edi, edi
je 0x1000607c
call fcn.100072c8
mov dword [edi], eax
call fcn.10007087
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10006fbc
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006072
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10006fe4
jmp 0x1000607e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x10006c80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push str.GetLogicalProcessorInformation
xor esi, esi
push str.kernel32
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
jne 0x10006cc0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 4]
push ecx
push esi
call edi
test eax, eax
jne 0x10006d0e
call ebx
cmp eax, 0x7a
jne 0x10006d02
test esi, esi
je 0x10006ce6
push esi
call fcn.100082f3
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.1000907f
mov esi, eax
add esp, 4
test esi, esi
jne 0x10006cc7
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp ecx, 0x18
jb 0x10006d31
mov eax, 0x18
jmp 0x10006d20
cmp dword [esi + eax - 0x14], 0
jne 0x10006d2a
inc dword [ebp - 8]
add eax, 0x18
cmp eax, ecx
jbe 0x10006d20
push esi
call fcn.100082f3
mov eax, dword [ebp - 8]
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000792e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001f494]
jne 0x10007938
repz ret
jmp fcn.1000bf81
Function at 0x10015a9a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001f494]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000d23c
and dword [ebp - 0x14], 0
cmp dword [0x100212d0], 0
mov dword [ebp - 0x18], eax
jne 0x10015b4d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10015bf5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10015bf5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100212d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100212d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100212d8], eax
call edi
push eax
call esi
mov dword [0x100212e0], eax
test eax, eax
je 0x10015b4d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100212dc], eax
mov eax, dword [0x100212dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10015ba6
cmp dword [0x100212e0], ecx
je 0x10015ba6
push eax
call esi
push dword [0x100212e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10015ba6
test ebx, ebx
je 0x10015ba6
call edi
test eax, eax
je 0x10015b9d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10015b9d
test byte [ebp - 8], 1
jne 0x10015ba6
or dword [ebp + 0x10], 0x200000
jmp 0x10015bd9
mov eax, dword [0x100212d4]
cmp eax, dword [ebp - 0x18]
je 0x10015bd9
push eax
call esi
test eax, eax
je 0x10015bd9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10015bd9
mov eax, dword [0x100212d8]
cmp eax, dword [ebp - 0x18]
je 0x10015bd9
push eax
call esi
test eax, eax
je 0x10015bd9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100212d0]
call esi
test eax, eax
je 0x10015bf5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10015bf7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000792e
leave
ret
Function at 0x4bc570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x85000]
push edi
or ebp, 0xffffffff
jmp 0x4bc592
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bc599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc588
mov eax, 1
add ebx, ebx
jne 0x4bc5ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bc5bc
jne 0x4bc5db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc5db
dec eax
add ebx, ebx
jne 0x4bc5c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bc5a0
add ebx, ebx
jne 0x4bc5d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bc62d
xor ecx, ecx
sub eax, 3
jb 0x4bc5f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bc662
sar eax, 1
mov ebp, eax
jmp 0x4bc5fe
add ebx, ebx
jne 0x4bc5fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc5cc
inc ecx
add ebx, ebx
jne 0x4bc60c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc5cc
add ebx, ebx
jne 0x4bc619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bc60e
jne 0x4bc62a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bc60e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bc64c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bc63e
jmp 0x4bc58e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bc64c
add edi, ecx
jmp 0x4bc58e
pop esi
mov edi, esi
mov ecx, 0x3faf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bc66a
cmp byte [edi], 0x1b
jne 0x4bc66a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bc66f
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bc6de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd88f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd89e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bc69c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd89e8]
or eax, eax
je 0x4bc6d8
mov dword [ebx], eax
add ebx, 4
jmp 0x4bc6b9
call dword [esi + 0xd89f8]
mov ebp, dword [esi + 0xd89ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bc712
sub esp, 0xffffff80
jmp 0x47faa8
Function at 0x106ce
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0001388a
push edi
cmp dword [ebp - 8], 5
jne 0x10753
cmp dword [ebp - 4], 2
jne 0x1070f
jne 0x106f5
push esi
pop esi
push ecx
pop ecx
push edx
pop edx
je 0x106fd
jmp 0x106ff
pushfd
popfd
jne 0x10703
mov dword [0x11234], 0x193
leave
ret
cmp dword [ebp - 4], 1
jne 0x10731
push ecx
pop ecx
mov edx, edx
je 0x1071b
push ecx
pop ecx
push ecx
pop ecx
jmp 0x10721
jmp 0x10723
pushfd
popfd
mov dword [0x11234], 0x194
leave
ret
cmp dword [ebp - 4], 0
jne 0x10779
mov eax, eax
pushfd
popfd
mov eax, eax
mov edi, edi
jne 0x10741
pushfd
popfd
jne 0x10745
mov esi, esi
mov dword [0x11234], 0x189
leave
ret
cmp dword [ebp - 8], 6
jne 0x10779
cmp dword [ebp - 4], 1
jne 0x10779
mov edx, edx
mov edx, edx
push ecx
pop ecx
mov edi, edi
pushal
popal
pushfd
popfd
je 0x1076d
je 0x1076f
mov dword [0x11234], 0x1a7
leave
ret

Function at 0x15031
Capabilities:
Resolve function by parsing pe exports

Disassembly:
not eax
lahf
pushal
shld ax, bp, cl
mov dword [esp + 0x1c], ebp
test esp, ecx
rol bp, 6
test dh, 0x5e
lea ebp, [esp + 0x1c]
bswap ax
rol ah, 3
pushal
sub esp, 0xffffffdc
shld eax, esi, 0x14
shrd ax, di, cl
adc ax, 0xc150
push esi
sbb ah, ah
push edi
push ebx
clc
mov dword [esp], ebx
inc ax
stc
shr ah, cl
push edx
btc ax, ax
aaa
mov ah, ch
cmc
mov eax, dword [ebp + 8]
jmp 0x191e1
je 0x166fe
cmp bl, 1
sar si, 0xe
sbb si, ax
mov esi, dword [eax + 0x3c]
bsr dx, di
bsf edx, ebp
lea edx, [edi + 0x73da04]
rol dh, 7
add esi, eax
bswap dx
mov edx, dword [esi + 0x78]
cmp dx, bp
test edx, edx
pushfd
push 0x6c8aa0e2
lea esp, [esp + 8]
je 0x166fe
dec cl
add ch, al
btc cx, 1
call fcn.000199ef
push dword [esp + 4]
stc
cmp eax, edx
push ebp
lea esp, [esp + 0x28]
jb 0x1670b
cmc
jmp 0x19bc9
test eax, eax
jmp 0x1911b
Function at 0x4021d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42b024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x402266
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40225f
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax + eax]
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402248
test dl, dl
je 0x402244
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402248
add ecx, 2
add eax, 2
test dl, dl
jne 0x402228
xor eax, eax
jmp 0x40224d
sbb eax, eax
or eax, 1
test eax, eax
je 0x402279
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x402220
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004052b5
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004052b5
mov esp, ebp
pop ebp
ret

Function at 0x402bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d240
mov eax, dword fs:[0]
push eax
mov eax, dword [0x42b024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
push 0x4022a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x405edc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405f1b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x405f1b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405f1b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x405f1b
cmp dword [ecx + 0x74], 0xe
jbe 0x405f1b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4107f8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421360
push 0x421358
push str.FlsAlloc
push 0x1f
call fcn.00410663
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41082c
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e168]
call esi
jmp 0x410832
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x410876
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421370
push 0x421368
push str.FlsGetValue
push 0x21
call fcn.00410663
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4108ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e168]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]