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

Disassembly:
mov byte [ebp - 9], 0xbf
call fcn.100063df
push eax
push esi
push dword [ebp + 8]
call fcn.10006394
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100063df
push eax
push esi
push dword [ebp + 8]
call fcn.10006394
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100063df
push eax
push esi
push dword [ebp + 8]
call fcn.10006394
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100063cf
sbb bh, al
loope 0x100068a0
invalid
popfd
Function at 0x10006af0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10006aa6
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10006ac4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10006b22
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
invalid
invalid
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sbb byte [ebx], bh
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10006b09
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10006b12
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10006b1c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10006afe
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10006a88
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10006b6f
dec eax
je 0x10006b66
sub eax, 3
je 0x10006b5d
mov dword [ebp - 4], 0x40
jmp 0x10006b8c
mov dword [ebp - 4], 4
jmp 0x10006b72
mov dword [ebp - 4], 0x20
jmp 0x10006b72
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10006bbe
sal byte [edx + esi - 0x75], 0x85
push esp
invalid
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10006b3e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100063cf
jecxz 0x10006b89
push 0x8000
push ebx
push esi
call dword [ebp - 8]
Function at 0x10006b00
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10006aa6
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10006ac4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10006b22
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
invalid
invalid
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sbb byte [ebx], bh
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10006b09
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10006b12
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10006b1c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10006afe
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10006a88
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10006b6f
dec eax
je 0x10006b66
sub eax, 3
je 0x10006b5d
mov dword [ebp - 4], 0x40
jmp 0x10006b8c
mov dword [ebp - 4], 4
jmp 0x10006b72
mov dword [ebp - 4], 0x20
jmp 0x10006b72
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10006bbe
sal byte [edx + esi - 0x75], 0x85
push esp
invalid
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10006b3e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100063cf
jecxz 0x10006b89
push 0x8000
push ebx
push esi
call dword [ebp - 8]

Function at 0x100072a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.100063ad
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
Function at 0x10007330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55

Function at 0x100077b3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esp
add ebx, esp
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.10006340
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x100077dc
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x10007825
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x100077cf
call fcn.100063cf
nop
cmp al, 0x3c
xchg esi, eax
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.100063cf
lea edx, [0x858decf6]
aam 0xf8
invalid

Function at 0x10007f7a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.100063df
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.10006340
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x10008347
add eax, dword [eax]
invalid
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.100063cf
test al, 0x2d
mov eax, 0x60b5ffa4
cld
invalid
Function at 0x411734
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestRollingMean.exe_gMozillaPoisonSize], eax
call fcn.0040d98d
pop ecx
mov ecx, dword [sym.TestRollingMean.exe_gMozillaPoisonSize]
mov dword [sym.TestRollingMean.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x41176c
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestRollingMean.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x2a88cb78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x2a88cb87
pop dword [ebp - 0x34]
mov eax, 0xed885d2b
add eax, 0x3d006e5c
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x5ea367f8
sub dword [ebp - 0x44], 0x105122ad
mov dword [ebp - 0x40], 0xbb055d7
sub dword [ebp - 0x40], 0xd97d0992
mov dword [ebp - 0x3c], 0xd9ba1607
sub dword [ebp - 0x3c], 0x8d6dd1d9
mov dword [ebp - 0x38], 0xc484090
sub dword [ebp - 0x38], 0xc484090
lea eax, [ebp - 0x44]
push eax
mov eax, 0x3b15ffeb
sub eax, 0x107d7e87
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x6153cf71
add dword [ebp - 0x44], 0x131e99e5
mov dword [ebp - 0x40], 0x8ec111e1
add dword [ebp - 0x40], 0xb2ab4f94
mov dword [ebp - 0x3c], 0x300fd8ab
add dword [ebp - 0x3c], 0x335f93c1
mov dword [ebp - 0x38], 0x724ab019
sub dword [ebp - 0x38], 0x724ab019
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xaae9aa57
sub eax, 0x805128fb
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x46f37
push 0
call eax
mov ecx, 0x3963
xor edx, edx
add edx, eax
mov esi, 0xb4867e18
sub esi, 0x89e41418
add esi, dword [ebp - 0x34]
mov ebx, 0x1ff67ec5
add ebx, 0x1375ecd3
sub dword [ebp - 0x2c], 0xacaf1bc1
mov edi, dword [esi]
xor dword [ebp - 4], 0xd0248344
add edi, ebx
sub dword [ebp - 0x10], 0x72c3a68c
mov dword [edx], edi
add edx, 4
add esi, 4
loop 0x2a88cca5
add eax, 0x927363fd
sub eax, 0x92728b9e
xor ebx, ebx
add ebx, eax
add eax, 0xb8050401
sub eax, 0xb80503fc
mov ecx, 0x2a800000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x405ed1
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x502406
call fcn.004db7f5
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
and dword [edi], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
sub eax, 0x200
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp eax, 0xe
ja 0x405f36
push 0x10
call esi
mov ecx, 0x8000
test cx, ax
jne 0x405f2a
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
jne 0x405f2a
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x405f36
xor ebx, ebx
inc ebx
mov dword [edi], ebx
mov eax, ebx
jmp 0x40600f
mov eax, dword [ebx + 4]
sub eax, 0x100
cmp eax, 9
ja 0x406009
push 0x11
call esi
mov ecx, 0x8000
test cx, ax
je 0x405f67
cmp dword [ebx + 8], 0x58
je 0x405f67
cmp dword [ebx + 8], 0x43
je 0x405f67
cmp dword [ebx + 8], 0x56
jne 0x405f2a
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
je 0x405f81
cmp dword [ebx + 8], 0x25
je 0x405f2a
cmp dword [ebx + 8], 0x27
je 0x405f2a
cmp dword [ebx + 4], 0x100
jne 0x406009
mov eax, dword [ebx + 8]
cmp eax, 8
jne 0x405ffa
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x14]
call fcn.0040d972
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x405fac
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov byte [ebp - 4], 2
test esi, esi
je 0x405fdd
mov dl, bl
mov ecx, esi
call fcn.0040da0f
test al, al
je 0x405fdd
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
jmp 0x405ffd
mov dword [edi], ebx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
test esi, esi
je 0x405f2f
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x405f2f
xor ebx, ebx
inc ebx
add eax, 0xffffff90
cmp eax, 0xb
jbe 0x405f2d
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.004db742
ret 0x10
Function at 0x406bdf
Capabilities:
Check if file exists

Disassembly:
push 0
mov eax, 0x50285e
call fcn.004db753
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x406cbf
mov eax, dword [0x57f354]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00406d83
and dword [ebp - 4], 0
mov ecx, 0x57f354
push dword [eax]
call fcn.00407037
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040d635
test esi, esi
jne 0x406c75
mov eax, dword [0x57f354]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00406e54
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406cb0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x406cb0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040d635
push 1
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00406de8
mov dword [ebp - 4], 6
push 0x534024
push dword [eax]
call fcn.004e37c0
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040d635
test esi, esi
je 0x406cbf
mov al, 1
jmp 0x406cc1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.0040d635
xor al, al
call fcn.004db71c
ret 4

Function at 0x40d493
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d4e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d4e7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x40d4d9
cmp esi, ecx
jae 0x40d4e7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x40d4c7
cmp esi, ecx
jae 0x40d4e7
cmp word [esi], 0
je 0x40d4e7
mov eax, esi
jmp 0x40d4e9
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x40dac7
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x503bac
call fcn.004db787
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x48], esi
and dword [ebp - 0x44], 0
xor edi, edi
mov eax, dword fs:[0x2c]
inc edi
mov dword [ebp - 0x54], esi
mov ecx, dword [eax]
mov eax, dword [0x5826ec]
cmp eax, dword [ecx + 4]
jg 0x40dc5e
push 0x534888
lea ecx, [ebp - 0x40]
call fcn.00404285
mov dword [ebp - 4], 2
lea edx, [ebp - 0x40]
push edi
lea ecx, [ebp - 0x28]
call fcn.0046bc50
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040569b
push str.html
lea ecx, [ebp - 0x40]
call fcn.00404285
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046b130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040569b
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046d470
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x40db6b
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x50], 0x533e68
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.0040569b
cmp edi, 0xffffffff
jne 0x40dbcf
xor ebx, ebx
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 4
push edi
mov dword [ebp - 0x50], 0x533e68
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
jmp 0x40dc4b
mov eax, dword [0x5826f4]
cmp dword [0x5826f8], eax
je 0x40dbf1
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
call fcn.0046f430
add dword [0x5826f4], 0x18
pop ecx
jmp 0x40dc00
lea edx, [ebp - 0x28]
mov ecx, 0x5826f0
push edx
push eax
call fcn.0046f530
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x40dc0a
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x48]
xor ebx, ebx
add eax, eax
push ebx
push edx
push eax
push ecx
push edi
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ebp - 0x28]
call fcn.0046d470
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x50], 0x533e68
test edi, edi
je 0x40dc4b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov eax, esi
call fcn.004db731
ret
push 0x5826ec
call fcn.004dafeb
cmp dword [0x5826ec], 0xffffffff
pop ecx
jne 0x40dafd
mov dword [ebp - 4], edi
mov ecx, 0x5826f0
call fcn.0046e8f0
push 0x525c4a
call fcn.004dae13
mov byte [ebp - 4], 0
mov dword [esp], 0x5826ec
call fcn.004dafa1
pop ecx
jmp 0x40dafd

Function at 0x40ed4e
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push esi
mov esi, dword [esp + 0xc]
sub esi, edx
push edi
xor edi, edi
cmp edx, dword [esp + 0x10]
cmova esi, eax
test esi, esi
je 0x40ed7e
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x40ed69
jmp 0x40ed80
mov eax, dword [ecx]
pop edi
pop esi
ret 8
Function at 0x410cb2
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea esi, [eax + 1]
push esi
call fcn.0040d74e
push esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.00410c89
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x41c750
Capabilities:
Parse credit card information

Disassembly:
push 0x2c
mov eax, 0x506b2a
call fcn.004db787
mov ebx, ecx
mov edi, ebx
lea eax, [ebx - 0x218]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0
je 0x41c89e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x434
push dword [edi + 0x154]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x41c89a
mov al, byte [ebp + 8]
cbw
push eax
mov dword [ebp - 0x38], eax
call fcn.004e3cf2
pop ecx
test eax, eax
je 0x41c89a
movsx ecx, byte [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
je 0x41c89e
call fcn.0040d32d
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d156
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 4]
call fcn.00410cb2
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push esi
call fcn.00404285
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebx + 0x14]
jae 0x41c870
add ebx, 4
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x41c80f
mov eax, dword [ebx]
movzx eax, word [eax + ecx*2]
cmp eax, 0x3d
ja 0x41c83e
je 0x41c87c
sub eax, 0x23
je 0x41c82a
dec eax
sub eax, 1
je 0x41c82a
sub eax, 1
jmp 0x41c850
push dword [ebp - 0x38]
call fcn.004e3cdf
pop ecx
test eax, eax
jne 0x41c87c
push 0x1056
jmp 0x41c868
cmp eax, 0x3f
jb 0x41c852
cmp eax, 0x40
jbe 0x41c87c
cmp eax, 0x5e
je 0x41c87c
cmp eax, 0x60
je 0x41c87c
cmp dword [ebx + 0x14], 8
jb 0x41c85a
mov ebx, dword [ebx]
movzx eax, word [ebx + ecx*2]
cmp dword [ebp - 0x2c], eax
je 0x41c87c
push 0x1057
push ecx
mov ecx, edi
call fcn.0041c50a
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
xor ebx, ebx
jmp 0x41c87e
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d635
mov al, bl
jmp 0x41c8a0
mov al, 1
jmp 0x41c8a0
xor al, al
call fcn.004db731
ret 4