joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407030
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
sub edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x40706c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407064
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40706e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407054
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407140
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x407154
sub eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x40716f
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x100af13c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101fe048]
jne 0x100af146
repz ret
jmp fcn.100b0bab

Function at 0x100b1cff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100af1bd
and dword [ebp - 4], 0
cmp dword [0x101ff9a8], 0
mov ebx, eax
jne 0x100b1db0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b1e61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100b1e61
push eax
call fcn.100af14b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101ff9a8], eax
call esi
push eax
call fcn.100af14b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101ff9ac], eax
call esi
push eax
call fcn.100af14b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101ff9b0], eax
call esi
push eax
call fcn.100af14b
pop ecx
mov dword [0x101ff9b8], eax
test eax, eax
je 0x100b1db0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100af14b
pop ecx
mov dword [0x101ff9b4], eax
mov eax, dword [0x101ff9b4]
cmp eax, ebx
je 0x100b1e08
cmp dword [0x101ff9b8], ebx
je 0x100b1e08
push eax
call fcn.100af1c6
push dword [0x101ff9b8]
mov esi, eax
call fcn.100af1c6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b1e08
test edi, edi
je 0x100b1e08
call esi
test eax, eax
je 0x100b1dff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b1dff
test byte [ebp - 0xc], 1
jne 0x100b1e08
or dword [ebp + 0x10], 0x200000
jmp 0x100b1e41
mov eax, dword [0x101ff9ac]
cmp eax, ebx
je 0x100b1e41
push eax
call fcn.100af1c6
pop ecx
test eax, eax
je 0x100b1e41
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b1e41
mov eax, dword [0x101ff9b0]
cmp eax, ebx
je 0x100b1e41
push eax
call fcn.100af1c6
pop ecx
test eax, eax
je 0x100b1e41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101ff9a8]
call fcn.100af1c6
pop ecx
test eax, eax
je 0x100b1e61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b1e63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b382b
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 [0x101fdad8], 0
mov byte [0x101fdadc], 0
mov edi, dword [0x101fdacc]
add edi, 0xe84
mov dword [0x101fdad0], edi
mov dword [0x101fdad4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100b3925
xor eax, eax
mov dword [0x101fdad4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101fdae0], 0
mov edi, dword [0x101fdad8]
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 [0x101fdae0], esi
mov dword [0x101fdacc], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x101fdad8], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101fdadc], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101fdadc]
mov esi, dword [0x101fdad8]
mov byte [ebx + esi], cl
mov esi, dword [0x101fdad4]
add esi, 1
mov dword [0x101fdad4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100b388c
jmp 0x100b395a
mov eax, dword [ebp - 0x1c]
mov dword [0x101fdad0], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101fdad4]
add eax, 1
mov dword [0x101fdad4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100b3925
jmp 0x100b387d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b3b2c
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, [0x101c7dc7]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101fdacc], 0x1540
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.100b378f
mov dword [0x101fdacc], 0x1b9e
call fcn.100b3dc8
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100b365f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100b3c54
mov dword [0x101fdacc], 0x505
mov eax, dword [ebp - 0x3c]
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 [0x101fdacc], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100b39fb
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101fdacc], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x50], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx], ecx
mov dword [0x101fdad0], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100b3c54
mov eax, dword [0x101fdacc]
mov ecx, dword [ebp - 0x44]
add ecx, 0x19a3
add eax, 0x2182
mov dword [0x101fdacc], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x100b4469
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100b4795
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x101fdacc]
add edi, 0x20f3
mov dword [0x101fdacc], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101fdad0], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x100b45ab
jmp 0x100b4505
mov al, byte [ebp - 0x25]
test al, 1
jne 0x100b4586
jmp 0x100b4560
mov al, byte [ebp - 0x26]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov ah, byte [ebp - 0x25]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x30], edx
jne 0x100b4519
jmp 0x100b44ca
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jmp 0x100b4544
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x2c], eax
mov byte [ebp - 0x26], bh
mov byte [ebp - 0x25], cl
je 0x100b44ca
jmp 0x100b44da
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edx
jmp 0x100b4519
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jb 0x100b4544
jmp 0x100b45ab
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101fdacc], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b45b6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x101fdad0]
add edx, 0xffffd94f
mov dword [0x101fdacc], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x100b4693
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x101fdacc], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
je 0x100b4678
jmp 0x100b4705
mov eax, dword [ebp - 0x2c]
add eax, 0xffffe7d7
mov dword [0x101fdacc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100b46c0
jmp 0x100b4705
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100b46d5
jmp 0x100b4705
mov eax, dword [ebp - 0x30]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jl 0x100b4693
jmp 0x100b45fc
mov dword [0x101fdad0], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100b461c
jmp 0x100b4705
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edi
je 0x100b45fc
jmp 0x100b4659
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100b4641
jmp 0x100b4705
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100b4705
mov eax, 1
mov dword [0x101fdacc], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x100b470c
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x100b470c
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x100b493e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
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 [0x101fdad4], 0
mov dword [0x101fdad8], 0
mov dword [0x101fdae4], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100b4a95
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101fdacc], 0x581
mov edi, eax
add edi, 1
add edx, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101fdad4], edx
mov dword [0x101fdad0], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101fdad8], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101fdadc], cl
mov dword [0x101fdad0], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101fdadc]
mov edx, dword [0x101fdad8]
mov byte [ebx + edx], cl
mov edx, dword [0x101fdad4]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101fdad8]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101fdae4], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x101fdad0], 0x2239
mov edx, dword [0x101fdacc]
add edx, 0x97e
mov dword [0x101fdacc], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x100b4a95
mov eax, dword [0x101fdad4]
mov ecx, dword [0x101fdad8]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x100b4997
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b4a9d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101fdacc], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100b3f1f
lea ecx, [0x100b3c5e]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], edx
mov dword [esp + 0x48], 0x142800
mov edx, dword [0x101fdab8]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101fdabc]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101fdac0]
mov dword [esp + 0x68], edx
mov edx, dword [0x101fdac4]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101fdac8]
mov dword [esp + 0x78], edx
mov dword [0x101fdad0], 0x1d3f
mov dword [0x101fdacc], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100b4b6e
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100b3b2c
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x100b4b7f
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
je 0x100b4b87
jmp 0x100b4b5c
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x100b4b5c
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [0x101fdacc], 0x4417
mov dword [0x101fdad0], 0x94b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x4c], edx
call fcn.100b45b6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x100b4b30
jmp 0x100b4b7f
Function at 0x1000f188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000f197
pop dword [ebp - 0x2c]
mov eax, 0x1000f197
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3c005
push 0
mov eax, 0x15e2a496
add eax, 0xfa1e9bce
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x53af
mov ebx, eax
mov edi, 0xc49d2c32
add edi, 0x4b6459ce
add edi, dword [ebp - 0x2c]
mov edx, 0x75895c49
add edx, 0x3964c2b8
mov dword [ebp - 4], 0xfdf1e9c2
mov esi, dword [edi]
sub dword [ebp - 8], ecx
xor esi, edx
add dword [ebp - 4], ecx
mov dword [ebx], esi
add ebx, 0x3a97aeb8
add ebx, 0xc568514c
add edi, 0xfb725206
add edi, 0x48dadfe
loop 0x1000f1eb
add eax, 0x84a8c57a
sub eax, 0x84a783eb
mov ebx, eax
add eax, 0xe45f0669
sub eax, 0xe45f0664
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40160d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43707c]
jne 0x401617
repz ret
jmp fcn.00401fd0

Function at 0x406bfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43707c]
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.0040457b
and dword [ebp - 0x14], 0
cmp dword [0x439a58], 0
mov dword [ebp - 0x18], eax
jne 0x406caf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406d57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406d57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x439a58], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x439a5c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x439a60], eax
call edi
push eax
call esi
mov dword [0x439a68], eax
test eax, eax
je 0x406caf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x439a64], eax
mov eax, dword [0x439a64]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406d08
cmp dword [0x439a68], ecx
je 0x406d08
push eax
call esi
push dword [0x439a68]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406d08
test ebx, ebx
je 0x406d08
call edi
test eax, eax
je 0x406cff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406cff
test byte [ebp - 8], 1
jne 0x406d08
or dword [ebp + 0x10], 0x200000
jmp 0x406d3b
mov eax, dword [0x439a5c]
cmp eax, dword [ebp - 0x18]
je 0x406d3b
push eax
call esi
test eax, eax
je 0x406d3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406d3b
mov eax, dword [0x439a60]
cmp eax, dword [ebp - 0x18]
je 0x406d3b
push eax
call esi
test eax, eax
je 0x406d3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x439a58]
call esi
test eax, eax
je 0x406d57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406d59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040160d
leave
ret
Function at 0x430440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
jmp 0x43045a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430450
mov eax, 1
add ebx, ebx
jne 0x430473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430468
jne 0x430484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430468
xor ecx, ecx
sub eax, 3
jb 0x430498
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43050a
mov ebp, eax
add ebx, ebx
jne 0x4304a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4304b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4304d4
inc ecx
add ebx, ebx
jne 0x4304c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4304b5
jne 0x4304d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4304b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4304f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4304e5
jmp 0x430456
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4304f4
add edi, ecx
jmp 0x430456
pop esi
mov edi, esi
mov ecx, 0x1a33
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x430512
cmp byte [edi], 6
jne 0x430512
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 0x430517
lea edi, [esi + 0x2e000]
mov eax, dword [edi]
or eax, eax
je 0x43058f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x312bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x312f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x430544
mov ecx, edi
jns 0x430573
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 + 0x31300]
or eax, eax
je 0x430589
mov dword [ebx], eax
add ebx, 4
jmp 0x430561
call dword [esi + 0x312fc]
mov ebp, dword [esi + 0x31304]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4305c3
sub esp, 0xffffff80
jmp 0x403bfc
Function at 0x40ec40
Capabilities:
Encode data using base64
Encrypt data using speck
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
push ebx
push esi
mov ecx, dword [eax]
mov eax, dword [0x4d2580]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x8c], ecx
cmp eax, dword [ecx + 4]
jg 0x40fe3a
mov ebx, dword [ebp + 0x10]
xor esi, esi
xor al, al
mov word [esp + 0x54], 1
push 8
mov byte [esp + 0x1f], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
mov word [esp + 0x38], 1
call fcn.0041fddb
mov ecx, dword [edi]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], 1
mov dword [edx], 0x14
mov dword [edx + 4], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], 0x17
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x49c470]
mov dword [esp + 0x70], ecx
movsx eax, word [eax + 0xa]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push 0x4d2580
call fcn.00420242
add esp, 4
cmp dword [0x4d2580], 0xffffffff
jne 0x40ec76
push 0x44247b
call fcn.004200a3
add esp, 4
push 0x4d2580
call fcn.004201f8
add esp, 4
jmp 0x40ec76
Function at 0x423129
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x423151
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x423143
pop edi
pop esi
pop ebp
ret 4
Function at 0x42c8cd
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
cmp eax, 1
jne 0x42c8ec
mov eax, dword [edi]
mov dword [esi], eax
pop edi
pop esi
pop ebp
ret 4
dec eax
cmp eax, 0xe
ja case.default.0x42c8f2
jmp dword [eax*4 + 0x4101a0]