joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ff359
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xa0
mov eax, 0x5b2917
call fcn.00553bf3
mov edi, ecx
mov ebx, dword [ebp + 8]
and dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
and dword [ebp - 0x14], 0
call fcn.0045082c
push eax
lea ecx, [ebp - 0x14]
call fcn.004c3be8
mov byte [ebp - 4], 2
and dword [ebx], 0
call fcn.0045082c
push eax
mov ecx, ebx
call fcn.004c3be8
push ecx
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x98], esi
sub ecx, 0x10
mov dword [ebp - 0xa0], esp
mov esi, esp
call fcn.004c3829
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov ecx, dword [0x5fc9f0]
lea ecx, [ecx - 0x10]
call fcn.004c3829
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 2
call fcn.004f3d83
mov byte [ebp - 4], 4
mov esi, dword [eax]
mov ecx, esi
call fcn.004c3b60
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004c3ad4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00450c0a
mov dword [ebp - 0x8c], 0x39636e48
mov dword [ebp - 0x88], 0x4f59534a
mov dword [ebp - 0x84], 0x7255424a
mov dword [ebp - 0x80], 0x736f5348
mov dword [ebp - 0x7c], 0x6d42474c
mov dword [ebp - 0x78], 0x75677747
mov dword [ebp - 0x74], 0x45675147
mov dword [ebp - 0x70], 0x4838434c
mov dword [ebp - 0x6c], 0x476f514e
mov dword [ebp - 0x68], 0x44634248
mov dword [ebp - 0x64], 0x6b305464
mov dword [ebp - 0x60], 0x70674441
mov dword [ebp - 0x5c], 0x7064424c
mov dword [ebp - 0x58], 0x34455441
mov dword [ebp - 0x54], 0x34516748
mov dword [ebp - 0x50], 0x3946694d
mov dword [ebp - 0x4c], 0x4a347a42
mov dword [ebp - 0x48], 0x43344449
mov dword [ebp - 0x44], 0x3868415a
mov dword [ebp - 0x40], 0x34416a65
mov dword [ebp - 0x3c], 0x6e517742
mov dword [ebp - 0x38], 0x7573684a
mov dword [ebp - 0x34], 0x3941584c
mov dword [ebp - 0x30], 0x4f414446
mov dword [ebp - 0x2c], 0x30453245
mov dword [ebp - 0x28], 0x636b694e
push dword [ebp + 0xc]
lea eax, [ebp - 0x15]
mov dword [ebp - 0x24], 0x77637741
push 0
sub esp, 0xc
mov dword [ebp - 0x20], 0x64416d43
mov ecx, esp
mov dword [ebp - 0x1c], 0x4141674b
lea edx, [ebp - 0x8c]
mov word [ebp - 0x18], 0x4641
mov byte [ebp - 0x16], 0x49
push ecx
push eax
push edx
call fcn.00450208
lea ecx, [ebp - 0xac]
call fcn.0052fed7
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004ab6d2
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004c323e
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.004ab565
mov edi, dword [ebp - 0x14]
push ebx
push ecx
mov dword [ebp - 0x90], esp
mov esi, esp
lea ecx, [edi - 0x10]
call fcn.004c3829
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
call fcn.004b07fa
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004b178e
lea ecx, [edi - 0x10]
call fcn.00450c0a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret 8
Function at 0x526b13
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x526c77
mov edx, 0x10000000
cmp eax, 0x7c
je 0x526c77
cmp eax, 0x29
jne 0x526b4e
cmp dword [esi + 0x10], 0
jne 0x526c77
test dword [esi + 0x50], edx
je 0x526c7d
cmp eax, 0x2e
jne 0x526b69
push 5
lea ecx, [esi + 0x24]
call fcn.00526dee
mov ecx, esi
call fcn.00526ae8
jmp 0x526c5f
cmp eax, 0x5c
jne 0x526bc6
mov ecx, esi
call fcn.00526ae8
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x526b9c
cmp word [esi + 0x48], 0x62
jne 0x526b9c
push 4
lea ecx, [esi + 0x24]
call fcn.00526dee
mov ecx, esi
call fcn.00526ae8
jmp 0x526c66
test eax, eax
je 0x526bba
cmp word [esi + 0x48], 0x42
jne 0x526bba
push 4
lea ecx, [esi + 0x24]
call fcn.00526dee
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x526b90
mov ecx, esi
call fcn.0052860c
jmp 0x526c5f
cmp eax, 0x5b
jne 0x526bea
mov ecx, esi
call fcn.00526ae8
mov ecx, esi
call fcn.005285c0
cmp dword [esi + 0x4c], 0x5d
je 0x526b5d
push 4
jmp 0x526c7f
cmp eax, 0x28
jne 0x526c07
mov ecx, esi
call fcn.00526ae8
mov ecx, esi
call fcn.005286ad
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x526c54
jmp 0x526c7d
cmp eax, 0x5e
jne 0x526c13
push 2
jmp 0x526b88
cmp eax, 0x24
jne 0x526c1f
push 3
jmp 0x526b88
cmp eax, 0x2a
je 0x526c73
cmp eax, 0x2b
je 0x526c73
cmp eax, 0x3f
je 0x526c73
cmp eax, 0x7b
je 0x526c73
cmp eax, 0x7d
jne 0x526c3d
test dword [esi + 0x50], edx
je 0x526c6f
cmp eax, 0x5d
jne 0x526c47
test dword [esi + 0x50], edx
je 0x526be3
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00528813
mov ecx, esi
call fcn.00526ae8
test bl, bl
je 0x526c66
mov ecx, esi
call fcn.00528730
mov cl, 1
mov bl, cl
jmp 0x526b1c
push 6
jmp 0x526c7f
push 0xa
jmp 0x526c7f
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.0053129e
int3

Function at 0x52c357
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f4748]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x52c38b
call fcn.004c2962
test eax, eax
js 0x52c395
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret 4
Function at 0x52da51
Capabilities:
Contain obfuscated stackstrings
Encode data using base64 via winapi

Disassembly:
push 0x64
mov eax, 0x5b553a
call fcn.00553bf3
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x40000001
push dword [ebx]
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, esi
test eax, eax
jne 0x52da8e
call fcn.004508a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x52db86
push dword [ebp - 0x14]
call fcn.004be4cf
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x40000001
push dword [ebx]
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, esi
test eax, eax
jne 0x52daba
push 0xffffffffffffffff
call fcn.004c28b6
mov ecx, esi
jmp 0x52da7e
push dword [ebp - 0x14]
call fcn.00450a98
push dword [0x5fc830]
lea eax, [ebp - 0x19]
mov dword [ebp - 0x60], 0x4d674654
push 0
sub esp, 0xc
mov dword [ebp - 0x5c], 0x6c516949
mov ecx, esp
mov dword [ebp - 0x58], 0x38426850
lea edx, [ebp - 0x60]
mov dword [ebp - 0x54], 0x7656444c
mov dword [ebp - 0x50], 0x6473524a
push ecx
push eax
push edx
mov dword [ebp - 0x4c], 0x63737844
mov dword [ebp - 0x48], 0x41343245
mov dword [ebp - 0x44], 0x72495348
mov dword [ebp - 0x40], 0x4d386a66
mov dword [ebp - 0x3c], 0x4255544f
mov dword [ebp - 0x38], 0x474d4241
mov dword [ebp - 0x34], 0x326f5343
mov dword [ebp - 0x30], 0x52597764
mov dword [ebp - 0x2c], 0x30524848
mov dword [ebp - 0x28], 0x65416745
mov dword [ebp - 0x24], 0x4c554163
mov dword [ebp - 0x20], 0x4141674f
mov word [ebp - 0x1c], 0x4341
mov byte [ebp - 0x1a], 0x38
call fcn.00450208
lea ecx, [ebp - 0x70]
call fcn.005300dd
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00451547
push eax
mov ecx, esi
call fcn.004be53c
lea ecx, [ebp - 0x70]
call fcn.004513e1
xor eax, eax
call fcn.00553ba2
ret
Function at 0x52f739
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52f74d
test al, 0x10
je 0x52f74d
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x52fed7
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5b58c9
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov edi, ebx
inc ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x2c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x2d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x2d], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.00530010
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x34], eax
je 0x52ffa9
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.0053009d
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
xor edi, edi
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
je 0x52ffe1
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + 0x5cb8c0]
cbw
movzx eax, ax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004ab45d
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x52ffb3
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004ab45d
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x530010
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x5b58f6
call fcn.00553bf3
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x53008a
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x53004c
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x530082
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00450469
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push ebx
push eax
mov esi, dword [edi - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00450beb
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x53008a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x5300dd
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5b594c
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov edi, ebx
inc ecx
mov dword [ebp - 4], ecx
xor eax, eax
mov esi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x29]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x29], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.00530010
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x30], eax
je 0x5301af
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.0053009d
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
xor edi, edi
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
je 0x5301e2
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + 0x5cb8c0]
mov byte [ebp - 0x29], al
lea eax, [ebp - 0x29]
push eax
call fcn.00451301
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x30]
jb 0x5301b9
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0
push eax
mov ecx, ebx
call fcn.00451301
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x5303ab
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x5b5979
call fcn.00553bf3
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x530425
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x5303e7
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x53041d
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00450469
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push ebx
push eax
mov esi, dword [edi - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00450beb
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x530425
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x530438
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5b59cf
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov edi, ebx
inc ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x2c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x2d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x2d], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.005303ab
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x34], eax
je 0x53050a
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.0053036b
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
xor edi, edi
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
je 0x530542
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.ARNNRANADNBBAQRDDDTWJNMHSLKHVU]
cbw
movzx eax, ax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004ab45d
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x530514
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004ab45d
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret

Function at 0x55ca12
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x581a59
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5f4748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00556ae3
mov dword [ebp - 0x14], eax
cmp dword [0x5fc178], esi
jne 0x581b4c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x581ad9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x581c2c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x581c2c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x581c2c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5fc178], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5fc17c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5fc180], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5fc188], eax
test eax, eax
je 0x581b49
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5fc184], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x581b71
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x581b64
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x581b86
push 4
pop eax
jmp 0x581c2e
cmp dword [ebp - 0x14], esi
je 0x581b86
push dword [0x5fc178]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x581b6b
mov eax, dword [0x5fc184]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x581be4
cmp dword [0x5fc188], edi
je 0x581be4
push eax
call ebx
push dword [0x5fc188]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x581be4
test eax, eax
je 0x581be4
call ecx
test eax, eax
je 0x581bd9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x581bd9
test byte [ebp - 8], 1
jne 0x581be4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x581c14
mov eax, dword [0x5fc17c]
cmp eax, edi
je 0x581c11
push eax
call ebx
test eax, eax
je 0x581c11
call eax
mov esi, eax
test esi, esi
je 0x581c11
mov eax, dword [0x5fc180]
cmp eax, edi
je 0x581c11
push eax
call ebx
test eax, eax
je 0x581c11
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5fc178]
call ebx
test eax, eax
je 0x581c2c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x581c2e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x402e5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40d00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ef4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ed4
xor eax, eax
push ebp
push 0x402ecd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402f10
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ed4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x40d00c]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40d00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4035f4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40f034], 0
je 0x403655
cmp word [0x40f208], 0xd7b2
jne 0x40361d
cmp dword [0x40f210], 0
jbe 0x40361d
mov eax, 0x40f204
call dword [0x40f220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40367c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40d018], 0
jne 0x403671
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret