joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3c43a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x3c453e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x3c453e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x3c453e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x3c453e
mov eax, dword [0x3cdd28]
test eax, eax
jne 0x3c440b
mov ecx, 0xbb398380
call fcn.003c3f20
mov edx, 0x749bc1d1
mov ecx, eax
call fcn.003c3e80
mov dword [0x3cdd28], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3c4535
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [str.__w]
test eax, eax
jne 0x3c446b
mov ecx, 0xe66945e6
call fcn.003c3f20
mov edx, 0x70f7b8ec
mov ecx, eax
call fcn.003c3e80
mov dword [str.__w], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x3c44ee
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [str.__w]
test eax, eax
jne 0x3c44d6
mov ecx, 0xe66945e6
call fcn.003c3f20
mov edx, 0x70f7b8ec
mov ecx, eax
call fcn.003c3e80
mov dword [str.__w], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3c4495
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.003c4670
mov edx, edi
mov ecx, ebx
call fcn.003c4580
pop esi
test eax, eax
jne 0x3c4535
mov eax, dword [0x3ce29c]
test eax, eax
jne 0x3c4529
mov ecx, 0xbb398380
call fcn.003c3f20
mov edx, 0xb7b8b8cc
mov ecx, eax
call fcn.003c3e80
mov dword [0x3ce29c], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x403940
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x204
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
xor ecx, ecx
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv edi
inc ecx
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x113], al
jl 0x40395c
xor eax, eax
xor ecx, ecx
xor edx, edx
mov cl, byte [esp + eax + 0x114]
mov dl, byte [esp + eax + 0x14]
add esi, ecx
add esi, edx
and esi, 0x800000ff
jns 0x40399d
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax + 0x14]
mov cl, byte [esp + esi + 0x14]
mov byte [esp + esi + 0x14], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x100
jl 0x40397a
mov ebp, dword [esp + 0x21c]
xor esi, esi
test ebp, ebp
jle 0x403a3e
mov ecx, dword [esp + 0x228]
mov edi, dword [esp + 0x218]
sub edi, ecx
inc eax
and eax, 0x800000ff
jns 0x4039e1
dec eax
or eax, 0xffffff00
inc eax
xor edx, edx
mov dl, byte [esp + eax + 0x14]
add esi, edx
and esi, 0x800000ff
jns 0x4039f9
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + esi + 0x14]
mov bl, byte [esp + eax + 0x14]
mov byte [esp + 0x10], dl
mov byte [esp + esi + 0x14], bl
mov ebx, dword [esp + 0x10]
mov byte [esp + eax + 0x14], dl
xor edx, edx
and ebx, 0xff
mov dl, byte [esp + esi + 0x14]
add edx, ebx
and edx, 0x800000ff
jns 0x403a2f
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [esp + edx + 0x14]
mov bl, byte [edi + ecx]
xor dl, bl
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x4039d2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
Function at 0x401369
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x438980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x44a14c
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.00422da2
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
mov eax, dword [0x44a3fc]
mov dword [esp + 0x14], eax
test ebx, ebx
mov byte [esp + 0x20], 1
je 0x4013fb
mov edi, dword [esp + 0x28]
test bl, 1
je 0x4013ec
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00422e6d
mov dl, byte [esp + 0x10]
lea ecx, [esp + 0xc]
add dl, 0x41
push edx
push 0
call fcn.004231e2
push edi
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00422aa9
mov ecx, esi
call fcn.00401430
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
shr ebx, 1
inc ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
jne 0x4013a9
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.00422d34
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00422d34
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4

Function at 0x401430
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x438998
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x401467
jmp dword [eax*4 + 0x40154c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0xffff0002
push ecx
push 0
push 0
push 0
push 3
push 3
push edx
jmp 0x4014ee
mov eax, dword [esp + 0x18]
push 0xffff0002
push eax
push 0
push 0
push 0
push 2
push 2
jmp 0x4014e9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0xffff0002
push edx
push 0
push 0
push 0
push 2
push 2
push eax
jmp 0x4014ee
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0xffff0002
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
jmp 0x4014ee
mov eax, dword [esp + 0x18]
push 0xffff0002
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [esp + 0x30]
push ecx
push 0x23
mov ecx, esi
call fcn.0041dd75
push eax
mov ecx, esi
call fcn.00401580
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.00422d34
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.00422d34
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x401bb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x438a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [esp + 0x158]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.00422aa9
lea ecx, [esp + 0xc]
push 1
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x164], esi
call fcn.0041cfba
mov eax, dword [eax]
push 0x44a150
push eax
call fcn.0040cd6e
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call fcn.00422d34
test bl, bl
je 0x401c28
push 0x44a150
lea ecx, [esp + 0x14]
call fcn.0042309c
push 0x44a15c
lea ecx, [esp + 0x14]
call fcn.0042309c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401cbc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x10
test byte [esp + 0x18], bl
je 0x401ca4
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.00422da2
mov edx, dword [esp + 0x10]
push 0x44a158
push edx
call fcn.0040cd6e
add esp, 8
test eax, eax
je 0x401c9b
mov eax, dword [esp + 0x10]
push 0x44a154
push eax
call fcn.0040cd6e
add esp, 8
test eax, eax
je 0x401c9b
mov esi, 1
lea ecx, [esp + 0x10]
call fcn.00422d34
lea ecx, [esp + 0x18]
push ecx
push edi
call ebp
test eax, eax
je 0x401cb4
test esi, esi
je 0x401c56
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00422d34
mov ecx, dword [esp + 0x154]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret 4
Function at 0x41053d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x44ba20
cmp edx, dword [eax]
je 0x41055f
add eax, 8
inc ecx
cmp eax, 0x44bab0
jl 0x410550
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x44ba20]
jne 0x41068d
mov eax, dword [0x44e99c]
cmp eax, 1
je 0x410667
test eax, eax
jne 0x410590
cmp dword [0x44b314], 1
je 0x410667
cmp edx, 0xfc
je 0x41068d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4105c7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00412240
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004115e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41060a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004115e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4401ec
push edi
call fcn.004131d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00412240
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00412250
lea eax, [ebp - 0xa0]
push 0x4401cc
push eax
call fcn.00412250
push dword [esi + 0x44ba24]
lea eax, [ebp - 0xa0]
push eax
call fcn.00412250
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00413139
add esp, 0x2c
pop edi
jmp 0x41068d
lea eax, [ebp + 8]
lea esi, [esi + 0x44ba24]
push 0
push eax
push dword [esi]
call fcn.004115e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x41b8c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040cee0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41b98b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41b98b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41b93e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41b949
or bh, 8
and edi, 0x8000000
je 0x41b964
mov eax, dword [0x4505bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41b98b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bd60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41bd8b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41bdaf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41bdca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42010d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x420145
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00423167
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042313f
jmp 0x420151
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x421a65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x421aa7
call fcn.0043354c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x421aa7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x421a9e
xor eax, eax
jmp 0x421aaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00421ab5
pop edi
pop esi
pop ebx
ret 4

Function at 0x42371b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4394cc
call fcn.0040d13c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0043354c
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x42375a
call fcn.0043354c
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423768
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x423776
or eax, 0xffffffff
jmp 0x42385e
mov ecx, esi
call fcn.00423691
mov dword [ebp - 0x14], eax
call fcn.0041fc5d
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4237ad
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4237ad
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041fc11
push dword [ebp - 0x14]
call fcn.0041f75f
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0042341e
cmp eax, edi
je 0x423820
test byte [esi + 0x24], 0x10
je 0x4237ee
push 4
mov ecx, esi
pop ebx
call fcn.004222c2
test ah, 1
je 0x4237e6
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00421cbc
cmp dword [esi + 0x1c], edi
je 0x423820
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042240a
jmp 0x423820
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x423834
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42384d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42384d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004236cb
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x434b9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0043354c
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x434bd9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434bd9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x434bdd
xor eax, eax
jmp 0x434c5b
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0041f1fc
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x434c15
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x434bff
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00434d4c
push ebx
mov edi, eax
call fcn.0041f225
test edi, edi
pop ecx
je 0x434c57
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00434b15
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00434c60
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x43567f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4356ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4356cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004355e5
jmp 0x4356cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4356cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004355e5
test edi, edi
mov eax, edi
jne 0x4356b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x62f7381a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x533122b4
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4077b0
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
sub esp, 0x144
push ebx
mov ebx, dword [ecx]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edx
mov edi, dword [edi]
mov edx, dword [eax]
mov dword [ebp - 0x118], ecx
xor ecx, ecx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 8], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x40], ecx
test ebx, 0x800
je 0x40875e
mov dword [ebp - 0x24], 1
test ebx, 0x200
jne 0x408766
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, 1
mov dword [ebp - 0xe4], eax
movsx eax, bl
and eax, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x68], 0xfffffffe
mov dword [ebp - 0x74], 0xfffffffe
mov dword [ebp - 0x58], 0xfffffffe
mov dword [ebp - 0x30], 0xfffffffe
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x24], ecx
jmp 0x40783f
mov eax, 1
jmp 0x40784d

Function at 0x408922
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ecx]
push ebx
movzx eax, byte [eax + 0x49e560]
push esi
push edi
mov edi, edx
xor edx, edx
lea ecx, [ecx + eax*2]
inc edx
mov dword [ebp - 4], edi
call fcn.00408b14
invalid
Function at 0x40cc24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x2000
mov edi, ecx
call fcn.0041f4ea
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004047b7
mov esi, dword [ebp + 8]
cmp word [esi], 0x23
je 0x40cc60
push 3
pop ebx
push 0xf
push 0x49dcc8
push esi
call fcn.0042185b
add esp, 0xc
test eax, eax
je 0x40cda9
push 0xb
push 0x49dce8
push esi
call fcn.0042185b
add esp, 0xc
test eax, eax
je 0x472e61
push 0xd
push 0x49dd00
push esi
call fcn.0042185b
add esp, 0xc
test eax, eax
add ecx, dword [ecx + 0x4438b07]
mov dword [edi + 4], eax
jmp fcn.00404edb

Function at 0x421c9d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx ecx, word [edi]
cmp di, word [esi - 0x1247bf1]
add dword [edi + ecx - 0x49], esi
or al, 0x38
movzx eax, word [edi]
sub ecx, eax
adc eax, 0x4d48d14c
clc
jne 0x421cb7
add edi, esi
cmp word [eax + edi], cx
jne 0x421c8d
jmp 0x421cb7
cmp word [edi], cx
xor byte [esp + esi*4 - 0x7bf00002], al
jnp 0x421ccf
add edx, esi
add eax, esi
movzx ecx, word [edx]
jmp 0x3ba85cf4
mov esi, 0xc033bb75

Function at 0x470a2f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
add esi, 4
movzx ebx, word [esi - 2]
movzx eax, word [esi]
push edi
mov edi, edx
test ax, ax
je 0x470a9d
push 0x5d
pop edx
cmp ax, 0x5c
jne 0x470a59
cmp word [esi + 2], dx
jne 0x470a59
add esi, 2
jmp 0x470a92
cmp ax, dx
je 0x470a9d
cmp ax, bx
jne 0x470a69
cmp word [esi + 2], dx
je 0x470aa3
cmp ax, 0x5b
jne 0x470a92
movzx eax, word [esi + 2]
cmp eax, 0x3a
je 0x470a82
cmp eax, 0x2e
je 0x470a82
cmp eax, 0x3d
jne 0x470a92
mov edx, edi
mov ecx, esi
call fcn.00470a2f
lock xor esi, dword [ebp + 0xe]
push 0x5d
pop edx
add esi, 2
movzx eax, word [esi]
test ax, ax
jne 0x470a48
xor eax, eax
pop edi
pop esi
add ebx, 0x24
invalid
mov dword [edi], esi
inc eax
jmp 0x470a9f
and al, 0xc0
mov dword [edi], esi
inc eax
jmp 0x470a9f