joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b22d
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 0x40b24f
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 0x40b3f1
cmp edi, dword [ebp + 0x10]
jb 0x40b3f1
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.0040ad19
inc edi
jmp 0x40b2d8
jmp 0x40b2e5
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040ad19
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040ad19
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 0x40b339
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 0x40b31d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0040b367
add dword [eax], 0x39
jle 0x40b343
sub al, 0xf5
mov ch, al
call fcn.0040b37c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x40d054
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 0x40d06a
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 0x40d07b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0040d0bc
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 0x40f428
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 0x40f371
add ebx, 0
push ecx
call 0x40f386
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, 0x1005a0ae
sub ebx, dword [0x100798ed]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100798dd
call fcn.0040ae50
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040a35e
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x40f4e4
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x40f4e4
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 0x40f49b
mov eax, 1
lock xchg dword [0x100798e9], eax
push 0x3dd1fc71
call 0x40f428
push esi
add esp, 8
cmp eax, 0
jne 0x40f411
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40f437
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40f44c
cmp ecx, edx
cmp eax, 0
je 0x40f471
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 0x40f45b
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0040f48a
dec eax
loope 0x40f48d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100798e9], 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 0x40f4c1
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40f4d6
jmp 0x40f4e1
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x40f3cf

Function at 0x416549
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 0x41681f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10066561
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1005d527
push 0xffffffffffffffff
call fcn.0040d749
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 0x4165b3
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.004165cb
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 0x416813
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4167e7
Function at 0x426019
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 0x42603b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x42603b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x42603b
ret
cmp word [ebx + 4], 0x14c
jne 0x42603b
test word [ebx + 0x16], 2
je 0x42603b
test word [ebx + 0x16], 0x100
je 0x42603b
cmp word [ebx + 0x18], 0x10b
jne 0x42603b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x42603b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4260c7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x42605b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040cfa6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x42603b
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 0x4260c7
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 0x42603b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x42603b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x42603b
ret
cmp word [ebx + 4], 0x14c
jne 0x42603b
test word [ebx + 0x16], 2
je 0x42603b
test word [ebx + 0x16], 0x100
je 0x42603b
cmp word [ebx + 0x18], 0x10b
jne 0x42603b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x42603b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4260c7
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x42605b
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040cfa6
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x42603b
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 0x42617e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4261d7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x42617e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x42618d
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 0x82be30
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 0x4261de
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.0040d054
cmp eax, dword [ebp + 0xc]
pop eax
je 0x42627d
add edi, 4
add eax, 2
dec ecx
jne 0x4261c3
call 0x42622a
loope 0x426220
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x42627a
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 0x42628b
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 0x42623e
cmp eax, ecx
ja 0x42623e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4262c8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4262be
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d533
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x42618d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4261d7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x42617e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x42618d
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 0x82be30
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 0x4261de
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.0040d054
cmp eax, dword [ebp + 0xc]
pop eax
je 0x42627d
add edi, 4
add eax, 2
dec ecx
jne 0x4261c3
call 0x42622a
loope 0x426220
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x42627a
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 0x42628b
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 0x42623e
cmp eax, ecx
ja 0x42623e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4262c8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4262be
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d533
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40645d
pop dword [ebp - 0xc]
mov eax, 0x40645d
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd5f8fd13
add dword [ebp - 0x1c], 0x78594838
mov dword [ebp - 0x18], 0x6b4e0d1
sub dword [ebp - 0x18], 0xd481948c
mov dword [ebp - 0x14], 0x86c921c0
add dword [ebp - 0x14], 0xc583226e
mov dword [ebp - 0x10], 0x9a8ca2d5
add dword [ebp - 0x10], 0x65735d2b
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xc2310007
sub eax, 0xc1f07f8f
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x37e6d437
add dword [ebp - 0x1c], 0x3c8b951f
mov dword [ebp - 0x18], 0xcaa62db0
sub dword [ebp - 0x18], 0x8939cc3b
mov dword [ebp - 0x14], 0xaa4a85ab
add dword [ebp - 0x14], 0xb924e6c1
mov dword [ebp - 0x10], 0xb8700b2b
sub dword [ebp - 0x10], 0xb8700b2b
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xaca6b4ca
sub eax, 0xac66344e
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x360f3
push 0
call eax
mov ecx, 0x4e0c20f4
add ecx, 0xb1f42313
mov ebx, eax
mov esi, 0x451400
add esi, dword [ebp - 0xc]
mov edx, 0xf88cf659
sub edx, 0x5146b532
mov edi, dword [esi]
mov dword [ebp - 4], 0xf70423d
xor edi, edx
sub dword [ebp - 4], edi
mov dword [ebx], edi
sub dword [ebp - 8], esi
add ebx, 0x63a18da3
sub ebx, 0x63a18d9f
add esi, 0x6e91e007
add esi, 0x916e1ffd
loop 0x406574
add eax, 0x102ef
mov ebx, eax
add eax, 5
mov ecx, 0x135f33a1
sub ecx, 0x131f33a1
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x1020f95
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10033b0
call fcn.010211d8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1020fd2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1020fd2
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1020fea
cmp eax, 0x20b
je 0x1020fd7
mov dword [ebp - 0x1c], ebx
jmp 0x1020ffe
cmp dword [ecx + 0x84], 0xe
jbe 0x1020fd2
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1020ff8
cmp dword [ecx + 0x74], 0xe
jbe 0x1020fd2
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1028298], 0xffffffff
or dword [0x102829c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1027c08]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1027c04]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10282a0], eax
call fcn.010211d0
cmp dword [0x1024890], ebx
jne 0x1021059
push fcn.010211d0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010211b9
push 0x1023010
push 0x102300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1027c00]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1027bfc]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1023008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x10210ef
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10210c3
cmp al, 0x22
jne 0x10210b5
cmp byte [esi], 0x22
jne 0x10210cc
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10210d6
cmp al, 0x20
jbe 0x10210c8
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x10210fa
movzx eax, word [ebp - 0x50]
jmp 0x10210fd
cmp byte [esi], 0x20
jbe 0x10210cc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10210ef
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x102111a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x102114f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01021213
ret

Function at 0xfedb0c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfedb16
pushal
call 0xfedb1c
pop ebp
sub ebp, 0x10
sub ebp, 0xbedb0c
jmp 0xfedb32
mov eax, 0xbedb0c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a8
mov edx, 0x8a3e9907
xor byte [eax], dl
inc eax
dec ecx
jne 0xfedb49
jmp 0xfedb5c
mov edx, cs
mov word [esi + 0x707073b], cs
xchg dh, al
inc dword [edi]
pop es
pop es
add al, 0xca
mov edi, 0x7070703
mov ebp, 0x707072f
invalid
Function at 0x401f64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
push 0xa
push eax
push dword [0x40c090]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x401f9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push dword [0x40c090]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
ja 0x401fa6
xor eax, eax
jmp 0x402096
push edi
push dword [0x40c090]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x40
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push esi
push ebx
push edi
mov dword [ebp - 8], edi
call fcn.00402940
sub esi, 0x20
push 0x20
mov dword [ebp - 0xc], esi
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00402940
add esp, 0x18
xor eax, eax
xor ebx, ebx
movzx ecx, byte [ebp + eax - 0x2c]
add ebx, ecx
inc eax
cmp eax, 0x20
jb 0x401fee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ebx, eax
jne 0x402032
test ebx, ebx
je 0x402053
xor edx, edx
xor ecx, ecx
test esi, esi
jbe 0x402053
mov al, dl
and al, 0x23
xor al, byte [edx + edi]
or al, byte [ebp + ecx - 0x2c]
inc ecx
cmp ecx, 0x10
mov byte [edx + edi], al
jne 0x402027
xor ecx, ecx
inc edx
cmp edx, esi
jb 0x402011
test ecx, ecx
jne 0x402009
jmp 0x402053
xor edx, edx
xor ecx, ecx
test esi, esi
jbe 0x402053
mov al, byte [ebp + ecx - 0x2c]
xor al, byte [edx + edi]
xor al, dl
inc ecx
cmp ecx, 0x10
mov byte [edx + edi], al
jne 0x40204e
xor ecx, ecx
inc edx
cmp edx, esi
jb 0x40203a
mov edi, dword [edi]
mov dword [ebp + 8], edi
add edi, 0x100
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
sub eax, 4
push eax
mov eax, dword [ebp - 8]
add eax, 4
push eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00401c26
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40212f
Capabilities:
Link function at runtime on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x40909c
jmp 0x4027b4
lea esp, [esp + 4]
mov ebx, dword [ebp + 8]
rcr edi, 0xa1
push 0x40
or di, 0x34cc
jmp loc.0040d02b

Function at 0x4024d3
Capabilities:
Copy file
Create directory
Create service
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x40911c
jmp loc.0040d8c7
Function at 0x402626
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Set registry value
Terminate process

Disassembly:
lea esp, [esp + 4]
dec al
shr di, 0x3d
mov al, byte [0x409078]
mov ecx, dword [0x409068]
add di, 0x7357
xor al, byte [0x40907f]
movzx edx, dx
shl dh, cl
add dx, 0x3050
mov edx, dword [0x40906c]
xchg di, di
xor ebx, ebx
mov edi, str.AAC_Middle_Level
cmc
jmp 0x402822
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
push 0x4091a8
jmp 0x4025cd
and al, 0x2d
test bp, bx
lea ecx, [ecx + edx*2]
mov byte [0x40907f], al
test sp, sp
clc
mov dword [0x409068], ecx
sub ch, bh
ror ch, 0x23
mov ecx, dword [0x409070]
cmp ecx, eax
push ebx
movzx eax, al
test bp, sp
and ecx, 3
stc
cmp ebp, esp
mov dword [ebp - 0x20], edi
cmc
imul ecx, eax
test esp, 0x74f0562a
cmc
add dword [0x40906c], ecx
jmp loc.0040d98b
Function at 0x41cca3
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041ce53
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41cda1
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41cd44
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41cd87
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41cd5b
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41cd76
test al, 0x40
je 0x41cd6d
mov ecx, dword [edi + 0x20]
jmp 0x41cd74
test al, 0x80
je 0x41cd87
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41cd87
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41cd13
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x437093
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4370b4
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4370ab
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4370a3
mov eax, ebx
leave
ret

Function at 0x4370da
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x437139
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x437166
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x437155
xor ecx, eax
xor edx, ebx
dec edi
jne 0x437146
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x43718c
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x43712d
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8