joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bdc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov word [ebp - 4], 0xe0da
xor ecx, ecx
mov byte [ebp - 2], 0xd4
mov al, byte [ebp + ecx - 4]
sub al, 0x6d
mov byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 3
jl 0x41bddb
mov byte [ebp - 5], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0xa4a1afac
mov dword [ebp - 0x10], 0xafa3b2a5
mov word [ebp - 0xc], 0xa5a4
mov al, byte [ebp + ecx - 0x14]
xor al, 0xc0
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x41be05
imul eax, dword [0x42ca60], 0xded8
lea edx, [ebp - 0x20]
push esi
lea ecx, [ebp - 8]
mov byte [ebp - 0x16], 0
mov word [0x42ca74], ax
movzx eax, byte [0x42ca72]
or eax, 0xa0bb54a4
mov dword [0x42ca60], eax
call fcn.0041e567
mov cl, byte [0x42ca6a]
mov esi, eax
and dword [0x42ca60], 0xfe4d8143
sub cl, 0xa
mov byte [0x42ca72], cl
test esi, esi
je 0x41bfbc
and cl, 0xaf
movzx eax, cl
mov ecx, 0x1634
add ax, cx
mov word [0x42ca74], ax
add al, 0x49
mov byte [0x42ca72], al
add al, 0x1a
mov byte [0x42ca6a], al
lea eax, [ebp - 4]
push ebx
push eax
push esi
call fcn.00406740
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00410380
mov ebx, eax
mov al, byte [0x42ca72]
mov dl, al
and dl, 0xb0
pop ecx
test ebx, ebx
je 0x41bf9e
movzx ecx, word [0x42ca74]
or al, 0x1c
mov byte [0x42ca72], al
add ecx, 0x538be79d
movzx eax, dl
imul eax, eax, 0xc5
push edi
mov dword [ebp - 0x14], ebx
mov byte [0x42ca6a], al
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, ecx
and eax, 0x1bc3
mov word [0x42ca74], ax
imul eax, ecx, 0x8832979a
xor ecx, ecx
push ecx
push ecx
mov dword [0x42ca60], eax
lea eax, [ebp - 0x14]
push eax
push 0x41b3bf
push ecx
push ecx
call dword [0x425014]
mov dl, byte [0x42ca6a]
mov edi, eax
add dl, 2
mov byte [0x42ca6a], dl
test edi, edi
je 0x41bf7c
mov cx, word [0x42ca74]
push 0xffffffffffffffff
push edi
lea eax, [ecx - 0x3d]
or al, 0x14
mov byte [0x42ca72], al
mov eax, 0xf8eb
xor cx, ax
movzx eax, dl
and eax, 0x2386c551
mov word [0x42ca74], cx
mov dword [0x42ca60], eax
call dword [0x42500c]
mov al, byte [0x42ca74]
or byte [0x42ca72], 0xc5
shl al, 6
xor al, 0x30
push edi
mov byte [0x42ca6a], al
call dword [0x425010]
mov dl, byte [0x42ca6a]
movzx eax, dl
add eax, 0xf0d2ccf4
mov dword [0x42ca60], eax
or al, 0x46
push ebx
mov byte [0x42ca6a], al
call fcn.004062f0
mov dl, byte [0x42ca6a]
pop ecx
pop edi
add dl, 0xf2
movzx eax, dl
and eax, 0xe68a66f0
mov byte [0x42ca6a], dl
push esi
mov dword [0x42ca60], eax
call fcn.004062f0
pop ecx
pop ebx
pop esi
leave
ret
Function at 0x41d987
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xc], 0xbfb1b5ae
push edi
mov ebp, edx
mov byte [esp + 0x14], 0xb4
mov edi, ecx
mov esi, ebx
mov al, byte [esp + esi + 0x10]
xor al, 0xda
mov byte [esp + esi + 0x18], al
inc esi
cmp esi, 5
jl 0x41d9a3
mov eax, dword [str..CRT_XIAA]
xor ecx, ecx
add eax, 0xf9af851f
mov byte [esp + 0x1d], bl
xor eax, 0x8f8be7ac
mov esi, 0x42e0fc
mov dword [str..CRT_XIAA], eax
mov edx, 0x9e7f4339
imul eax, eax, 0xdddcd018
inc ecx
push esi
xor eax, 0x5224d9b5
mov dword [0x42caac], eax
call fcn.00415f33
call eax
push eax
push esi
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.0041dd79
pop ecx
pop ecx
test al, al
je 0x41da2c
mov eax, dword [str..CRT_XIAA]
mov edx, ebp
push dword [esp + 0x24]
sub eax, 0x525b9da6
mov ecx, edi
mov dword [str..CRT_XIAA], eax
or eax, 0x132c47e9
mov dword [0x42caac], eax
call fcn.0041da48
pop ecx
mov bl, al
mov ecx, dword [0x42caac]
mov al, bl
pop edi
pop esi
or ecx, 0xbe502a21
pop ebp
mov dword [str..CRT_XIAA], ecx
pop ebx
add esp, 0x10
ret

Function at 0x41dbbe
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
mov bl, byte [0x42cb14]
xor bh, bh
movzx eax, bl
add bl, 0xeb
add eax, 0x469d
mov dword [esp + 8], edx
xor eax, 0xf17f
mov byte [0x42cb14], bl
or eax, 0x503d
lea edx, [esp + 4]
sub eax, 0x3f5d
push ebp
mov ebp, ecx
mov word [0x42cb1c], ax
movzx eax, bl
mov ecx, 0x9624
xor ax, cx
mov ecx, dword [esp + 0x2c]
push esi
push edi
mov word [0x42cb3c], ax
call 0x4249f5
mov dl, byte [0x42cb3c]
mov edi, eax
mov si, word [0x42cb1c]
mov eax, 0x8acd
and dl, 0xe2
xor ax, si
mov byte [0x42cb14], dl
mov word [0x42cb3c], ax
test edi, edi
je 0x41dd5e
mov dword [esp + 0x18], 0x767f7a75
xor ecx, ecx
mov dword [esp + 0x1c], 0x767e727d
mov al, byte [esp + ecx + 0x18]
xor al, 0x13
mov byte [esp + ecx + 0x20], al
inc ecx
cmp ecx, 8
jl 0x41dc57
push dword [esp + 0x10]
add dl, 0x2b
mov byte [esp + 0x2c], 0
or dl, 0x30
mov eax, 0x598
add si, ax
mov byte [0x42cb14], dl
movzx eax, dl
mov ecx, 0xfd72
sub ax, 0x70
mov word [0x42cb1c], si
or ax, cx
lea edx, [esp + 0x24]
push edi
mov ecx, ebp
mov word [0x42cb3c], ax
call fcn.0041dd79
movzx edx, word [0x42cb3c]
mov bh, al
mov eax, 0x3c7d
and dx, ax
mov word [0x42cb1c], dx
pop ecx
pop ecx
lea ecx, [edx - 0xa34]
mov word [0x42cb3c], cx
test bh, bh
je 0x41dd2d
mov dword [esp + 0x10], 0xfbf2f7f8
xor ecx, ecx
mov al, byte [esp + ecx + 0x10]
xor al, 0x9e
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 4
jl 0x41dce1
push dword [esp + 0x30]
mov eax, 0x74df
mov byte [esp + 0x20], 0
push dword [esp + 0x18]
and dx, ax
mov ecx, ebp
movzx eax, byte [0x42cb14]
imul eax, eax, 0x12
mov word [0x42cb3c], dx
lea edx, [esp + 0x20]
or al, 0x7d
mov byte [0x42cb14], al
call fcn.0041dd79
pop ecx
pop ecx
mov bh, al
movzx eax, byte [0x42cb14]
imul eax, eax, 0xa0
push edi
movzx ecx, al
mov byte [0x42cb14], al
mov eax, 0xb99b
imul ecx, eax
mov word [0x42cb1c], cx
call fcn.004062f0
mov dl, byte [0x42cb14]
pop ecx
pop edi
movzx eax, dl
mov ecx, 0xdc31
and ax, cx
pop esi
mov word [0x42cb1c], ax
mov al, bh
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x421ec2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
movaps xmm0, xmmword [0x429f40]
push ebx
push ebp
push esi
mov esi, 0x80000000
mov byte [0x42cbe3], 0x18
push edi
mov edi, ecx
lea ebp, [esp + 0x18]
movups xmmword [esp + 0x18], xmm0
xor ecx, ecx
mov eax, esi
cpuid
mov dword [ebp], eax
mov eax, 0x951c
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
mov word [0x42cbec], ax
cmp ebp, esi
jb 0x421fef
xor ecx, ecx
lea ebp, [esp + 0x18]
mov eax, esi
cpuid
mov dword [ebp], eax
mov eax, ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10]
sub al, 0x2c
movzx ecx, al
mov eax, 0x4747
and cx, ax
mov eax, 0x960b
movzx ecx, cx
imul ecx, eax
movzx eax, cx
mov dword [esp + 0x10], ecx
mov word [0x42cbec], cx
cmp esi, 0x80000002
jne 0x421ff7
add eax, 0xffffd099
movzx eax, ax
mov word [0x42cbec], ax
sub al, 0x38
mov byte [0x42cbe3], al
mov eax, ebp
push 0x10
push eax
push edi
call fcn.00402970
movzx ecx, word [0x42cbec]
add esp, 0xc
mov dword [esp + 0x10], ecx
mov al, cl
and al, 0x63
mov byte [0x42cbe3], al
cmp esi, 0x80000004
jne 0x421fe4
xor al, 0xec
mov ecx, 0x33b3
movzx eax, al
imul eax, eax, 0xea
push 0x10
mov byte [0x42cbe3], al
movzx eax, al
add ax, cx
mov word [0x42cbec], ax
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.00402970
movzx eax, word [0x42cbec]
add esp, 0xc
mov dword [esp + 0x10], eax
inc esi
cmp esi, dword [esp + 0x14]
jbe 0x421f18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp esi, 0x80000003
jne 0x421f94
movzx eax, cl
imul eax, eax, 0xd
push 0x10
and al, 0xcf
movzx eax, al
imul eax, eax, 0x4c
movzx ecx, al
mov byte [0x42cbe3], al
mov eax, 0xe31b
imul ecx, eax
mov eax, 0xc96c
or cx, ax
lea eax, [esp + 0x1c]
push eax
mov word [0x42cbec], cx
lea eax, [edi + 0x10]
jmp 0x421fd0
Function at 0x4235d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], 0x30e0d26
mov edx, ecx
mov dword [ebp - 8], 0x443d0d00
push esi
mov word [ebp - 4], 0x4412
mov ecx, ebx
mov byte [ebp - 2], 0x19
mov al, byte [ebp + ecx - 0xc]
xor al, 0x61
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0xb
jl 0x4235fe
movzx eax, byte [0x42cc24]
mov cl, 0xed
imul eax, eax, 0x57
mov esi, 0xed08
push 0xffffffffffffffff
push edx
mov edx, 0x534fbfb6
mov byte [ebp - 0xd], bl
sub cl, al
movzx eax, byte [str..rdata]
and ax, si
mov byte [0x42cca1], cl
mov word [0x42cc24], ax
xor ecx, ecx
movzx eax, byte [str..rdata]
sub eax, 0x48474b55
mov dword [0x42cc94], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.00415f33
call eax
mov ax, word [0x42cc24]
mov ecx, 0x118b
add ax, cx
add esp, 0x14
mov word [0x42cc24], ax
xor ecx, ecx
movzx eax, ax
mov edx, 0xd6eb6ff1
and eax, 0x6fa6aa83
inc ecx
mov dword [0x42cc94], eax
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
call fcn.00415f33
call eax
movzx edx, byte [str..rdata]
mov esi, eax
mov cl, byte [0x42cc94]
mov eax, 0xdc15
or dx, ax
or cl, 0x1c
movzx ebx, dx
mov word [0x42cc24], dx
mov byte [str..rdata], cl
test esi, esi
je 0x42375b
mov al, byte [0x42cca1]
xor ecx, ecx
sub al, 0x5e
xor bl, 0x68
movzx eax, al
mov edx, 0x1c168a16
or eax, 0x8df01c69
mov byte [str..rdata], bl
inc ecx
mov dword [0x42cc94], eax
call fcn.00415f33
call eax
cmp eax, 0xb7
je 0x423721
imul eax, dword [0x42cc94], 0x7e6e
mov word [0x42cc24], ax
mov eax, esi
jmp 0x42376a
movzx eax, byte [str..rdata]
xor ecx, ecx
imul eax, eax, 0xd6
mov edx, 0x251af175
push esi
inc ecx
mov byte [str..rdata], al
movzx eax, byte [0x42cca1]
or eax, 0x6336d94f
mov dword [0x42cc94], eax
call fcn.00415f33
call eax
mov dx, word [0x42cc24]
movzx eax, dx
xor eax, 0x9c619a31
mov dword [0x42cc94], eax
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x42376e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push edi
xor edi, edi
mov dword [esp + 0xc], 0x74737271
mov ebp, ecx
mov dword [esp + 0x10], 0x78777675
mov ebx, edx
mov dword [esp + 0x14], 0x7c7b7a79
mov dword [esp + 0x18], 0x607f7e7d
mov ecx, edi
mov dword [esp + 0x1c], 0x64636261
mov dword [esp + 0x20], 0x68676665
mov dword [esp + 0x24], 0x52516a69
mov dword [esp + 0x28], 0x56555453
mov dword [esp + 0x2c], 0x5a595857
mov dword [esp + 0x30], 0x5e5d5c5b
mov dword [esp + 0x34], 0x4241405f
mov dword [esp + 0x38], 0x46454443
mov dword [esp + 0x3c], 0x4a494847
mov dword [esp + 0x40], 0x23222120
mov dword [esp + 0x44], 0x27262524
mov word [esp + 0x48], 0x2928
mov al, byte [esp + ecx + 0xc]
xor al, 0x10
movzx eax, al
mov word [esp + ecx*2 + 0x4c], ax
inc ecx
cmp ecx, 0x3e
jl 0x4237fe
xor eax, eax
mov word [esp + 0xc8], ax
mov eax, dword [0x42cc5c]
add eax, 0x9217c05b
push edi
mov dword [0x42cc78], eax
call fcn.00406a33
push eax
call fcn.00406a21
mov eax, dword [0x42cc5c]
or eax, 0x55b558d8
mov dword [0x42cc68], eax
pop ecx
pop ecx
test ebx, ebx
je 0x4238b5
push esi
movzx eax, byte [0x42cccd]
imul eax, eax, 0x91
mov byte [0x42cccd], al
movzx ecx, al
movzx eax, al
and eax, 0xc936d0c9
mov dword [0x42cc5c], eax
lea eax, [ecx - 0x276c46a5]
mov dword [0x42cc78], eax
imul eax, ecx, 0x6bffb091
sub eax, 0x1a407375
mov dword [0x42cc68], eax
lea eax, [esp + 0x50]
push eax
call fcn.0040641e
pop ecx
mov esi, eax
call fcn.00406a00
xor edx, edx
div esi
mov ax, word [esp + edx*2 + 0x50]
mov word [ebp + edi*2], ax
inc edi
cmp edi, ebx
jb 0x42384d
mov eax, dword [0x42cc68]
pop esi
add eax, 0xea17a5fb
mov dword [0x42cc78], eax
xor eax, eax
pop edi
mov word [ebp + ebx*2], ax
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x423c0e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x40], 0x47404142
xor ecx, ecx
mov dword [ebp - 0x3c], 0x4b444546
mov dword [ebp - 0x38], 0x4f48494a
mov dword [ebp - 0x34], 0x534c4d4e
mov dword [ebp - 0x30], 0x57505152
mov dword [ebp - 0x2c], 0x5b545556
mov dword [ebp - 0x28], 0x6162595a
mov dword [ebp - 0x24], 0x65666760
mov dword [ebp - 0x20], 0x696a6b64
mov dword [ebp - 0x1c], 0x6d6e6f68
mov dword [ebp - 0x18], 0x7172736c
mov dword [ebp - 0x14], 0x75767770
mov dword [ebp - 0x10], 0x797a7b74
mov dword [ebp - 0xc], 0x10111213
mov dword [ebp - 8], 0x14151617
mov word [ebp - 4], 0x1a1b
mov al, byte [ebp + ecx - 0x40]
xor al, 0x23
mov byte [ebp + ecx - 0x80], al
inc ecx
cmp ecx, 0x3e
jl 0x423c88
movzx ecx, word [0x42cc48]
mov eax, 0x7c4a
imul ecx, eax
mov eax, 0x3e2
push esi
push edi
push 0
mov byte [ebp - 0x42], 0
add cx, ax
movzx eax, cx
imul eax, eax, 0x41f1c6a
mov word [0x42cc48], cx
mov dword [0x42ccc8], eax
call fcn.00406a33
push eax
call fcn.00406a21
pop ecx
pop ecx
mov cx, word [0x42cc48]
xor edi, edi
mov eax, 0x520a
or cx, ax
movzx eax, cx
xor eax, 0x8fdb8b6c
mov word [0x42cc48], cx
mov dword [0x42ccc8], eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406740
pop ecx
mov esi, eax
call fcn.00406a00
xor edx, edx
mov ecx, dword [0x42ccc8]
div esi
add ecx, 0xffffe946
movzx esi, cx
mov word [0x42cc48], cx
mov al, byte [ebp + edx - 0x80]
mov byte [edi + 0x42dfe0], al
inc edi
cmp edi, 0x14
jb 0x423ce2
xor esi, 0xa573936c
mov byte [0x42dff4], 0
pop edi
mov dword [0x42ccc8], esi
pop esi
leave
ret
Function at 0x406340
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x81022b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404604
call fcn.00406fa1
push 4
mov dword [esp + 0x18], 0
call fcn.00407c9f
mov edi, eax
add esp, 4
test edi, edi
je 0x4063b4
push ebx
call fcn.00406e79
mov dword [edi], eax
call fcn.00406c38
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f62
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4063a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f8a
pop ebx
jmp 0x4063b6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408711
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8133d8]
jne 0x40871b
repz ret
jmp fcn.0040c8fc
Function at 0x411b3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8133d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b46f
and dword [ebp - 0x14], 0
cmp dword [0x81580c], 0
mov dword [ebp - 0x18], eax
jne 0x411bee
push 0x404080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c96
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404074
push ebx
call edi
test eax, eax
je 0x411c96
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404064
push ebx
mov dword [0x81580c], eax
call edi
push eax
call esi
push 0x404050
push ebx
mov dword [0x815810], eax
call edi
push eax
call esi
push 0x404034
push ebx
mov dword [0x815814], eax
call edi
push eax
call esi
mov dword [0x81581c], eax
test eax, eax
je 0x411bee
push 0x40401c
push ebx
call edi
push eax
call esi
mov dword [0x815818], eax
mov eax, dword [0x815818]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c47
cmp dword [0x81581c], ecx
je 0x411c47
push eax
call esi
push dword [0x81581c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c47
test ebx, ebx
je 0x411c47
call edi
test eax, eax
je 0x411c3e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c3e
test byte [ebp - 8], 1
jne 0x411c47
or dword [ebp + 0x10], 0x200000
jmp 0x411c7a
mov eax, dword [0x815810]
cmp eax, dword [ebp - 0x18]
je 0x411c7a
push eax
call esi
test eax, eax
je 0x411c7a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c7a
mov eax, dword [0x815814]
cmp eax, dword [ebp - 0x18]
je 0x411c7a
push eax
call esi
test eax, eax
je 0x411c7a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81580c]
call esi
test eax, eax
je 0x411c96
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c98
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408711
leave
ret
Function at 0x80ec30
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9a558], 0x37
jne 0x80ecd6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404128
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404168
push 0x404144
push 0x4041c0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9a55c]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81a5bc]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80eee0
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9a558]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81a5bc]
cmp eax, ebx
jbe 0x80f0d6
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80ef16
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9a558], 0x1c
jne 0x80ef2d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80ef6a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb994dc], ebx
mov eax, dword [esp + 0x18]
add dword [0xb994dc], eax
mov edx, dword [0xb994dc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9a558], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80f004
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb9a558], 0x979
mov dword [0xb994e0], 0xff6b3619
mov dword [0xb994e4], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80f058
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80ef68
cmp dword [0xb9a558], 0x8d4
jne 0x80f08f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9a558], 0x17
jne 0x80f0c5
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80ef10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x40224c
push 0x402250
push 0x403018
push 2
push 0x403004
push 5
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x198f1cc5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x1f6d2c01
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219