joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018e0
Capabilities:
Compiled with py2exe
Query environment variable

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
call fcn.00401220
add esp, 4
test eax, eax
jne 0x4018f9
mov eax, 0xff
pop ebx
ret
push ebx
call fcn.004013e0
add esp, 4
test eax, eax
je 0x4018f2
mov eax, dword [0x40668c]
cmp dword [eax + 8], 0
push esi
je 0x401944
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push edi
push 0
call esi
mov edi, dword [sym.imp.MSVCR90.dll_setbuf]
push eax
call edi
add esp, 8
push 0
call esi
add eax, 0x20
push eax
call edi
add esp, 8
push 0
call esi
add eax, 0x40
push eax
call edi
add esp, 8
pop edi
mov esi, dword [sym.imp.MSVCR90.dll_getenv]
push 0x405238
call esi
add esp, 4
test eax, eax
je 0x401973
push str.PY2EXE_VERBOSE
call esi
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov ecx, dword [0x40582c]
add esp, 8
mov dword [ecx], eax
jmp 0x40197f
mov edx, dword [0x40582c]
mov dword [edx], 0
mov eax, dword [0x405844]
mov dword [eax], 1
mov ecx, dword [0x405834]
mov dword [ecx], 1
mov edx, dword [0x40668c]
mov eax, dword [edx + 4]
mov ecx, dword [0x40583c]
push 0x406140
mov dword [ecx], eax
call dword [0x4056d4]
add esp, 4
call fcn.00401660
call dword [0x405744]
test eax, eax
jne 0x4019d5
call fcn.004016f0
test eax, eax
jne 0x401a3b
call dword [0x4056ac]
jmp 0x4019de
call fcn.004017d0
test eax, eax
jne 0x401a3b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x401a0b
push 1
call dword [0x405824]
push eax
push 0x405258
call dword [0x4057c4]
add esp, 0xc
push ebx
call fcn.00401540
add esp, 4
pop esi
xor eax, eax
pop ebx
ret
push eax
call dword [0x4057d4]
mov esi, eax
add esp, 4
test esi, esi
je 0x401a30
push esi
push str.frozen
call dword [0x4057c4]
push esi
call fcn.00401c40
add esp, 0xc
push ebx
call fcn.00401540
add esp, 4
xor eax, eax
pop esi
pop ebx
ret

Function at 0x401b90
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
push edi
push eax
push ecx
call dword [0x4057ec]
push 1
call dword [0x405854]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401bf0
call dword [0x4056c4]
push eax
call dword [0x4057d4]
add esp, 4
test eax, eax
je 0x401be7
push eax
push 0
push esi
call dword [0x40585c]
add esp, 0xc
test eax, eax
jne 0x401be7
push esi
push 0x405288
call dword [0x4057c4]
add esp, 8
push esi
call fcn.00401c40
add esp, 4
call fcn.00401aa0
push 0x405268
mov edi, eax
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
je 0x401c35
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x405278
call esi
push eax
call dword [0x4057dc]
add esp, 8
test eax, eax
je 0x401c35
push 0x405280
call esi
push eax
call dword [0x4057e4]
add esp, 8
call dword [0x4056bc]
mov eax, edi
pop edi
pop esi
ret
Function at 0xd2916b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x420], 4
mov dword [ebp - 0x41c], 0
je 0xd29170f
lea ebx, [esi + 0x110]
push ebx
push 0x20019
push 0
push edi
push Ordinal_3
mov dword [ebp - 0x418], ebx
call fcn.0d2a7e10
test eax, eax
je 0xd29179a
lea eax, [esi + 0x110]
push eax
push 0x20019
push 0
push edi
push Ordinal_3
mov dword [ebp - 0x418], eax
call fcn.0d2a7e10
test eax, eax
je 0xd291794
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xb3b0
call fcn.0d29fa20
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push 0x104
push edx
call sub.msvcrt.dll_swprintf_s
mov edx, dword [esi + 0x7c]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x6c]
push ecx
push edx
push 0x3f
call fcn.0d288e10
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp - 0x418]
mov edx, dword [ebx]
lea eax, [ebp - 0x420]
push eax
lea edi, [esi + 0xa8]
push edi
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0xd273510
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0xd2917d2
mov dword [ebp - 0x41c], 0xffffffff
jmp 0xd29187d
cmp dword [ebp - 0x424], 1
jne 0xd29182c
mov ecx, esi
call fcn.0d2c3ef2
test ax, ax
je 0xd291815
mov ecx, esi
call fcn.0d291300
cmp ax, 1
je 0xd291815
mov edi, 1
mov ebx, 0xd27175c
call fcn.0d2905d0
mov ebx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], 0xffffffff
jmp 0xd29187d
cmp byte [edi], 0x19
jne 0xd29187d
mov ecx, esi
call fcn.0d290ed0
movzx eax, ax
mov dword [ebp - 0x41c], eax
jmp 0xd29187d
movzx cx, byte [edi]
movzx edx, cx
push edx
push esi
call fcn.0d287b20
cmp byte [edi], 0x19
jne 0xd29187d
mov ecx, dword [ebx]
lea eax, [ebp - 0x418]
push eax
push 0x20019
push 0
push 0xd2734f8
push ecx
call fcn.0d2a7e10
test eax, eax
je 0xd291870
mov ecx, esi
call fcn.0d290ed0
movzx edx, ax
mov dword [ebp - 0x41c], edx
jmp 0xd29187d
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
test eax, eax
je 0xd291890
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx], 0
mov eax, dword [esi + 0x10c]
test eax, eax
je 0xd2918ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x10c], 0
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 0x41c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 0xc
Function at 0xd2a7d20
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, ebx
je 0xd2a7d3f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
jmp 0xd2a7d41
xor eax, eax
mov ecx, dword [ebp + 0x18]
and ecx, 4
cmp dword [ebp + 0x14], 0
jne 0xd2a7d53
lea edx, [ebp - 4]
mov dword [ebp + 0x14], edx
test ebx, ebx
je 0xd2a7dee
test eax, eax
je 0xd2a7dee
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0xd2a7d6d
mov eax, esi
push edi
mov edi, eax
test ecx, ecx
je 0xd2a7da6
lea esi, [eax + eax]
lea eax, [esi + 1]
push 1
push eax
call dword [sym.imp.msvcrt.dll_calloc]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xd2a7db4
push 0xd273d38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, esi
jl 0xd2a7dac
mov edi, esi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0xd2a7dd5
mov ecx, dword [ecx]
push 0
push 0
push esi
push ecx
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
jg 0xd2a7de0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], esi
jg 0xd2a7de0
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0xd2be42c
Capabilities:
Encode data using xor

Disassembly:
call 0xd2be3a5
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0xd2be3d5
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0xd2be3f1
xor edx, 0
jmp 0xd2be3fc
xor edx, edx
jmp 0xd2be413
jmp 0xd2be41f
xor eax, eax
push 0x8427d7c0
call 0xd2be42c
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0xd2be468
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0xd2be441
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0xd2be47f
add eax, 0
jno 0xd2be484
add esi, 0
ret 0x10
Function at 0xd2bf1ed
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0xd2bf20f
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0xd2bf3b1
cmp edi, dword [ebp + 0x10]
jb 0xd2bf3b1
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.0d2becd9
inc edi
jmp 0xd2bf298
jmp 0xd2bf2a5
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0d2becd9
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0d2becd9
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0xd2bf2f9
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0xd2bf2dd
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0d2bf327
add dword [eax], 0x39
jle 0xd2bf303
sub al, 0xf5
mov ch, al
call fcn.0d2bf33c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0xd2c1014
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0xd2c102a
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0xd2c103b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0d2c107c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0xd2c33e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0xd2c3331
add ebx, 0
push ecx
call 0xd2c3346
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71e573f1
sub ebx, dword [0x71e76c30]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71e76c20
call fcn.0d2bee10
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0d2be31e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0xd2c34a4
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0xd2c34a4
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0xd2c345b
mov eax, 1
lock xchg dword [0x71e76c2c], eax
push 0x3dd1fc71
call 0xd2c33e8
push esi
add esp, 8
cmp eax, 0
jne 0xd2c33d1
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0xd2c33f7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0xd2c340c
cmp ecx, edx
cmp eax, 0
je 0xd2c3431
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0xd2c341b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0d2c344a
dec eax
loope 0xd2c344d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71e76c2c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0xd2c3481
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0xd2c3496
jmp 0xd2c34a1
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0xd2c338f

Function at 0xd2ca509
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0xd2ca7df
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71e638a4
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71e5a86a
push 0xffffffffffffffff
call fcn.0d2c1709
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0xd2ca573
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0d2ca58b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0xd2ca7d3
xor eax, 0
ret 4
xor ecx, ecx
jmp 0xd2ca7a7
Function at 0xd2d9fd9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xd2d9ffb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xd2d9ffb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xd2d9ffb
ret
cmp word [ebx + 4], 0x14c
jne 0xd2d9ffb
test word [ebx + 0x16], 2
je 0xd2d9ffb
test word [ebx + 0x16], 0x100
je 0xd2d9ffb
cmp word [ebx + 0x18], 0x10b
jne 0xd2d9ffb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xd2d9ffb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xd2da087
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xd2da01b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0d2c0f66
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xd2d9ffb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0xd2da087
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0xd2d9ffb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xd2d9ffb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xd2d9ffb
ret
cmp word [ebx + 4], 0x14c
jne 0xd2d9ffb
test word [ebx + 0x16], 2
je 0xd2d9ffb
test word [ebx + 0x16], 0x100
je 0xd2d9ffb
cmp word [ebx + 0x18], 0x10b
jne 0xd2d9ffb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xd2d9ffb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xd2da087
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xd2da01b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0d2c0f66
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xd2d9ffb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0xd2da13e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xd2da197
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xd2da13e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xd2da14d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0xd6dfdf0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0xd2da19e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0d2c1014
cmp eax, dword [ebp + 0xc]
pop eax
je 0xd2da23d
add edi, 4
add eax, 2
dec ecx
jne 0xd2da183
call 0xd2da1ea
loope 0xd2da1e0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xd2da23a
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0xd2da24b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0xd2da1fe
cmp eax, ecx
ja 0xd2da1fe
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xd2da288
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xd2da27e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0d2c14f3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0xd2da14d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xd2da197
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xd2da13e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xd2da14d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0xd6dfdf0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0xd2da19e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0d2c1014
cmp eax, dword [ebp + 0xc]
pop eax
je 0xd2da23d
add edi, 4
add eax, 2
dec ecx
jne 0xd2da183
call 0xd2da1ea
loope 0xd2da1e0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xd2da23a
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0xd2da24b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0xd2da1fe
cmp eax, ecx
ja 0xd2da1fe
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xd2da288
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xd2da27e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0d2c14f3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401fd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402001
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402001
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x402001
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4016c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4016e6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40177a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401735
cmp eax, 0x40
je 0x401735
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4016d9
cmp eax, 0x40
je 0x4016d9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x4016d9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100124e5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10012518
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10012516
push 0xd68
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1001252f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x1001ac87
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001aca8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and dword [eax], 0
jmp 0x1001acb5
push 0xd68
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x1002947a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10029498
push 0
push 0x1105
push 0x78
call dword [sym.imp.GDI32.dll_CreatePen]
jmp 0x100294bb
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100294bb
push 0xd68
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret