joyce8/EMBER2024-capa huggingface dataset:
Function at 0x906031b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x158
mov eax, 0x90a26eb
call fcn.0900621d
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x164], eax
xor ebx, ebx
lea eax, [ebp - 0x154]
push eax
mov edi, 0x20019
push edi
push ebx
push str.SOFTWARE
push 0x80000002
mov byte [ebp - 0x13d], bl
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x14c], ebx
call esi
test eax, eax
je 0x9060388
mov dword [ebp - 0x154], ebx
jmp 0x9060557
lea eax, [ebp - 0x148]
push eax
push edi
push ebx
push str.Adobe
push dword [ebp - 0x154]
call esi
test eax, eax
je 0x90603ad
mov dword [ebp - 0x148], ebx
jmp 0x9060557
lea eax, [ebp - 0x150]
push eax
push edi
push ebx
push str.Color
push dword [ebp - 0x148]
call esi
test eax, eax
je 0x90603d2
mov dword [ebp - 0x150], ebx
jmp 0x9060557
lea eax, [ebp - 0x144]
push eax
push edi
push ebx
push str.Monitor
push dword [ebp - 0x150]
call esi
test eax, eax
je 0x90603f7
mov dword [ebp - 0x144], ebx
jmp 0x9060557
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push str.Primary_Monitor
push dword [ebp - 0x144]
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9060452
cmp dword [ebp - 0x15c], 4
jne 0x9060452
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x160], eax
cmp eax, 0x3e7
ja 0x9060557
push dword [ebp - 0x160]
lea eax, [ebp - 0x1c]
push str.Monitor_u
push 0xb
push eax
call fcn.090424a0
add esp, 0x10
lea eax, [ebp - 0x14c]
push eax
push edi
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x144]
call esi
test eax, eax
je 0x90604dc
mov dword [ebp - 0x14c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x144], ebx
je 0x90604a0
push dword [ebp - 0x144]
call esi
cmp dword [ebp - 0x150], ebx
je 0x90604b0
push dword [ebp - 0x150]
call esi
cmp dword [ebp - 0x148], ebx
je 0x90604c0
push dword [ebp - 0x148]
call esi
cmp dword [ebp - 0x154], ebx
je 0x90604d0
push dword [ebp - 0x154]
call esi
mov al, byte [ebp - 0x13d]
call fcn.0900804d
ret
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push str.Monitor_Profile
push dword [ebp - 0x14c]
mov dword [ebp - 0x158], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9060557
cmp dword [ebp - 0x15c], 1
jne 0x9060557
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0905592d
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], ebx
call fcn.090424a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.090167a9
mov byte [ebp - 0x13d], 1
cmp dword [ebp - 0x14c], ebx
je 0x906048a
push dword [ebp - 0x14c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x9060490
Function at 0x9063086
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a2ae1
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f8
call fcn.0909ea10
mov eax, dword [0x90de124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 4]
add eax, 0x78
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x13e8], edi
mov dword [ebp - 0x13e4], esi
call fcn.090424a0
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x906310a
mov eax, dword [esi + 4]
push 0
push 0x753
push 0xb71b
push eax
call fcn.090424a0
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.0900e991
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], 0xc
mov eax, dword [ebp - 0x13d4]
push 0x18
xor edx, edx
pop ecx
div ecx
mov ecx, dword [ebp - 0x13d8]
add dword [ebp - 0x13d4], 0x8000
add dword [ebp - 0x13d8], 2
cmp dword [ebp - 0x13d4], 0xc800c
mov word [ecx], ax
jb 0x906312e
and dword [ebp - 0x13d8], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13e0], eax
jmp 0x906317f
mov edi, dword [ebp - 0x13e8]
mov esi, dword [ebp - 0x13e4]
mov eax, dword [ebp - 0x13e0]
movzx eax, word [eax]
and dword [ebp - 0x13d4], 0
mov dword [ebp - 0x13dc], eax
lea eax, [ebp - 0x13cc]
xor ecx, ecx
mov dx, word [ebp - 0x13dc]
mov word [eax - 2], dx
mov edx, dword [ebp - 0x13d4]
movzx edx, word [ebp + edx*2 - 0x48]
mov word [eax], dx
mov dx, word [ebp + ecx*2 - 0x48]
mov word [eax + 2], dx
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x906319d
inc dword [ebp - 0x13d4]
cmp dword [ebp - 0x13d4], 0x19
jb 0x906319b
push 0
mov eax, 0x504c4142
push eax
push eax
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
mov ecx, esi
call fcn.090424a0
push 1
push 0x753
push dword [ebp - 0x13d8]
lea ecx, [ebp - 0x1408]
push dword [edi]
call fcn.090424a0
lea ecx, [ebp - 0x1408]
mov byte [ebp - 4], 1
call fcn.09005145
lea edi, [ebp - 0x13d0]
lea esi, [eax + 2]
mov dword [ebp - 0x13dc], 0x19
mov dword [ebp - 0x13d4], 0x19
mov eax, dword [edi]
mov ecx, dword [edi + 4]
shr eax, 0x10
imul eax, eax, 0xff
add eax, 0x4000
shr eax, 0xf
mov byte [esi - 2], al
movzx eax, cx
push eax
mov dword [ebp - 0x13f0], ecx
call fcn.090424a0
mov byte [esi - 1], al
movzx eax, word [ebp - 0x13ee]
push eax
call fcn.090424a0
mov byte [esi], al
pop ecx
add esi, 3
add edi, 8
dec dword [ebp - 0x13d4]
pop ecx
jne 0x906323a
dec dword [ebp - 0x13dc]
jne 0x9063230
lea ecx, [ebp - 0x1408]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x13d8], 0x753
add dword [ebp - 0x13e0], 2
cmp dword [ebp - 0x13d8], 0xb71b
jb 0x9063173
mov ecx, dword [ebp - 0x13e4]
or dword [ebp - 4], 0xffffffff
call fcn.090424a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x906400a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a2cd0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f8
call fcn.0909ea10
mov eax, dword [0x90de124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [edi + 4]
add eax, 0x78
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x13ec], esi
mov dword [ebp - 0x13e4], edi
call fcn.090424a0
cmp dword [esi], 0
pop ecx
pop ecx
jne 0x906408e
mov eax, dword [edi + 4]
push 0
push 0x9c4
push 0xf424
push eax
call fcn.090424a0
add esp, 0x10
mov dword [esi], eax
mov ecx, edi
mov dword [ebp - 0x13f0], edi
call fcn.0900e991
and dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x13d4], 0xc
mov eax, dword [ebp - 0x13d4]
push 0x18
xor edx, edx
pop esi
div esi
add dword [ebp - 0x13d4], 0x8000
mov word [ecx], ax
add ecx, 2
cmp dword [ebp - 0x13d4], 0xc800c
jb 0x90640ac
and dword [ebp - 0x13dc], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13e0], eax
mov esi, 0x4000
jmp 0x90640f2
mov edi, dword [ebp - 0x13e4]
mov eax, dword [ebp - 0x13e0]
movzx eax, word [eax]
and dword [ebp - 0x13d4], 0
mov dword [ebp - 0x13d8], eax
lea eax, [ebp - 0x13cc]
xor ecx, ecx
mov dx, word [ebp - 0x13d8]
mov word [eax - 2], dx
mov edx, dword [ebp - 0x13d4]
movzx edx, word [ebp + edx*2 - 0x48]
mov word [eax], dx
mov dx, word [ebp + ecx*2 - 0x48]
mov word [eax + 2], dx
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x9064110
inc dword [ebp - 0x13d4]
cmp dword [ebp - 0x13d4], 0x19
jb 0x906410e
push 0
push 0x434d594b
push 0x50524742
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
mov ecx, edi
call fcn.090424a0
mov eax, dword [ebp - 0x13ec]
push 1
push 0x9c4
push dword [ebp - 0x13dc]
lea ecx, [ebp - 0x1404]
push dword [eax]
call fcn.090424a0
lea ecx, [ebp - 0x1404]
mov byte [ebp - 4], 1
call fcn.09005145
lea ecx, [ebp - 0x13d0]
add eax, 2
mov dword [ebp - 0x13d8], 0x19
mov dword [ebp - 0x13d4], ecx
mov dword [ebp - 0x13e8], 0x19
mov ecx, dword [ebp - 0x13d4]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
movzx edx, di
imul edx, edx, 0xff
add edx, esi
shr edx, 0xf
mov byte [eax - 2], dl
shr edi, 0x10
mov edx, edi
imul edx, edx, 0xff
add dword [ebp - 0x13d4], 8
add edx, esi
shr edx, 0xf
mov byte [eax - 1], dl
movzx edx, cx
shr ecx, 0x10
imul edx, edx, 0xff
imul ecx, ecx, 0xff
add edx, esi
add ecx, esi
shr edx, 0xf
shr ecx, 0xf
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 4
dec dword [ebp - 0x13e8]
jne 0x90641bc
dec dword [ebp - 0x13d8]
mov ecx, dword [ebp - 0x13d4]
jne 0x90641ac
lea ecx, [ebp - 0x1404]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x13dc], 0x9c4
add dword [ebp - 0x13e0], 2
cmp dword [ebp - 0x13dc], 0xf424
jb 0x90640ec
mov ecx, dword [ebp - 0x13e4]
or dword [ebp - 4], 0xffffffff
call fcn.090424a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x90646d5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a2cd0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f8
call fcn.0909ea10
mov eax, dword [0x90de124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [edi + 4]
add eax, 0x78
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x13ec], esi
mov dword [ebp - 0x13e4], edi
call fcn.090424a0
cmp dword [esi], 0
pop ecx
pop ecx
jne 0x9064759
mov eax, dword [edi + 4]
push 0
push 0x9c4
push 0xf424
push eax
call fcn.090424a0
add esp, 0x10
mov dword [esi], eax
mov ecx, edi
mov dword [ebp - 0x13f0], edi
call fcn.0900e991
and dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x13d4], 0xc
mov eax, dword [ebp - 0x13d4]
push 0x18
xor edx, edx
pop esi
div esi
add dword [ebp - 0x13d4], 0x8000
mov word [ecx], ax
add ecx, 2
cmp dword [ebp - 0x13d4], 0xc800c
jb 0x9064777
and dword [ebp - 0x13dc], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13e0], eax
mov esi, 0x4000
jmp 0x90647bd
mov edi, dword [ebp - 0x13e4]
mov eax, dword [ebp - 0x13e0]
movzx eax, word [eax]
and dword [ebp - 0x13d4], 0
mov dword [ebp - 0x13d8], eax
lea eax, [ebp - 0x13cc]
xor ecx, ecx
mov dx, word [ebp - 0x13d8]
mov word [eax - 2], dx
mov edx, dword [ebp - 0x13d4]
movzx edx, word [ebp + edx*2 - 0x48]
mov word [eax], dx
mov dx, word [ebp + ecx*2 - 0x48]
mov word [eax + 2], dx
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x90647db
inc dword [ebp - 0x13d4]
cmp dword [ebp - 0x13d4], 0x19
jb 0x90647d9
push 0
push 0x434d594b
push 0x504c4142
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
mov ecx, edi
call fcn.090424a0
mov eax, dword [ebp - 0x13ec]
push 1
push 0x9c4
push dword [ebp - 0x13dc]
lea ecx, [ebp - 0x1404]
push dword [eax]
call fcn.090424a0
lea ecx, [ebp - 0x1404]
mov byte [ebp - 4], 1
call fcn.09005145
lea ecx, [ebp - 0x13d0]
add eax, 2
mov dword [ebp - 0x13d8], 0x19
mov dword [ebp - 0x13d4], ecx
mov dword [ebp - 0x13e8], 0x19
mov ecx, dword [ebp - 0x13d4]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
movzx edx, di
imul edx, edx, 0xff
add edx, esi
shr edx, 0xf
mov byte [eax - 2], dl
shr edi, 0x10
mov edx, edi
imul edx, edx, 0xff
add dword [ebp - 0x13d4], 8
add edx, esi
shr edx, 0xf
mov byte [eax - 1], dl
movzx edx, cx
shr ecx, 0x10
imul edx, edx, 0xff
imul ecx, ecx, 0xff
add edx, esi
add ecx, esi
shr edx, 0xf
shr ecx, 0xf
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 4
dec dword [ebp - 0x13e8]
jne 0x9064887
dec dword [ebp - 0x13d8]
mov ecx, dword [ebp - 0x13d4]
jne 0x9064877
lea ecx, [ebp - 0x1404]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x13dc], 0x9c4
add dword [ebp - 0x13e0], 2
cmp dword [ebp - 0x13dc], 0xf424
jb 0x90647b7
mov ecx, dword [ebp - 0x13e4]
or dword [ebp - 4], 0xffffffff
call fcn.090424a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x9095fa0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a3edd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb18
mov eax, dword [0x90de124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb24], eax
call fcn.090424a0
add esp, 4
push eax
lea ecx, [ebp - 0xb20]
call fcn.090424a0
push 0
push 0
mov eax, dword [ebp - 0xb20]
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push eax
push esi
mov dword [ebp - 4], 0
call fcn.09008249
add esp, 0x3c
push eax
lea ecx, [ebp - 0xb1c]
call fcn.090424a0
mov byte [ebp - 4], 1
xor eax, eax
jmp 0x9096050
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x9096050
push 0
push 0x5058595a
push 0x67386b30
push pe_nt_image_headers32
lea ecx, [ebp - 0x918]
push ecx
mov ecx, dword [ebp - 0xb1c]
lea edx, [ebp - 0x118]
push edx
call fcn.090424a0
movzx edi, word [ebp - 0x914]
movzx esi, word [ebp - 0x11c]
cmp esi, edi
ja 0x90960a5
push 0x6250726f
call fcn.090424a0
sub esi, edi
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ebp + ecx*8 - 0x914]
cmp eax, edi
ja 0x90960c0
xor eax, eax
jmp 0x90960e9
movzx edx, word [ebp - 0x11c]
cmp eax, edx
jb 0x90960da
mov edx, 0x8000
mov word [ebp + ecx*2 - 0xb18], dx
jmp 0x90960f1
sub eax, edi
mov edx, esi
shr edx, 1
shl eax, 0xf
add eax, edx
xor edx, edx
div esi
mov word [ebp + ecx*2 - 0xb18], ax
inc ecx
cmp ecx, 0x100
jb 0x90960b0
lea ecx, [ebp - 0xb1c]
mov byte [ebp - 4], 0
call fcn.0900ec67
lea ecx, [ebp - 0xb20]
mov dword [ebp - 4], 0xffffffff
call fcn.09019001
mov esi, dword [ebp - 0xb24]
lea eax, [esi + 8]
push eax
push 0x260
mov dword [ebp - 0xb24], eax
call fcn.090424a0
add esp, 8
mov dword [ebp - 0xb20], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x909615b
push esi
mov ecx, eax
call fcn.090424a0
mov esi, eax
mov dword [ebp - 0xb1c], esi
jmp 0x909616b
mov dword [ebp - 0xb1c], 0
mov esi, dword [ebp - 0xb1c]
fld qword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
fmul qword [0x90b4990]
mov ecx, dword [eax]
fldz
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 4]
fcomp st(1)
mov dword [esi + 0x54], edx
fnstsw ax
test ah, 0x41
jne 0x9096195
fsub qword [0x90aad88]
jmp 0x909619b
fadd qword [0x90aad88]
call fcn.0909e870
mov word [esi + 0x58], ax
mov eax, dword [ebp - 0xb1c]
lea edi, [esi + 0x5a]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10007c2e
pop dword [ebp - 0x38]
mov eax, 0x10007c2e
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xa013cecf
sub dword [ebp - 0x48], 0x51c18984
mov dword [ebp - 0x44], 0xeac7412
add dword [ebp - 0x44], 0x2386d833
mov dword [ebp - 0x40], 0x83669234
add dword [ebp - 0x40], 0xc8e5b1fa
mov dword [ebp - 0x3c], 0xad24fcea
sub dword [ebp - 0x3c], 0xad24fcea
lea eax, [ebp - 0x48]
push eax
mov eax, 0x5bdfad13
sub eax, 0x4bdf2cbf
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x5166d54e
add dword [ebp - 0x48], 0x230b9408
mov dword [ebp - 0x44], 0x77b08e4d
add dword [ebp - 0x44], 0xc9bbd328
mov dword [ebp - 0x40], 0xc664d79a
sub dword [ebp - 0x40], 0x62f56b2e
mov dword [ebp - 0x3c], 0x917df28d
add dword [ebp - 0x3c], 0x6e820d73
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x37ab6
push 0
call eax
mov ecx, 0x4c02
mov edx, eax
mov edi, 0x1000fa00
add edi, dword [ebp - 0x38]
mov esi, 0x4c6782c2
sub esi, 0x18abaa09
mov ebx, dword [edi]
xor dword [ebp - 0x10], 0x9b3b41b9
add ebx, esi
sub dword [ebp - 0x18], 0xacff675f
mov dword [edx], ebx
mov dword [ebp - 0x10], 0xa9242fbe
add edx, 4
add edi, 0x5f1d81cf
add edi, 0xa0e27e35
loop 0x10007d3a
add eax, 0x122db
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x3f6f2f48
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, ecx
shl eax, 2
cmp ecx, 4
jl 0x3f6f2f90
add eax, ebx
mov ecx, dword [edi + 0x954]
mov esi, eax
shl esi, 2
cmp dword [esi + ecx], 0
je 0x3f6f2f96
mov eax, dword [edi + 0x954]
pop edi
mov eax, dword [esi + eax]
pop esi
pop ebx
ret 0xc
mov eax, dword [edi + 0x954]
pop edi
mov eax, dword [esi + eax]
pop esi
pop ebx
ret 0xc
add eax, dword [esp + 0x18]
jmp 0x3f6f2f61
add eax, 0x3e8
push 0xa
movzx eax, ax
push eax
push dword [0x3f7ea024]
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x3f7d3043
push eax
push dword [0x3f7ea024]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov ecx, dword [edi + 0x954]
mov dword [esi + ecx], eax
jmp 0x3f6f2f81
test ebx, ebx
jl 0x3f6f2f81
cmp ebx, 2
jle 0x3f7d306b
cmp ebx, 3
jne 0x3f6f2f81
mov eax, dword [edi + 0x954]
mov dword [esi + eax], 0x3f7b5a80
jmp 0x3f6f2f81
mov eax, dword [edi + 0x954]
mov dword [esi + eax], 0x3f7b5a7c
jmp 0x3f6f2f81

Function at 0x3f70fe31
Capabilities:
Parse credit card information

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
lea edx, [eax + eax]
mov eax, dword [esp + 0xc]
mov esi, dword [ebx]
add eax, edx
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x3e
je 0x3f70fe76
cmp cx, 0x7d
je 0x3f70fe76
cmp cx, 0x3a
je 0x3f70fe80
cmp cx, 0x3b
je 0x3f70fe80
cmp cx, 0x38
je 0x3f70fe80
cmp cx, 0x25
je 0x3f70fe80
xor eax, eax
pop esi
pop ebx
ret 0xc
dec esi
je 0x3f70fe6f
mov cx, word [eax]
inc eax
inc eax
jmp 0x3f70fe57
dec esi
je 0x3f70fe6f
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x2d
je 0x3f70feec
cmp cx, 0x5e
je 0x3f70feec
cmp cx, 0x28
je 0x3f70fedd
cmp cx, 0x3e
je 0x3f70fedd
cmp cx, 0x44
je 0x3f70fedd
cmp cx, 0x49
je 0x3f70fedd
cmp cx, 0x4f
je 0x3f70fedd
cmp cx, 0x6f
je 0x3f70fedd
cmp cx, 0x5c
je 0x3f70fedd
cmp cx, 0x2f
je 0x3f70fedd
cmp cx, 0x7c
je 0x3f70fedd
cmp cx, 0x30
je 0x3f70fefc
cmp cx, 0x29
jne 0x3f70fe6f
cmp word [eax - 4], 0x38
je 0x3f70fe6f
sub eax, edx
push 1
sub eax, dword [esp + 0x10]
sar eax, 1
mov dword [ebx], eax
pop eax
jmp 0x3f70fe71
dec esi
test esi, esi
je 0x3f70fe6f
mov cx, word [eax]
inc eax
inc eax
jmp 0x3f70fe94
cmp word [eax - 4], 0x38
jne 0x3f70fedd
jmp 0x3f70fed0
Function at 0x3f748d07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_FindResourceW]
push 0xa
push 0x3e7
mov esi, ecx
push dword [0x3f7ea024]
call edi
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push eax
push dword [0x3f7ea024]
call ebx
mov ebp, dword [sym.imp.kernel32.dll_LockResource]
push eax
call ebp
push 0xa
push 0x3e6
mov dword [esi + 0x950], eax
push dword [0x3f7ea024]
call edi
push eax
push dword [0x3f7ea024]
call ebx
push eax
call ebp
push 0xa
push 0x3e5
mov dword [esi + 0x94c], eax
push dword [0x3f7ea024]
call edi
push eax
push dword [0x3f7ea024]
call ebx
push eax
call ebp
movzx eax, word [eax]
lea edi, [esi + 0x95c]
push 4
mov dword [edi], eax
shl eax, 2
push eax
call fcn.3f7448c0
mov dword [esi + 0x954], eax
mov eax, dword [edi]
shl eax, 1
push eax
call fcn.3f6e901c
add esp, 0xc
mov dword [esi + 0x958], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x3f7ae8b6
Capabilities:
Accept command line arguments

Disassembly:
cmp dword [esp + 8], 1
jne 0x3f7ae93b
call dword [sym.imp.kernel32.dll_GetVersion]
push 0
mov dword [0x3f7ead10], eax
call fcn.3f7aebe8
test eax, eax
pop ecx
je 0x3f7e29c5
mov eax, dword [0x3f7ead10]
xor ecx, ecx
mov cl, byte [0x3f7ead11]
and eax, 0xff
shr dword [0x3f7ead10], 0x10
mov dword [0x3f7ead18], eax
mov dword [0x3f7ead1c], ecx
shl eax, 8
add eax, ecx
mov dword [0x3f7ead14], eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x3f7eae40], eax
call fcn.3f7aec83
mov dword [0x3f7ead08], eax
call fcn.3f7aed2c
call fcn.3f7cf2c6
call fcn.3f7af5fc
call fcn.3f7af6b6
inc dword [0x3f7ead04]
push 1
pop eax
ret 0xc
xor eax, eax
cmp dword [esp + 8], eax
jne 0x3f7ae935
cmp dword [0x3f7ead04], eax
jle 0x3f7e29c5
dec dword [0x3f7ead04]
cmp dword [0x3f7ead20], eax
jne 0x3f7ae962
call fcn.3f7ae9a8
call fcn.3f7aeb4e
call fcn.3f7aeb73
jmp 0x3f7ae935
xor eax, eax
jmp 0x3f7ae938

Function at 0x3f7ae9b7
Capabilities:
Terminate process

Disassembly:
push edi
push 1
pop edi
cmp dword [0x3f7eae64], edi
je 0x3f7e3905
cmp dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x3f7ead20], edi
mov byte [0x3f7eae60], bl
jne 0x3f7ae9fd
mov eax, dword [0x3f7eae68]
test eax, eax
jne 0x3f7e391b
push 0x3f7eae50
push 0x3f7eae48
call fcn.3f7ae96e
pop ecx
pop ecx
push 0x3f7eae5c
push 0x3f7eae54
call fcn.3f7ae96e
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x3f7e3942
pop edi
ret
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
jmp 0x3f7ae9c7
mov ecx, dword [0x3f7f9da0]
push esi
lea esi, [ecx - 4]
cmp esi, eax
jb 0x3f7e393c
mov eax, dword [esi]
test eax, eax
je 0x3f7e3931
call eax
sub esi, 4
cmp esi, dword [0x3f7eae68]
jae 0x3f7e3929
pop esi
jmp 0x3f7ae9ec
push dword [esp + 8]
mov dword [0x3f7eae64], edi
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x3f7aec83
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x3f7eb338]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x3f7e551f
call ebp
mov esi, eax
cmp esi, ebx
je 0x3f7e5503
mov dword [0x3f7eb338], 1
cmp esi, ebx
je 0x3f7e5529
cmp word [esi], bx
mov eax, esi
je 0x3f7aecd5
inc eax
inc eax
cmp word [eax], bx
jne 0x3f7aecc7
inc eax
inc eax
cmp word [eax], bx
jne 0x3f7aecc7
sub eax, esi
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sar eax, 1
push ebx
push ebx
inc eax
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x3f7aed1c
push ebp
call fcn.3f6e901c
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x3f7aed1c
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x3f7e5536
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x3f7e559d
mov dword [0x3f7eb338], 2
jmp 0x3f7e554e
cmp eax, 1
jne 0x3f7e5549
jmp 0x3f7aecb8
call ebp
mov esi, eax
cmp esi, ebx
je 0x3f7e559d
jmp 0x3f7aecc0
push dword [esp + 0x10]
call fcn.3f6e9364
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x3f7aed18
cmp eax, 2
jne 0x3f7e559d
cmp edi, ebx
jne 0x3f7e555e
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x3f7e559d
cmp byte [edi], bl
mov eax, edi
je 0x3f7e556e
inc eax
cmp byte [eax], bl
jne 0x3f7e5564
inc eax
cmp byte [eax], bl
jne 0x3f7e5564
sub eax, edi
inc eax
mov ebp, eax
push ebp
call fcn.3f6e901c
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x3f7e5584
xor esi, esi
jmp 0x3f7e558f
push ebp
push edi
push esi
call fcn.3f7cf2c6
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, esi
jmp 0x3f7aed25
xor eax, eax
jmp 0x3f7aed25