joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9884
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
cmp dword [ebx + 0x30], 0
push esi
mov esi, ecx
jne 0x4a99ce
mov eax, esi
call fcn.0049da24
cmp dword [ebx + 0x28], 0
je 0x4a99ce
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
push edi
mov edi, esi
mov dword [ebp - 4], eax
mov dword [ebx + 0x30], eax
call fcn.004a985b
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4a99cd
mov edx, dword [ebx + 0x28]
lea eax, [ebp - 8]
push eax
push edx
call fcn.0049d7a3
pop ecx
pop ecx
test eax, eax
je 0x4a991c
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 8]
push 7
pop eax
call fcn.004a332b
cmp dword [ebp - 8], 0
pop ecx
pop ecx
jne 0x4a990a
push dword [ebp + 8]
xor eax, eax
push 0
inc eax
mov ecx, edi
call fcn.004a332b
pop ecx
pop ecx
jmp 0x4a9948
fild dword [ebp - 8]
fcom qword [ebx + 0x48]
fnstsw ax
test ah, 5
jp 0x4a9946
fstp qword [ebx + 0x48]
jmp 0x4a9948
mov edi, dword [ebp - 4]
mov eax, edx
call fcn.004a4751
mov ecx, dword [ebp - 0xc]
push edi
push 0x15
pop eax
call fcn.004a331a
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
push edi
push 0x73
pop eax
call fcn.004a332b
add esp, 0xc
jmp 0x4a9948
fstp st(0)
cmp dword [ebx + 0x2c], 0
je 0x4a99cd
inc dword [esi + 0x48]
mov edi, dword [esi + 0x48]
mov dword [ebx + 0x34], edi
inc dword [esi + 0x48]
mov eax, dword [ebx + 0x2c]
call fcn.004a4751
mov esi, dword [ebp - 0xc]
push edi
push 0x15
pop eax
mov ecx, esi
call fcn.004a331a
push edi
push 0x71
pop eax
mov ecx, esi
call fcn.004a331a
push edi
push 0
mov ebx, eax
push 7
pop eax
mov ecx, esi
call fcn.004a332b
mov eax, ebx
mov ecx, esi
call fcn.0049cada
lea ebx, [edi + 1]
push ebx
push edi
push dword [ebp - 4]
mov ecx, esi
push 0x56
pop eax
call fcn.004a3296
push dword [ebp - 4]
mov ecx, esi
push 0x71
pop eax
call fcn.004a331a
push ebx
push 0xffffffffffffffff
mov edi, eax
push 7
pop eax
mov ecx, esi
call fcn.004a332b
add esp, 0x28
mov eax, edi
mov ecx, esi
call fcn.0049cada
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4aa7f4
Capabilities:
Get system information on windows

Disassembly:
push 0xa
call sym.hao123Juzi.exe_sqlite3_malloc
pop ecx
test eax, eax
jne 0x4aa804
push 7
pop eax
ret
push eax
call sym.hao123Juzi.exe_sqlite3_free
pop ecx
jmp sym.hao123Juzi.exe_sqlite3_os_init

Function at 0x4abd96
Capabilities:
Terminate process

Disassembly:
call fcn.004a985b
mov ecx, eax
test ecx, ecx
je 0x4abda9
push 0x64
pop eax
jmp fcn.004a331a
ret

Function at 0x4ace4a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ebx, dword [esi + 0xc]
push edi
mov edi, dword [esi + 0x1a0]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x4acf9b
jmp 0x4ace70
mov esi, eax
mov edx, dword [edi + 8]
mov eax, dword [ebp - 0x10]
shl edx, 4
add edx, dword [eax + 8]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.0049daa9
push 0x27
push dword [edi + 8]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0xc]
push 0
push esi
mov esi, dword [eax + 0x48]
call fcn.004acc46
mov eax, dword [ebp - 0xc]
inc eax
push eax
mov dword [ebp - 8], eax
push 0x4a
pop eax
mov ecx, ebx
call fcn.004a331a
push 0x41
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call fcn.004a3308
push dword [ebp - 4]
xor esi, esi
push esi
push esi
mov dword [ebp - 0x18], eax
push 0x1c
pop eax
mov ecx, ebx
call fcn.004a3296
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
dec eax
push esi
push eax
mov dword [ebp - 0x20], eax
push 0x4c
pop eax
mov ecx, ebx
call fcn.004a3296
push dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push esi
push 0x43
pop eax
mov ecx, ebx
call fcn.004a332b
mov eax, dword [ebp - 0x18]
mov ecx, ebx
call fcn.0049cada
push dword [ebp - 8]
mov ecx, ebx
push esi
push 0x36
pop eax
call fcn.004a332b
add esp, 0x40
push 1
mov ecx, ebx
call fcn.004a3308
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0049cada
push dword [ebp - 8]
mov ecx, ebx
push esi
push 0x3d
pop eax
call fcn.004a332b
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.0049cada
mov eax, dword [ebp - 0x18]
mov ecx, ebx
call fcn.0049cada
push dword [ebp - 4]
mov ecx, ebx
push 2
push dword [ebp - 0x20]
push 0x1e
pop eax
call fcn.004a3296
push dword [ebp - 8]
mov ecx, ebx
push dword [ebp - 4]
push esi
push 0x37
pop eax
call fcn.004a3296
mov dl, 8
mov ecx, ebx
call fcn.0049cac8
push 0x2b
mov ecx, ebx
call fcn.004a3308
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add esp, 0x28
call fcn.0049dac4
mov edi, dword [edi]
cmp edi, esi
jne 0x4ace6e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4afc17
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [edi]
push 0x24
mov dword [ebp - 4], eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004dbcc0
mov eax, dword [ebp + 0x14]
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
call fcn.004afbd0
test eax, eax
jne 0x4afd26
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x2c]
call fcn.004afbd0
test eax, eax
jne 0x4afd26
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.004afbd0
test eax, eax
jne 0x4afd26
cmp esi, ebx
je 0x4afc9f
cmp byte [esi], 0x5e
jne 0x4afc85
mov eax, dword [esi + 4]
jmp 0x4afc87
xor eax, eax
push ebx
push ebx
push eax
push dword [ebp + 0xc]
mov eax, edi
call fcn.004a4ea7
add esp, 0x10
test eax, eax
jne 0x4afd29
call fcn.004a985b
push 4
pop esi
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0049daf8
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov edi, ebx
mov esi, ecx
call fcn.004a4751
mov eax, dword [ebp + 0x18]
lea edi, [ebx + 1]
call fcn.004a4751
mov eax, dword [ebp + 0x1c]
lea edi, [ebx + 2]
call fcn.004a4751
mov edi, dword [ebp - 8]
test edi, edi
je 0x4afd29
mov esi, dword [ebp + 0x10]
lea eax, [ebx + 3]
push eax
movsx eax, word [esi]
sub ebx, eax
add ebx, 3
push ebx
push 0
push 0x12
pop eax
mov ecx, edi
call fcn.004a3296
mov dl, byte [esi]
mov ecx, edi
call fcn.0049cac8
push 0xfffffffffffffffb
push esi
push edi
or eax, 0xffffffff
call fcn.004a3574
xor eax, eax
cmp dword [ebp + 0xc], 0x18
mov ecx, edi
sete al
push eax
push 0x7a
pop eax
call fcn.004a331a
add esp, 0x1c
jmp 0x4afd29
inc dword [edi + 0x40]
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.004a4396
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.004a4396
push dword [ebp + 0x1c]
push dword [ebp - 4]
call fcn.004a4396
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b1b89
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x1c], 0
jne 0x4b1c02
mov ecx, dword [edi + 0xc]
push esi
mov esi, eax
imul esi, esi, 0x18
lea eax, [ebp - 4]
push eax
add ecx, esi
movzx eax, byte [ecx + 0x16]
push eax
mov eax, ebx
call fcn.00499fdf
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push eax
push dword [ecx + 4]
mov eax, ebx
call fcn.00499fdf
push eax
call fcn.004ae35a
add esp, 0x14
cmp dword [ebp - 4], 0
je 0x4b1be3
push 0xfffffffffffffff8
push dword [ebp - 4]
or eax, 0xffffffff
push ebx
call fcn.004a3574
add esp, 0xc
cmp dword [ebp + 8], 0
jl 0x4b1c01
mov eax, dword [edi + 0xc]
cmp byte [esi + eax + 0x16], 0x65
jne 0x4b1c01
push dword [ebp + 8]
mov ecx, ebx
push 0x16
pop eax
call fcn.004a331a
pop ecx
pop esi
leave
ret
Function at 0x4b4913
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 4], eax
inc eax
mov dword [ebp - 8], eax
inc eax
mov dword [edi + 0x44], eax
mov esi, dword [ebx + 0x24]
call fcn.0049e7d7
mov esi, eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov ecx, esi
shl ecx, 4
push dword [ecx + eax]
mov eax, edi
push 0
push dword [ebx]
push 0x1b
call fcn.004a4ea7
add esp, 0x10
test eax, eax
jne 0x4b4aae
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ebx, dword [eax + 0x14]
push 1
push esi
mov eax, edi
call fcn.004a4f1e
add esp, 0xc
call fcn.004a985b
mov ebx, eax
test ebx, ebx
je 0x4b4aae
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x4b4996
mov dword [ebp - 0xc], eax
jmp 0x4b49ad
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push esi
push eax
mov dword [ebp - 0xc], eax
push 0x60
pop eax
mov ecx, ebx
call fcn.004a332b
pop ecx
pop ecx
push dword [ebp + 8]
push edi
call fcn.004aff9a
push 0xfffffffffffffff0
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
push 0x27
pop eax
call fcn.004a7b0b
add esp, 0x20
cmp dword [ebp + 0xc], 0
jl 0x4b49db
mov dl, 1
mov ecx, ebx
call fcn.0049cac8
push 0x26
push esi
push dword [ebp - 4]
mov esi, dword [ebp - 0x10]
push edi
call fcn.004acc46
push 0
push dword [ebp - 4]
mov ecx, ebx
push 0x41
pop eax
call fcn.004a332b
mov dword [ebp - 0xc], eax
mov eax, edi
call fcn.0049daa9
mov esi, dword [ebp + 8]
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push esi
push edi
call fcn.004b3997
add esp, 0x2c
cmp byte [esi + 0x18], 0
je 0x4b4a51
mov ecx, dword [esi + 4]
push 0xfffffffffffffff2
push eax
add ecx, eax
push ecx
mov eax, ebx
call fcn.0049ca71
inc eax
inc eax
push eax
push dword [ebp - 8]
push ebx
push 0x33
pop eax
call fcn.004a7b0b
push 0xfffffffffffffffe
push 0x502eb0
push 2
mov eax, edi
call fcn.004ac2ab
add esp, 0x24
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 8]
push 0x46
pop eax
call fcn.004a332b
mov dl, 0x10
mov ecx, ebx
call fcn.0049cac8
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.0049dac4
mov esi, dword [ebp - 0xc]
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
mov ecx, ebx
push 0x43
pop eax
call fcn.004a332b
mov eax, esi
mov ecx, ebx
call fcn.0049cada
push dword [ebp - 4]
mov ecx, ebx
push 0x2b
pop eax
call fcn.004a331a
push dword [ebp - 8]
mov ecx, ebx
push 0x2b
pop eax
call fcn.004a331a
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b9e4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [edi + 0x3c]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
jne 0x4b9e78
push eax
mov eax, dword [edi + 0x78]
mov ecx, edi
call fcn.0049b236
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x4b9f40
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x4b9eac
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.004dc560
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x3c]
push 5
mov dword [ebp - 0xc], edx
call fcn.00497ed9
mov eax, dword [edi + 0x18]
pop ecx
pop ecx
mov dword [edi + 0x24], eax
test esi, esi
je 0x4b9f40
mov ebx, dword [esi + 0xc]
cmp ebx, dword [edi + 0x18]
ja 0x4b9f33
test byte [esi + 0x14], 0x20
jne 0x4b9f33
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.004dc560
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp ebx, 1
jne 0x4b9ee6
call fcn.0049b1a1
push dword [ebp - 0xc]
mov eax, dword [esi]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [edi + 0x80]
push eax
mov eax, dword [edi + 0x3c]
call fcn.00497e6c
add esp, 0x10
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x4b9f20
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.004dbd40
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x4b9f28
mov dword [edi + 0x20], ebx
push dword [esi]
mov eax, dword [edi + 0x58]
call fcn.004b95b7
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 8]
je 0x4b9eac
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x4c0460
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, edi
call fcn.004c01b8
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
call fcn.004a4133
mov byte [ebp - 1], al
mov eax, edi
call fcn.0049d9de
call fcn.0049daa9
mov edi, eax
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], edi
call fcn.004a4751
mov esi, dword [ebp + 0x10]
xor edi, edi
inc edi
mov ecx, ebx
cmp dword [ebp + 0x14], esi
jne 0x4c04cf
push dword [ebp + 0x14]
push dword [ebp - 8]
push 0x49
pop eax
call fcn.004a332b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
jmp 0x4c0509
push dword [ebp - 8]
push 0x4a
pop eax
call fcn.004a331a
push esi
mov esi, dword [ebp + 0xc]
push dword [esi + 0x18]
mov dword [ebp - 0x10], eax
push 0x41
pop eax
mov ecx, ebx
call fcn.004a332b
push dword [ebp + 0x14]
mov eax, edi
push 0
mov ecx, ebx
call fcn.004a332b
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov ecx, ebx
call fcn.0049cada
cmp dword [ebp - 0x14], edi
jne 0x4c0536
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 8]
push 0x15
pop eax
call fcn.004a332b
push dword [ebp - 8]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [esi + 0x18]
push 0x34
pop eax
call fcn.004a3296
jmp 0x4c060e
push edi
lea eax, [ebp - 1]
push eax
push 0
push edi
push dword [ebp - 8]
push ebx
push 0x1d
pop eax
call fcn.004a7b0b
add esp, 0x18
cmp dword [ebp - 0xc], 0
je 0x4c05fb
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
je 0x4c05fb
push edi
push dword [ebp - 8]
push 0
push dword [esi + 0x18]
push ebx
push 0x32
pop eax
call fcn.004a7b38
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x4a
pop eax
mov ecx, ebx
call fcn.004a331a
push edi
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push 0
push dword [esi + 0x18]
push ebx
push 0x32
pop eax
call fcn.004a7b38
push dword [ebp - 0xc]
mov esi, eax
push 0xffffffffffffffff
push 7
pop eax
mov ecx, ebx
call fcn.004a332b
mov eax, esi
mov ecx, ebx
call fcn.0049cada
push edi
push dword [ebp - 0xc]
mov ecx, ebx
push 0x14
pop eax
call fcn.004a332b
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0049cada
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp - 0xc]
push 0x1a
pop eax
call fcn.004a332b
add esp, 0x44
push dword [ebp + 0x10]
mov eax, edi
push 0
mov ecx, ebx
call fcn.004a332b
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, ebx
call fcn.0049cada
jmp 0x4c0611
push edi
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [esi + 0x18]
push ebx
push 0x31
pop eax
call fcn.004a7b38
add esp, 0x14
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.0049dac4
mov ecx, edi
call fcn.0049d9e2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c3108
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov dl, byte [edi]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
cmp dl, 0x4c
jne 0x4c313b
push dword [ebp + 0x10]
push dword [edi + 0xc]
push eax
call fcn.004c1de9
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4c31f7
cmp dl, 0x49
jne 0x4c3158
mov eax, dword [ebp + 0x10]
push eax
push 0
mov dword [ebp - 8], eax
push 0xa
pop eax
call fcn.004a332b
pop ecx
pop ecx
jmp 0x4c31f7
mov ecx, dword [ebp + 0x10]
push ebx
push 0
push edi
mov dword [ebp - 8], ecx
call fcn.004c01b8
mov ebx, dword [edi + 0x18]
mov ecx, dword [ebp - 4]
xor edi, edi
push edi
push ebx
mov dword [ebp - 0xc], eax
push 0x41
pop eax
call fcn.004a332b
add esp, 0x10
cmp dword [esi + 0x40], edi
jne 0x4c318f
mov eax, dword [ebp - 4]
call fcn.004a333e
mov dword [esi + 0x28], eax
inc dword [esi + 0x40]
mov eax, dword [esi + 0x40]
mov edx, eax
mov eax, dword [ebp + 8]
push dword [eax]
mov eax, dword [esi + 0x44]
shl edx, 3
call fcn.004a0d4c
pop ecx
mov dword [esi + 0x44], eax
cmp eax, edi
je 0x4c31f3
cmp dword [ebp - 0xc], 1
mov ecx, dword [esi + 0x40]
push dword [ebp + 0x10]
lea edi, [eax + ecx*8 - 8]
mov ecx, dword [ebp - 4]
mov dword [edi], ebx
jne 0x4c31d1
push ebx
push 0x3d
pop eax
call fcn.004a332b
pop ecx
pop ecx
jmp 0x4c31df
push 0
push ebx
push 0x1c
pop eax
call fcn.004a3296
add esp, 0xc
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
push 0x49
pop eax
call fcn.004a331a
pop ecx
jmp 0x4c31f6
mov dword [esi + 0x40], edi
pop ebx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0049f1ce
mov eax, dword [ebp - 8]
pop ecx
pop edi
leave
ret
Function at 0x4d5630
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x545ce0], 0
push esi
jne 0x4d55a3
call fcn.004d54c9
test eax, eax
je 0x4d55e6
mov eax, dword [0x545ce0]
cmp eax, 1
jne 0x4d55c4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4d55e6
pop esi
ret
push eax
call dword [0x545ce8]
test eax, eax
jne 0x4d562e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4d55ea
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x545ce0]
call dword [0x545ce8]
mov edi, eax
test edi, edi
je 0x4d560f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4d562b
mov edi, esi
add esi, 0xff0
push edi
push dword [0x545ce0]
call dword [0x545ce4]
add edi, 0x10
cmp edi, esi
jb 0x4d5617
mov eax, edi
pop edi
pop esi
ret
jmp 0x4d5590

Function at 0x4d5a7d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x52ec00]
jne 0x4d5a87
repz ret
jmp fcn.004e0115

Function at 0x4ede8f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004e1784
and dword [ebp - 4], 0
cmp dword [0x546850], 0
mov ebx, eax
jne 0x4edf40
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4edff1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4edff1
push eax
call fcn.004e1712
mov dword [esp], 0x5072e0
push edi
mov dword [0x546850], eax
call esi
push eax
call fcn.004e1712
mov dword [esp], 0x5072cc
push edi
mov dword [0x546854], eax
call esi
push eax
call fcn.004e1712
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x546858], eax
call esi
push eax
call fcn.004e1712
pop ecx
mov dword [0x546860], eax
test eax, eax
je 0x4edf40
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004e1712
pop ecx
mov dword [0x54685c], eax
mov eax, dword [0x54685c]
cmp eax, ebx
je 0x4edf98
cmp dword [0x546860], ebx
je 0x4edf98
push eax
call fcn.004e178d
push dword [0x546860]
mov esi, eax
call fcn.004e178d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4edf98
test edi, edi
je 0x4edf98
call esi
test eax, eax
je 0x4edf8f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4edf8f
test byte [ebp - 0xc], 1
jne 0x4edf98
or dword [ebp + 0x10], 0x200000
jmp 0x4edfd1
mov eax, dword [0x546854]
cmp eax, ebx
je 0x4edfd1
push eax
call fcn.004e178d
pop ecx
test eax, eax
je 0x4edfd1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4edfd1
mov eax, dword [0x546858]
cmp eax, ebx
je 0x4edfd1
push eax
call fcn.004e178d
pop ecx
test eax, eax
je 0x4edfd1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x546850]
call fcn.004e178d
pop ecx
test eax, eax
je 0x4edff1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4edff3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4df730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b000]
push edi
jmp 0x4df74a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4df751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df740
mov eax, 1
add ebx, ebx
jne 0x4df763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4df774
jne 0x4df793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df793
dec eax
add ebx, ebx
jne 0x4df780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4df758
add ebx, ebx
jne 0x4df78f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4df7e5
xor ecx, ecx
sub eax, 3
jb 0x4df7ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4df81a
sar eax, 1
mov ebp, eax
jmp 0x4df7b6
add ebx, ebx
jne 0x4df7b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df784
inc ecx
add ebx, ebx
jne 0x4df7c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df784
add ebx, ebx
jne 0x4df7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4df7c6
jne 0x4df7e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4df7c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4df804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4df7f6
jmp 0x4df746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4df804
add edi, ecx
jmp 0x4df746
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4df822
cmp byte [edi], 0x11
jne 0x4df822
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 0x4df827
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4df89f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe8830]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe89ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4df854
mov ecx, edi
jns 0x4df883
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 + 0xe89b0]
or eax, eax
je 0x4df899
mov dword [ebx], eax
add ebx, 4
jmp 0x4df871
call dword [esi + 0xe89c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4df8d0
cmp al, 0xef
ja 0x4df8c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4df8a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4df8b2
mov ebp, dword [esi + 0xe89b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4df904
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x40f210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x425018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40f2f4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x40f2f4
push 0xffffffffffffffff
push 0x41ef7c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncat_s]
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f2f4
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f2a0
sub eax, edx
sar eax, 1
push edi
lea edi, [eax + 1]
lea edx, [edi + edi]
push edx
call fcn.00401700
mov esi, eax
add esp, 4
test esi, esi
je 0x40f305
lea eax, [ebp - 0x20c]
push eax
push edi
push esi
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
test eax, eax
mov eax, esi
je 0x40f307
call fcn.00401770
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419b16
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419b16
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00419b16
mov esp, ebp
pop ebp
ret