joyce8/EMBER2024-capa huggingface dataset:
Function at 0x779df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x323000]
push edi
jmp 0x779e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x779e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x779e00
mov eax, 1
add ebx, ebx
jne 0x779e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x779e34
jne 0x779e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x779e53
dec eax
add ebx, ebx
jne 0x779e40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x779e18
add ebx, ebx
jne 0x779e4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x779ea5
xor ecx, ecx
sub eax, 3
jb 0x779e6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x779eda
sar eax, 1
mov ebp, eax
jmp 0x779e76
add ebx, ebx
jne 0x779e76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x779e44
inc ecx
add ebx, ebx
jne 0x779e84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x779e44
add ebx, ebx
jne 0x779e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x779e86
jne 0x779ea2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x779e86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x779ec4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x779eb6
jmp 0x779e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x779ec4
add edi, ecx
jmp 0x779e06
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x779ee2
cmp byte [edi], 0x11
jne 0x779ee2
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 0x779ee7
lea edi, [esi + 0x372000]
mov eax, dword [edi]
or eax, eax
je 0x779f5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x61b05c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x61b1d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x779f14
mov ecx, edi
jns 0x779f43
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x61b1dc]
or eax, eax
je 0x779f59
mov dword [ebx], eax
add ebx, 4
jmp 0x779f31
call dword [esi + 0x61b1ec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x779f90
cmp al, 0xef
ja 0x779f83
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x779f65
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x779f72
mov ebp, dword [esi + 0x61b1e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x779fc4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x404293
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x12], 0x1e15091e
push 0x30
xor edx, edx
mov dword [ebp - 0xe], 0x55494817
mov cl, 0x7b
mov dword [ebp - 0xa], 0x17171f
pop ebx
mov dword [esi], edx
mov eax, edx
mov dword [esi + 4], 0xaadf0f1
mov dword [esi + 8], 0xb3c1d03
mov dword [esi + 0xc], 0x3e22933
mov dword [esi + 0x10], 0x3b845a1
mov dword [esi + 0x14], 0xd26f2a4
mov dword [esi + 0x18], 0x5a2bc0
mov dword [esi + 0x1c], 0xee41461
mov dword [esi + 0x20], 0x479cab4
mov dword [esi + 0x24], 0xc28e148
mov dword [esi + 0x28], 0x9ae7db5
mov dword [esi + 0x2c], 0xad68911
mov dword [esi + 0x30], 0x6769d5
mov dword [esi + 0x34], 0xb78cba5
mov dword [esi + 0x38], 0xac436d1
mov dword [esi + 0x3c], 0x89af511
mov dword [esi + 0x40], 0x2887611
mov dword [esi + 0x44], 0x48a7b95
mov dword [esi + 0x48], 0x44de011
mov dword [esi + 0x4c], 0xf733033
mov dword [esi + 0x50], 0x4a753b5
mov dword [esi + 0x54], 0x80328c3
mov dword [esi + 0x58], 0xe0d1281
mov dword [esi + 0x5c], 0x9808be5
mov dword [esi + 0x60], 0x78b20d5
mov dword [esi + 0x64], 0x2c29a35
mov dword [esi + 0x68], 0x9d89af1
mov dword [esi + 0x6c], 0x8a23ba1
mov dword [esi + 0x70], 0x30871e1
mov dword [esi + 0x74], 0x8989af1
mov dword [esi + 0x78], 0xf085f54
mov dword [esi + 0x7c], 0xdfa8b21
mov dword [esi + 0x80], 0x91bf991
mov dword [esi + 0x84], 0xad64051
mov dword [esi + 0x88], 0x1b6f711
mov dword [esi + 0x8c], 0x7dcc8f1
mov dword [esi + 0x90], 0x7c21c9f
mov dword [esi + 0x94], 0xdd102f8
mov dword [esi + 0x98], 0xdb01022
mov dword [esi + 0x9c], 0xc2349b1
mov dword [esi + 0xa0], 0xf7b6e6e
mov dword [esi + 0xa4], 0xbd35df2
mov dword [esi + 0xa8], 0x5261ade
mov dword [esi + 0xac], 0x8cae418
mov dword [esi + 0xb0], 0xe1d2a4
mov dword [esi + 0xb4], 0x4b9c7e4
mov dword [esi + 0xb8], 0x38d54b2
mov dword [esi + 0xbc], 0x60155d2
mov dword [esi + 0xc0], 0x7d96c33
mov dword [esi + 0xc4], 0xe0733d4
mov dword [esi + 0xc8], 0x51e7621
mov dword [esi + 0xcc], 0x9df01b5
mov dword [esi + 0xd0], 0x9df5db5
mov dword [esi + 0xd4], 0x3f5dcb8
mov dword [esi + 0xd8], 0xb601193
mov dword [esi + 0xdc], 0x307ac0
mov dword [esi + 0xe0], 0x3cb475
mov dword [esi + 0xe4], 0x18a08c5
mov dword [esi + 0xe8], 0xa992b5
mov dword [esi + 0xec], 0xdbd3d65
mov dword [esi + 0xf0], 0xbadcc5
mov dword [esi + 0xf4], 0xecf5081
mov byte [ebp - 0x14], cl
mov byte [ebp - 0x13], bl
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 0xc
jae 0x4044e1
mov cl, byte [ebp - 0x14]
jmp 0x4044d2
lea ecx, [ebp - 0x13]
mov byte [ebp - 7], dl
call fcn.0040700f
mov dword [esi], eax
test eax, eax
jne 0x40452a
mov byte [ebp - 0x14], bl
mov dword [ebp - 0x13], 0x5e42557b
mov dword [ebp - 0xf], 0x2035c55
mov dword [ebp - 0xb], 0x5c5c541e
mov byte [ebp - 7], al
xor byte [ebp + eax - 0x13], bl
inc eax
cmp eax, 0xc
jae 0x40451c
mov bl, byte [ebp - 0x14]
jmp 0x40450d
lea ecx, [ebp - 0x13]
mov byte [ebp - 7], 0
call fcn.00406fec
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa65
leave
ret
Function at 0x4060b1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x15c
mov eax, 0x421143
call fcn.00420a4f
mov ebx, ecx
lea ecx, [ebp - 0x168]
call fcn.00404293
sub esp, 0x18
lea edi, [ebx + 0x18]
mov ecx, esp
push edi
call fcn.004051dd
call fcn.0041b179
add esp, 0x18
test eax, eax
je 0x406105
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4060f1
mov eax, dword [edi]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x168]
push eax
call fcn.00406f1f
call eax
push 0x48
call fcn.0041fc70
mov esi, eax
mov dword [ebp - 0x70], esi
and dword [ebp - 4], 0
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.004051dd
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push ebx
call fcn.004051dd
lea eax, [ebp - 0x65]
mov byte [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00405593
or dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [ebp - 0x65], 0
je 0x4062cc
mov al, 0x56
mov dword [ebp - 0x1c], 0x7a7b6756
mov dword [ebp - 0x18], 0x726f6c75
xor ecx, ecx
mov word [ebp - 0x14], 0x72
movsx eax, al
and eax, 0x8000000f
jns 0x406178
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 8
jae 0x406187
mov al, byte [ebp - 0x1c]
jmp 0x406169
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.0040406a
mov ecx, esi
call fcn.0040e054
test al, al
je 0x4062cc
mov eax, dword [esi + 0x3c]
xor edi, edi
sub eax, dword [esi + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
test eax, eax
jle 0x4062cc
mov al, 1
mov dword [ebp - 0x18], 0x68654601
mov word [ebp - 0x14], 0x66
xor ecx, ecx
movsx eax, al
and eax, 0x8000000f
jns 0x4061de
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 4
jae 0x4061ed
mov al, byte [ebp - 0x18]
jmp 0x4061cf
push ecx
lea eax, [ebp - 0x17]
mov byte [ebp - 0x13], 0
push eax
mov ecx, ebx
call fcn.004065de
lea ecx, [ebp - 0x64]
cmp eax, 0xffffffff
je 0x40624d
call fcn.004062e7
push 1
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0040e36c
push eax
lea ecx, [ebp - 0x64]
call fcn.00406612
lea ecx, [ebp - 0x34]
call fcn.0040400e
sub esp, 0x18
mov ecx, esi
mov eax, esp
push 2
push edi
push eax
call fcn.0040e36c
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00405b7b
jmp 0x406286
call fcn.004062e7
push 0
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0040e36c
push eax
lea ecx, [ebp - 0x64]
call fcn.00406612
lea ecx, [ebp - 0x34]
call fcn.0040400e
push 1
push edi
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0040e36c
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406612
lea ecx, [ebp - 0x34]
call fcn.0040400e
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebx + 0x54]
call fcn.00406517
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040400e
lea ecx, [ebp - 0x64]
call fcn.0040400e
mov eax, dword [esi + 0x3c]
inc edi
sub eax, dword [esi + 0x38]
push 0xc
cdq
pop ecx
idiv ecx
cmp edi, eax
jl 0x4061be
test esi, esi
je 0x4062e1
mov ecx, esi
call fcn.0040608d
push 0x48
push esi
call fcn.0041fca0
pop ecx
pop ecx
call fcn.00420a0d
ret
Function at 0x406f1f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, 0x5a4d
mov dword [ebp - 4], edx
push esi
push edi
cmp word [ecx], ax
jne 0x406fd4
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406fd4
mov edx, 0x2000
test word [eax + 0x16], dx
je 0x406fd4
mov edx, dword [eax + 0x78]
test edx, edx
je 0x406fd4
cmp dword [eax + 0x7c], 0
je 0x406fd4
mov esi, dword [edx + ecx + 0x1c]
xor ebx, ebx
mov edi, dword [edx + ecx + 0x20]
add edi, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
lea eax, [esi + ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + ecx + 0x24]
add eax, ecx
mov dword [ebp - 0x10], eax
test esi, esi
je 0x406fd4
mov eax, dword [ebp - 4]
mov esi, dword [edi + ebx*4]
xor edx, edx
add esi, ecx
cmp byte [esi], dl
je 0x406f9c
inc edx
cmp byte [esi + edx], 0
jne 0x406f95
xor edi, edi
test edx, edx
jle 0x406fc7
movzx eax, byte [esi]
shl edi, 4
add edi, eax
mov eax, edi
and eax, 0xf0000000
je 0x406fbe
shr eax, 0x18
xor edi, eax
and edi, 0xfffffff
inc esi
sub edx, 1
jne 0x406fa2
mov eax, dword [ebp - 4]
cmp edi, eax
je 0x406fdb
mov edi, dword [ebp - 0xc]
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x406f8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
movzx eax, word [eax + ebx*2]
mov eax, dword [edx + eax*4]
add eax, ecx
jmp 0x406fd6

Function at 0x406fec
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
push ecx
mov edx, 0xaadf0f1
mov ecx, eax
call fcn.00406f1f
call eax
ret

Function at 0x40700f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
push ecx
mov edx, 0xa3bec91
mov ecx, eax
call fcn.00406f1f
call eax
ret
Function at 0x407032
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x128
mov eax, 0x421274
call fcn.00420a4f
xor ebx, ebx
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], ebx
call fcn.00404293
mov al, 0x44
mov dword [ebp - 0x20], 0x73706044
mov dword [ebp - 0x1c], 0x77726d6b
mov ecx, ebx
mov dword [ebp - 0x18], 0x73776e32
mov word [ebp - 0x14], 0x72
movsx eax, al
and eax, 0x8000000f
jns 0x40707f
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xc
jae 0x40708e
mov al, byte [ebp - 0x20]
jmp 0x407070
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x13], bl
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.00407c78
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.00406612
lea ecx, [ebp - 0x38]
call fcn.0040400e
push 0x186a0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [ebp + 0x1c], 0xf
mov esi, eax
mov edx, dword [ebp - 0x108]
pop ecx
push ebx
push 0x80
push 4
push ebx
push 7
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
push SysReAllocString
push ecx
mov ecx, dword [ebp - 0x134]
call fcn.00406f1f
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x407139
mov edx, dword [ebp - 0x100]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x134]
push ebx
push eax
push 0x186a0
push esi
push edi
call fcn.00406f1f
call eax
test eax, eax
jne 0x407123
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov esi, ebx
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x134]
push edi
call fcn.00406f1f
call eax
jmp 0x40713b
mov esi, ebx
lea ecx, [ebp + 8]
call fcn.0040400e
mov eax, esi
call fcn.00420a0d
ret
Function at 0x40753f
Capabilities:
Set current directory

Disassembly:
push 0x28
mov eax, 0x4212d5
call fcn.00420a4f
xor edx, edx
mov al, 0x2f
mov dword [ebp - 4], edx
mov ecx, edx
mov dword [ebp - 0x1c], 0x82827d2f
mov dword [ebp - 0x18], 0x7b733d42
mov word [ebp - 0x14], 0x7b
movsx eax, al
and eax, 0x8000000f
jns 0x407577
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 8
jae 0x407586
mov al, byte [ebp - 0x1c]
jmp 0x407568
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x13], dl
push eax
lea ecx, [ebp - 0x34]
call fcn.0040406a
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0040400e
lea ecx, [ebp + 8]
call fcn.0040400e
mov eax, esi
call fcn.00420a0d
ret
Function at 0x407e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0x20321756
xor ebx, ebx
mov dword [ebp - 0x10], 0x653f2637
mov cl, 0x56
mov dword [ebp - 0xc], 0x3a327864
mov word [ebp - 8], 0x3a
mov eax, ebx
mov dword [esi], ebx
mov dword [esi + 4], 0x8289d1
mov dword [esi + 8], 0x5faa711
mov dword [esi + 0xc], 0x6fba0b1
mov dword [esi + 0x10], 0x3313a69
mov dword [esi + 0x14], 0x89dc521
mov dword [esi + 0x18], 0xd6e1d29
mov dword [esi + 0x1c], 0xb7beb6d
mov dword [esi + 0x20], 0xe10a7f4
mov dword [esi + 0x24], 0xc0e47c9
mov dword [esi + 0x28], 0xcee5ca4
mov dword [esi + 0x2c], 0x13b431
mov dword [esi + 0x30], 0xdf25081
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 0xc
jae 0x407f1a
mov cl, byte [ebp - 0x14]
jmp 0x407f0b
lea ecx, [ebp - 0x13]
mov byte [ebp - 7], bl
call fcn.0040700f
mov dword [esi], eax
test eax, eax
jne 0x407f66
mov cl, 0x45
mov dword [ebp - 0x14], 0x33210445
mov dword [ebp - 0x10], 0x762c3524
mov eax, ebx
mov dword [ebp - 0xc], 0x29216b77
mov word [ebp - 8], 0x29
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 0xc
jae 0x407f59
mov cl, byte [ebp - 0x14]
jmp 0x407f4a
lea ecx, [ebp - 0x13]
mov byte [ebp - 7], bl
call fcn.00406fec
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa65
leave
ret
Function at 0x4081fb
Capabilities:
Encode data using xor

Disassembly:
push 0x80
mov eax, 0x421486
call fcn.00420a4f
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x8c], edi
push 0x401b6c
mov dword [ebp - 0x7c], ebx
call fcn.0040406a
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x42]
push 0x18
inc ebx
mov dword [ebp - 0x84], ecx
and byte [ecx], 0xf7
pop eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], eax
push 0xf
pop edi
push 0x18
xor esi, esi
pop ebx
movzx eax, byte [ecx]
shl esi, 8
add eax, esi
cdq
idiv ebx
mov byte [ecx], al
mov esi, edx
dec ecx
sub edi, 1
jne 0x408253
movaps xmm0, xmmword [0x4027b0]
xor edx, edx
push 0x18
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x7066d6c
mov ecx, edx
mov dword [ebp - 0x18], 0xc030200
mov word [ebp - 0x14], 0xd
pop edi
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, edi
jb 0x40828e
mov edi, dword [ebp - 0x88]
mov byte [ebp - 0x13], dl
mov al, byte [ebp + esi - 0x2b]
mov byte [ebp - 0x78], al
cmp dword [edi + 0x10], 0x7fffffff
je 0x4083a4
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4082c1
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push 1
lea eax, [ebp - 0x78]
push eax
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
call fcn.00405491
or dword [ebp - 0x7c], 2
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00406612
lea ecx, [ebp - 0x44]
call fcn.0040400e
sub dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x84]
jns 0x40824b
push esi
xor ebx, ebx
lea eax, [ebp - 0x5c]
inc ebx
mov ecx, edi
push ebx
push eax
call fcn.00406590
mov dword [ebp - 4], ebx
mov ecx, edi
mov eax, dword [edi + 0x10]
sub eax, esi
dec eax
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406590
push 0x401b8c
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407c78
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00405361
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00406612
lea ecx, [ebp - 0x74]
call fcn.0040400e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040400e
push 5
pop esi
cmp dword [edi + 0x10], esi
jbe 0x40838c
push ebx
push 0x401b90
push esi
mov ecx, edi
call fcn.0040bd81
add esi, 6
cmp esi, dword [edi + 0x10]
jb 0x408376
lea ecx, [ebp - 0x44]
call fcn.0040400e
lea ecx, [ebp - 0x5c]
call fcn.0040400e
mov eax, edi
call fcn.00420a0d
ret
call fcn.00403d76
int3
Function at 0x4083aa
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push 0x48
mov eax, 0x4214ce
call fcn.00420a4f
mov edi, ecx
mov dword [ebp - 0x4c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], edi
push 0x401b6c
mov dword [ebp - 0x50], ebx
call fcn.0040406a
mov dword [ebp - 4], ebx
mov ecx, ebx
movaps xmm0, xmmword [0x402640]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x50], 1
movaps xmm0, xmmword [0x402790]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], 3
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x47505057
mov dword [ebp - 0x1c], 0x4774564c
mov dword [ebp - 0x18], 0x4d4b5150
mov word [ebp - 0x14], 0x4c
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x2c
jb 0x408417
lea eax, [ebp - 0x48]
mov byte [ebp - 0x13], bl
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x3f]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408509
movaps xmm0, xmmword [0x402600]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x69
movsx eax, byte [ebp - 0x24]
and eax, 0x8000000f
jns 0x40846b
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x40845b
lea eax, [ebp - 0x44]
mov byte [ebp - 0x13], bl
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x23]
push eax
push dword [ebp - 0x48]
call ebx
test eax, eax
jne 0x408500
push dword [ebp - 0x44]
call fcn.0041fde6
movaps xmm0, xmmword [0x402660]
xor edx, edx
pop ecx
mov esi, eax
mov word [ebp - 0x14], 0x7c
movups xmmword [ebp - 0x24], xmm0
mov ecx, edx
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x4084b5
lea eax, [ebp - 0x44]
mov byte [ebp - 0x13], dl
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
push edx
lea eax, [ebp - 0x23]
push eax
push dword [ebp - 0x48]
call ebx
test eax, eax
jne 0x4084f9
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.004081fb
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00406612
lea ecx, [ebp - 0x2c]
call fcn.0040400e
push esi
call fcn.0041fdef
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.00420a0d
ret
Function at 0x408511
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
rdtsc
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
sub eax, dword [ebp - 4]
mov esi, 0xf4240
sbb edx, dword [ebp - 0xc]
push 0
push esi
push edx
push eax
call fcn.00420b70
mov ebx, edx
mov edi, eax
test ebx, ebx
ja 0x40851a
jb 0x408552
cmp edi, esi
ja 0x40851a
push 0
push 0x64
pop esi
push esi
push ebx
push edi
call fcn.00420c80
mov ecx, edx
xor edx, edx
test ecx, ecx
ja 0x4085cc
jb 0x40856e
cmp eax, 0x50
jae 0x408573
push 0x4b
pop esi
xor edx, edx
test ecx, ecx
ja 0x4085cc
jb 0x40857e
cmp eax, 0x47
jae 0x408583
push 0x42
pop esi
xor edx, edx
test ecx, ecx
ja 0x4085cc
jb 0x40858e
cmp eax, 0x37
jae 0x408593
push 0x32
pop esi
xor edx, edx
test ecx, ecx
ja 0x4085cc
jb 0x40859e
cmp eax, 0x26
jae 0x4085a3
push 0x21
pop esi
xor edx, edx
test ecx, ecx
ja 0x4085cc
jb 0x4085ae
cmp eax, 0x1e
jae 0x4085b3
push 0x19
pop esi
xor edx, edx
test ecx, ecx
ja 0x4085cc
jb 0x4085be
cmp eax, 0xa
jae 0x4085cc
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
sub esi, eax
sbb edx, ecx
add esi, edi
pop edi
mov eax, esi
adc edx, ebx
pop esi
pop ebx
leave
ret

Function at 0x4085db
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push esi
lea ecx, [esp + 8]
call fcn.00404293
mov ecx, dword fs:[0x30]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x54]
mov eax, dword [ecx + 0xa4]
mov dword [esi], eax
mov eax, dword [ecx + 0xa8]
mov dword [esi + 4], eax
movzx ecx, word [ecx + 0xac]
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
call fcn.00406f1f
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40bba9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4028c0]
push ebx
xor ebx, ebx
mov dword [ebp - 0x22c], 0x83828862
push esi
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0x7e527c74
mov ecx, ebx
mov dword [ebp - 0x224], 0x7678757d
mov byte [ebp - 0x220], bl
movsx eax, byte [ebp - 0x23c]
and eax, 0x8000000f
jns 0x40bc07
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x23b], al
inc ecx
cmp ecx, 0x1b
jb 0x40bbf4
lea eax, [ebp - 0x23b]
mov byte [ebp - 0x220], bl
push eax
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040809a
add esp, 0xc
mov dword [ebp - 0x21c], 0x60772924
mov al, 0x24
mov dword [ebp - 0x218], 0x736a724d
mov dword [ebp - 0x214], 0x787c7832
mov ecx, ebx
mov byte [ebp - 0x210], bl
movsx eax, al
and eax, 0x8000000f
jns 0x40bc6d
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x21b], al
inc ecx
cmp ecx, 0xb
jae 0x40bc82
mov al, byte [ebp - 0x21c]
jmp 0x40bc5e
lea eax, [ebp - 0x108]
mov byte [ebp - 0x210], bl
push eax
lea eax, [ebp - 0x21b]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040809a
mov cl, 0x48
mov byte [ebp - 0x23e], bl
mov al, 0x3f
mov byte [ebp - 0x240], cl
xor al, cl
mov byte [ebp - 0x23f], al
lea eax, [ebp - 0x23f]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0x1c
pop esi
pop ebx
test eax, eax
jne 0x40bd0a
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x40bd0a
xor edx, edx
call fcn.00408e0f
mov ecx, dword [ebp - 0x244]
xor edx, edx
call fcn.00409fef
push dword [ebp - 0x244]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0041fa65
leave
ret