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

Disassembly:
sub esp, 0x20
mov al, 0x45
mov cl, 0x6c
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x4c
mov byte [esp + 0x1a], cl
mov byte [esp + 0x15], al
mov byte [esp], al
mov byte [esp + 4], al
mov byte [esp + 0x1b], cl
mov al, 0x72
mov cl, 0x61
push ebp
mov byte [esp + 0xb], al
mov byte [esp + 0xd], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [esp + 0xa], cl
mov byte [esp + 0x10], cl
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x64
push eax
push ecx
mov byte [esp + 0x24], 0x4b
mov byte [esp + 0x26], 0x52
mov byte [esp + 0x27], 0x4e
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], dl
mov byte [esp + 0x30], 0
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0x17], dl
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x62
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 0x41
mov byte [esp + 0x20], 0
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov edi, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4049eb
mov edx, dword [esp + 0x38]
push edx
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret
mov eax, dword [esp + 0x34]
push eax
call esi
test eax, eax
jne 0x404a01
mov ecx, dword [esp + 0x34]
push ecx
call edi
test eax, eax
je 0x404a10
mov edx, dword [esp + 0x38]
push edx
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x404a20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov al, 0x45
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov al, 0x73
push esi
mov byte [esp + 0x38], al
mov byte [esp + 0x39], al
lea eax, [esp + 0x30]
push edi
lea ecx, [esp + 0x24]
push eax
mov bl, 0x65
push ecx
push 0
mov byte [esp + 0x30], 0x4b
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x4e
mov byte [esp + 0x35], 0x4c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x40], 0x47
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], 0x50
mov byte [esp + 0x44], 0x72
mov byte [esp + 0x45], 0x6f
mov byte [esp + 0x46], 0x63
mov byte [esp + 0x47], bl
mov byte [esp + 0x4a], 0x48
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x61
mov byte [esp + 0x4d], 0x70
mov byte [esp + 0x4e], 0
call fcn.00404930
mov esi, eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x30]
push edx
push eax
push 0
mov byte [esp + 0x30], 0x48
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x52
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0x6c
mov byte [esp + 0x38], 0x6c
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], 0
call fcn.00404930
lea ecx, [esp + 0x24]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
mov edi, eax
mov byte [esp + 0x30], 0x48
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x41
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x6c
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], 0x63
mov byte [esp + 0x39], 0
call fcn.00404930
mov ebx, eax
mov eax, dword [esp + 0x6c]
add esp, 0x24
test eax, eax
je 0x404b74
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push 0
call esi
push eax
call edi
pop edi
pop esi
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x4c]
push edx
push 0
call esi
push eax
call ebx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x404b90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x45
push ebx
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
push esi
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x73
push edi
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
mov bl, 0x65
push ecx
push 0
mov byte [esp + 0x24], 0x4b
mov byte [esp + 0x26], 0x52
mov byte [esp + 0x27], 0x4e
mov byte [esp + 0x29], 0x4c
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], 0
mov byte [esp + 0x34], 0x47
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x37], 0x50
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3e], 0x48
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x41], 0x70
mov byte [esp + 0x42], 0
call fcn.00404930
mov esi, eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
push 0
mov byte [esp + 0x24], 0x48
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0
call fcn.00404930
mov ecx, dword [esp + 0x54]
add esp, 0x18
mov edi, eax
push ecx
push 0
call esi
push eax
call edi
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x404f10
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov al, 0x45
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov al, 0x6c
push ebp
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x16], al
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
mov byte [esp + 0x2c], 0x4b
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], 0x4e
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x38], 0
mov byte [esp + 0x1c], 0x56
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x74
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x28], 0
call fcn.00404930
mov ebx, eax
mov eax, dword [esp + 0x48]
xor edx, edx
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebp, [edx + eax + 0x18]
jbe 0x40506d
push esi
push edi
add ebp, 0x10
jmp 0x404fdf
mov ecx, dword [esp + 0x14]
cmp dword [ebp], 0
jne 0x405019
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x40504b
mov edx, dword [ebp - 4]
push 4
push 0x1000
add edx, ecx
push esi
push edx
call ebx
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40504b
mov edx, dword [ebp - 4]
mov eax, dword [ebp]
push 4
push 0x1000
add edx, ecx
push eax
push edx
call ebx
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [esp + 0x3c]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
inc eax
add ebp, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x404fdb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x405080
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov al, 0x45
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
lea eax, [esp + 0x10]
push esi
lea ecx, [esp + 0x20]
push eax
mov bl, 0x74
push ecx
push 0
mov byte [esp + 0x2c], 0x4b
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], 0x4e
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], 0x6c
mov byte [esp + 0x37], 0x6c
mov byte [esp + 0x38], 0
mov byte [esp + 0x20], 0x56
mov byte [esp + 0x21], 0x69
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0x75
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], 0x6c
mov byte [esp + 0x27], 0x46
mov byte [esp + 0x28], 0x72
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0
call fcn.00404930
mov dword [esp + 0x14], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x2c]
push edx
push eax
push 0
mov byte [esp + 0x48], 0x56
mov byte [esp + 0x49], 0x69
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x75
mov byte [esp + 0x4d], 0x61
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x50
mov byte [esp + 0x50], 0x72
mov byte [esp + 0x51], 0x6f
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x54], 0x63
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0
call fcn.00404930
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebx, ebx
add esp, 0x18
mov esi, dword [ecx]
mov dword [esp + 0xc], eax
mov dx, word [esi + 0x14]
cmp word [esi + 6], bx
lea eax, [edx + esi + 0x18]
jbe 0x40522b
push ebp
push edi
lea ebp, [eax + 0x24]
mov eax, dword [ebp]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov edi, eax
and ecx, 1
and edx, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x4051cb
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x1c]
jmp 0x405211
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [edi + edx*2]
mov edi, dword [ecx*4 + 0x5ea510]
je 0x4051e5
or edi, 0x200
mov edx, dword [ebp - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x405200
test al, 0x40
je 0x4051f7
mov ecx, dword [esi + 0x20]
jmp 0x4051fe
test al, 0x80
je 0x405211
mov ecx, dword [esi + 0x24]
test ecx, ecx
jbe 0x405211
mov ecx, dword [ebp - 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
push edx
push ecx
call dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
xor eax, eax
inc ebx
add ebp, 0x28
mov esi, dword [edx]
mov ax, word [esi + 6]
cmp ebx, eax
jl 0x405199
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x4052c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
mov al, 0x45
push ebx
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
mov cl, 0x52
push ebp
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
push esi
mov byte [esp + 0x1a], cl
mov byte [esp + 0x2d], cl
lea eax, [esp + 0x28]
push edi
lea ecx, [esp + 0x1c]
push eax
mov bl, 0x61
push ecx
push 0
mov byte [esp + 0x28], 0x4b
mov byte [esp + 0x2b], 0x4e
mov byte [esp + 0x2d], 0x4c
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x38], 0x49
mov byte [esp + 0x39], 0x73
mov byte [esp + 0x3a], 0x42
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0x64
mov byte [esp + 0x3e], 0x65
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x64
mov byte [esp + 0x41], 0x50
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], 0x72
mov byte [esp + 0x44], 0
call fcn.00404930
mov ebp, eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x28]
push edx
push eax
push 0
mov dword [esp + 0x30], ebp
mov byte [esp + 0x54], 0x4c
mov byte [esp + 0x55], 0x6f
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0x64
mov byte [esp + 0x58], 0x4c
mov byte [esp + 0x59], 0x69
mov byte [esp + 0x5a], 0x62
mov byte [esp + 0x5b], 0x72
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 0x72
mov byte [esp + 0x5e], 0x79
mov byte [esp + 0x5f], 0x41
mov byte [esp + 0x60], 0
call fcn.00404930
mov edi, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
add esp, 0x18
mov ecx, 1
mov eax, dword [edi]
mov ebx, dword [edi + 4]
add eax, 0x80
mov edx, dword [eax + 4]
test edx, edx
jbe 0x4054ae
mov esi, dword [eax]
push 0x14
add esi, ebx
push esi
mov dword [esp + 0x18], esi
call ebp
test eax, eax
jne 0x4054b8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4054b8
add eax, ebx
push eax
call dword [esp + 0x18]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4054a4
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.00404a20
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x4054a4
mov ecx, dword [edi + 0xc]
mov dword [eax + ecx*4], ebp
mov edx, dword [edi + 0xc]
inc edx
mov dword [edi + 0xc], edx
mov eax, dword [esi]
test eax, eax
je 0x405442
mov esi, dword [esi + 0x10]
lea edi, [eax + ebx]
add esi, ebx
jmp 0x40544a
mov edx, dword [esi + 0x10]
lea edi, [edx + ebx]
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x405481
test eax, 0x80000000
je 0x40545e
and eax, 0xffff
jmp 0x405462
lea eax, [eax + ebx + 2]
push eax
push 0
push ebp
call fcn.00404930
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x4054a4
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
jne 0x405450
mov eax, dword [esp + 0x10]
push 0x14
add eax, 0x14
push eax
mov dword [esp + 0x18], eax
call dword [esp + 0x20]
test eax, eax
jne 0x4054b8
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
jmp 0x4053ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret
Function at 0x4055a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov al, 0x45
push ebx
mov byte [esp + 0x31], al
mov byte [esp + 0x34], al
mov al, 0x4c
push ebp
mov byte [esp + 0x39], al
mov byte [esp + 0x20], al
push esi
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x3c]
push eax
xor edi, edi
mov bl, 0x65
push ecx
push edi
mov byte [esp + 0x48], 0x4b
mov byte [esp + 0x4a], 0x52
mov byte [esp + 0x4b], 0x4e
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x32
mov byte [esp + 0x50], 0x2e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x52], 0x6c
mov byte [esp + 0x53], 0x6c
mov byte [esp + 0x54], 0
mov byte [esp + 0x30], 0x46
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x62
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], 0x61
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0
call fcn.00404930
mov ebp, eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x48]
push edx
push eax
push edi
mov byte [esp + 0x48], 0x56
mov byte [esp + 0x49], 0x69
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x74
mov byte [esp + 0x4c], 0x75
mov byte [esp + 0x4d], 0x61
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x46
mov byte [esp + 0x50], 0x72
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0
call fcn.00404930
lea ecx, [esp + 0x64]
lea edx, [esp + 0x54]
mov dword [esp + 0x28], eax
push ecx
mov al, 0x73
push edx
push edi
mov byte [esp + 0x70], 0x47
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], 0x74
mov byte [esp + 0x73], 0x50
mov byte [esp + 0x74], 0x72
mov byte [esp + 0x75], 0x6f
mov byte [esp + 0x76], 0x63
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], al
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], 0x48
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], 0x61
mov byte [esp + 0x7d], 0x70
mov byte [esp + 0x7e], 0
call fcn.00404930
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x60]
push eax
push ecx
push edi
mov byte [esp + 0x48], 0x48
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x61
mov byte [esp + 0x4b], 0x70
mov byte [esp + 0x4c], 0x46
mov byte [esp + 0x4d], 0x72
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0
call fcn.00404930
mov esi, dword [esp + 0x90]
add esp, 0x30
cmp esi, edi
mov ebx, eax
je 0x40578e
cmp dword [esi + 0x10], edi
je 0x405743
mov edx, dword [esi]
mov eax, dword [esi + 4]
push edi
push edi
mov ecx, dword [edx + 0x28]
push eax
add ecx, eax
call ecx
mov dword [esi + 0x10], edi
cmp dword [esi + 8], edi
je 0x405771
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x405765
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*4]
cmp eax, 0xffffffff
je 0x40575d
push eax
call ebp
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x40574f
mov eax, dword [esi + 8]
push eax
call fcn.00404b90
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x405784
push 0x8000
push 0
push eax
call dword [esp + 0x1c]
push esi
push 0
call dword [esp + 0x1c]
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x405850
Capabilities:
Check for outputdebugstring error
Print debug messages

Disassembly:
push 0x3039
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Test_for_debugger_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x3039
sete cl
mov eax, ecx
ret

Function at 0x405880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 0x73
mov cl, 0x5c
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1d], al
lea eax, [ebp - 4]
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x17], cl
push eax
push 0xf003f
lea ecx, [ebp - 0x2c]
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0x2b], 0x4f
mov byte [ebp - 0x2a], 0x46
mov byte [ebp - 0x29], 0x54
mov byte [ebp - 0x28], 0x57
mov byte [ebp - 0x27], 0x41
mov byte [ebp - 0x26], 0x52
mov byte [ebp - 0x25], 0x45
mov byte [ebp - 0x23], 0x43
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x38
mov byte [ebp - 0x18], 0x36
mov byte [ebp - 0x16], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405914
nop
nop
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0x10
call fcn.00405850
lea edx, [ebp - 0xc]
mov byte [ebp - 0xc], 0xbe
push edx
push 0x1b3000
push 0x437510
mov byte [ebp - 0xb], 0x16
mov byte [ebp - 0xa], 0xcf
mov byte [ebp - 9], 0x52
mov byte [ebp - 8], 0xcd
call fcn.004057a0
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x4d
push eax
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0
call fcn.00405800
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41de60
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.004113a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41df2b
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 0x41df2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41dede
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41dee9
or bh, 8
and edi, 0x8000000
je 0x41df04
mov eax, dword [0x5f2a1c]
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 0x41df2b
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 0x41e300
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 0x41e32b
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 0x41e34f
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 0x41e36a
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 0x420df3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x420e2b
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.0041f611
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041f5e9
jmp 0x420e37
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x422372
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 0x4223b4
call fcn.00427390
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4223b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4223ab
xor eax, eax
jmp 0x4223bc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004223c2
pop edi
pop esi
pop ebx
ret 4
Function at 0x401867
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
mov edi, ecx
push 5
pop eax
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
push ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret