joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101482c7
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1015a114]
add eax, 0xffffda07
mov dword [0x1015a114], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10148319
jmp 0x1014830f
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x101483bc
jmp 0x101483d0
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov dword [0x1015a114], 0xbdc
mov dword [esp + 0x18], eax
call fcn.10149570
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x10148444
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.101484f6
lea ecx, [0x10149812]
mov dword [0x1015a118], 0xb1d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], 0x127800
mov edx, dword [0x1015a100]
mov dword [esp + 0x44], edx
mov edx, dword [0x1015a104]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1015a108]
mov dword [esp + 0x88], edx
mov edx, dword [0x1015a10c]
mov dword [esp + 0x64], edx
mov dword [0x1015a114], 0x135a
mov edx, dword [0x1015a110]
mov dword [esp + 0x84], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x101482f7
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101483e7
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x101482f7
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x7c], esi
mov dword [0x1015a114], 0x111c
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101487ac
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1015a114]
add ecx, 0xfffff0fe
mov dword [0x1015a114], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x1014830f
Function at 0x101484f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1015a114], 0x483
mov dword [0x1015a118], 0xa86
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
add esi, 1
mov edi, eax
shl edi, 8
mov ebx, edx
add ebx, edi
add ebx, 0xd0
shl eax, 8
add edx, eax
add edx, 0xf8
mov eax, dword [edx]
movzx edx, word [ebx]
xor edx, eax
add edx, ecx
cmp esi, 0xd1
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], esi
jne 0x1014852f
lea eax, [0x1014a6e9]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x1015a118], 0x18c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.10148ec5
mov dword [0x1015a114], 0x2e3
mov dword [0x1015a118], 0x2085
call fcn.10148a63
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.10148cae
mov ecx, eax
mov dword [0x1015a134], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
adc byte [ecx], dh
leave

Function at 0x101487ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1014a6e9]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1015a114], 0x90d
mov dword [0x1015a118], 0xb59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10148ec5
mov eax, dword [0x1015a114]
add eax, 0x1da2
mov dword [0x1015a118], eax
call fcn.10148a63
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10148cae
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x101488fb
jmp 0x1014884e
mov eax, dword [ebp - 0x44]
add eax, 0x1a01
mov dword [0x1015a118], 0x1479
mov dword [ebp - 0x40], eax
jmp 0x101488fb
mov eax, dword [ebp - 0x3c]
mov dword [0x1015a118], 0xc01
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1015a114], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10148b03
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x1015a118], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x28], ecx
mov ecx, dword [0x1015a118]
add ecx, 0xffffeed3
mov dword [0x1015a118], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x14], ecx
mov dword [0x1015a114], 0x147
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x10148834
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x10149027
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1015a11c], 0
mov dword [0x1015a120], 0
mov dword [0x1015a12c], 0
mov ebx, dword [0x1015a114]
add ebx, 0x5f1
mov dword [0x1015a114], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x101491a6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0x214e
mov dword [0x1015a114], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1015a11c], edx
mov dword [0x1015a118], 0xe94
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1015a120], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1015a124], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1015a114], 0x20fe
mov cl, byte [0x1015a124]
mov edx, dword [0x1015a120]
mov byte [edi + edx], cl
mov edx, dword [0x1015a11c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1015a120]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1015a12c], ebx
mov dword [0x1015a114], 0x211
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x1015a131], ch
mov byte [0x1015a132], cl
mov dword [0x1015a114], 0x1106
xor ch, cl
mov byte [0x1015a130], ch
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101491a6
mov eax, dword [0x1015a114]
mov ecx, dword [0x1015a11c]
mov edx, dword [0x1015a120]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10149095
mov eax, dword [0x1015a118]
add eax, 0x221
mov dword [0x1015a118], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10149264
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1015a120], 0
mov byte [0x1015a124], 0
mov dword [0x1015a114], 0x9b7
mov dword [0x1015a11c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101492bc
xor eax, eax
mov dword [0x1015a11c], 0
mov dword [ebp - 0x20], eax
jmp 0x101492ee
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1015a114], 0x1a34
mov eax, dword [0x1015a11c]
add eax, 1
mov dword [0x1015a11c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101492bc
jmp 0x101492ab
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1015a128], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1015a118], 0xa70
mov edi, dword [0x1015a120]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1015a128], esi
mov dword [0x1015a114], 0x2605
mov eax, esi
cdq
idiv ecx
mov dword [0x1015a120], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1015a124], cl
mov dword [0x1015a118], 0x1d7f
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x1015a114], 0x14bd
mov cl, byte [0x1015a124]
mov esi, dword [0x1015a120]
mov byte [ebx + esi], cl
mov esi, dword [0x1015a11c]
add esi, 1
mov dword [0x1015a11c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101492ee
mov dword [0x1015a114], 0x20f6
mov dword [0x1015a118], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101493bf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [0x1015a114]
add ecx, 0x89f
mov dword [0x1015a114], ecx
mov dword [0x1015a118], 0x1fa4
mov dword [ebp - 0x10], eax
call fcn.10148182
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10149417
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1015a114], 0xfffff354
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1015a118], 0x1e93
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10149565
jmp 0x101494c3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x1015a114], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], esi
jmp 0x101494dd
mov al, byte [ebp - 0x55]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x5c]
add edx, 1
mov ah, byte [ebp - 0x5d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x54], edx
jne 0x101494dd
mov al, byte [ebp - 0x5d]
test al, 1
jne 0x10149538
jmp 0x10149508
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
add edx, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
jmp 0x10149463
mov eax, dword [ebp - 0x54]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x5d], cl
je 0x101494ba
jmp 0x10149491
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x10149463
jmp 0x10149565
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1015a114], 0x5ea
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1015a118], 0x19e
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10149570
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x34
mov eax, dword [0x1015a114]
add eax, 0xfffff2a7
mov dword [0x1015a114], eax
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov dword [0x1015a118], 0x1944
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1015a114], 0x2173
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x101495ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1014965b
jmp 0x10149703
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x6c
je 0x101496aa
jmp 0x10149703
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1014962c
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
jl 0x101495ff
mov eax, dword [ebp - 0x28]
mov dword [0x1015a118], 0x1341
mov dword [0x1015a114], 0x356f
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101495c1
jmp 0x10149703
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x61
jne 0x10149703
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10149703
mov dword [0x1015a114], 0x8c1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101495d9
jmp 0x10149703
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, 0xb8a
mov ecx, 0x23bc
mov edx, dword [ebp - 0x30]
mov si, word [edx]
cmp si, 0x6c
sete bl
cmp si, 0x6c
mov byte [ebp - 0x31], bl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
je 0x101496eb
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x1015a114], eax
mov cl, byte [ebp - 0x31]
and cl, 1
movzx eax, cl
add esp, 0x34
pop esi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x34
pop esi
pop ebx
pop ebp
ret
Function at 0x16e76b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x103a000]
push edi
or ebp, 0xffffffff
jmp 0x16e76d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16e76d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16e76c8
mov eax, 1
add ebx, ebx
jne 0x16e76eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16e76fc
jne 0x16e771b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16e771b
dec eax
add ebx, ebx
jne 0x16e7708
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16e76e0
add ebx, ebx
jne 0x16e7717
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16e776d
xor ecx, ecx
sub eax, 3
jb 0x16e7733
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16e77a2
sar eax, 1
mov ebp, eax
jmp 0x16e773e
add ebx, ebx
jne 0x16e773e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16e770c
inc ecx
add ebx, ebx
jne 0x16e774c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16e770c
add ebx, ebx
jne 0x16e7759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16e774e
jne 0x16e776a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16e774e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16e778c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16e777e
jmp 0x16e76ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16e778c
add edi, ecx
jmp 0x16e76ce
pop esi
mov edi, esi
mov ecx, 0xff67
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16e77aa
cmp byte [edi], 0x79
jne 0x16e77aa
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 0x16e77af
lea edi, [esi + 0x12e3000]
mov eax, dword [edi]
or eax, eax
je 0x16e781e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12ea37c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12ea4d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16e77dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12ea4e0]
or eax, eax
je 0x16e7818
mov dword [ebx], eax
add ebx, 4
jmp 0x16e77f9
call dword [esi + 0x12ea4dc]
mov ebp, dword [esi + 0x12ea4e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16e7852
sub esp, 0xffffff80
jmp 0x5f26f0
Function at 0x401040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x1e4dc
mov dword [ebp - 0xc], 0x3000
mov dword [ebp - 4], 0x40
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esp, ebp
pop ebp
ret

Function at 0x401160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0x11cb
mov dword [ebp - 0x10], 0
jmp 0x40117f
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jae 0x401246
mov dword [ebp - 8], 0x4189
cmp dword [ebp - 0x10], 0
jne 0x4011e8
push 0x104
push 0x40215c
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32cabinet.dll
push 0x40215c
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
push 0x40215c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4011e1
cmp dword [ebp - 4], 0
jne 0x4011e8
mov eax, 0x42
jmp 0x401246
mov edx, dword [ebp - 0x10]
add edx, 0x563
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
xor edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x401176
mov esp, ebp
pop ebp
ret
Function at 0x401320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00428785

Function at 0x402470
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0xac], 0
je 0x4024d8
cmp dword [edi + 0xa0], 0
je 0x4024df
mov ecx, dword [edi + 0xe4]
sub ecx, dword [edi + 0xe0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4024df
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x402a90
push 0
push 0
call fcn.00547bed
add esp, 0x18
mov dword [edi + 0xc8], eax
test eax, eax
je 0x4024d8
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x4024d8
mov eax, dword [ecx]
push esi
lea edx, [ebp - 8]
push edx
push ecx
call dword [eax + 0x18]
mov eax, dword [edi + 0xd0]
lea edx, [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [edi + 0xd0]
push 0
mov esi, dword [edx]
mov eax, ecx
neg eax
push eax
push dword [ebp - 8]
push ecx
push 0
push dword [edi + 0x88]
push dword [edi + 0x84]
push 0
push 0
push dword [edi + 0xb0]
push edx
call dword [esi + 0x20]
pop esi
test eax, eax
jne 0x4024d8
push eax
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x403970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575620
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5daf20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0041fc70
push eax
mov byte [ebp - 4], 2
push dword [edi + 0x30]
lea ecx, [edi + 0x28]
call fcn.004343fb
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4039dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0041fc70
push eax
mov byte [ebp - 4], 3
push dword [edi + 0x4c]
lea ecx, [edi + 0x44]
call fcn.004343fb
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403a17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403a37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x403a58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8