joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
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 0x100010bb
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 0x100010d1
mov ecx, dword [esp + 0x34]
push ecx
call edi
test eax, eax
je 0x100010e0
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 0x100010f0
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.10001000
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.10001000
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.10001000
mov ebx, eax
mov eax, dword [esp + 0x6c]
add esp, 0x24
test eax, eax
je 0x10001244
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 0x10001260
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.10001000
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.10001000
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 0x100015e0
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.10001000
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 0x1000173d
push esi
push edi
add ebp, 0x10
jmp 0x100016af
mov ecx, dword [esp + 0x14]
cmp dword [ebp], 0
jne 0x100016e9
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x1000171b
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 0x1000171b
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 0x100016ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x10001750
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.10001000
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.10001000
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 0x100018fb
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 0x1000189b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x1c]
jmp 0x100018e1
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [edi + edx*2]
mov edi, dword [ecx*4 + 0x10007030]
je 0x100018b5
or edi, 0x200
mov edx, dword [ebp - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x100018d0
test al, 0x40
je 0x100018c7
mov ecx, dword [esi + 0x20]
jmp 0x100018ce
test al, 0x80
je 0x100018e1
mov ecx, dword [esi + 0x24]
test ecx, ecx
jbe 0x100018e1
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 0x10001869
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x10001990
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.10001000
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.10001000
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 0x10001b7e
mov esi, dword [eax]
push 0x14
add esi, ebx
push esi
mov dword [esp + 0x18], esi
call ebp
test eax, eax
jne 0x10001b88
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10001b88
add eax, ebx
push eax
call dword [esp + 0x18]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10001b74
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.100010f0
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x10001b74
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 0x10001b12
mov esi, dword [esi + 0x10]
lea edi, [eax + ebx]
add esi, ebx
jmp 0x10001b1a
mov edx, dword [esi + 0x10]
lea edi, [edx + ebx]
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x10001b51
test eax, 0x80000000
je 0x10001b2e
and eax, 0xffff
jmp 0x10001b32
lea eax, [eax + ebx + 2]
push eax
push 0
push ebp
call fcn.10001000
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x10001b74
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
jne 0x10001b20
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 0x10001b88
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
jmp 0x10001aba
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 0x10001c70
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.10001000
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.10001000
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.10001000
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.10001000
mov esi, dword [esp + 0x90]
add esp, 0x30
cmp esi, edi
mov ebx, eax
je 0x10001e5e
cmp dword [esi + 0x10], edi
je 0x10001e13
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 0x10001e41
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x10001e35
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*4]
cmp eax, 0xffffffff
je 0x10001e2d
push eax
call ebp
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x10001e1f
mov eax, dword [esi + 8]
push eax
call fcn.10001260
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x10001e54
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 0x403140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x489020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031b8
xor eax, eax
push ebp
push 0x4031b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4031f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x489020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x489020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f84
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b04c], 0
je 0x403fe5
cmp word [0x48b220], 0xd7b2
jne 0x403fad
cmp dword [0x48b228], 0
jbe 0x403fad
mov eax, 0x48b21c
call dword [0x48b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48906c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40400c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x489030], 0
jne 0x404001
push 0
push 0x489064
push 0x48906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4063c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40642a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404370
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d04
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406414
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406431
lea eax, [ebp - 0x10]
call fcn.00404100
ret

Function at 0x40bce8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041f0
jmp 0x40bd2a
mov eax, ebx
mov edx, esi
call fcn.00404154
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd34
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd55
mov al, byte [esp]
jmp 0x40bd57
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c3dc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c254
mov eax, dword [0x48aa78]
cmp byte [eax], 0
je 0x40c458
mov eax, dword [0x48a7a8]
call fcn.00402ac8
call fcn.00402938
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408f04
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c4a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c48e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48a734]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48b668]
call fcn.004058bc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cd60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ce36
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404198
lea eax, [ebp - 8]
call fcn.00404610
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045c0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce20
mov eax, ebx
call fcn.004027d0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045c0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce03
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ce48
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce03
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce20
mov eax, dword [ebp - 0x10]
call fcn.004027f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce3d
lea eax, [ebp - 8]
call fcn.00404100
ret

Function at 0x40d348
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d3ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404370
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a2c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3b3
lea eax, [ebp - 0xc]
call fcn.00404100
ret

Function at 0x423ca4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48b888
cmp dword [edi], 0
jne 0x423d20
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48b884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48964c
mov ecx, 2
call fcn.004029cc
mov edx, 0x423c7c
lea eax, [esi + 5]
call fcn.00423c9c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423c9c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x423cf5
mov dword [0x48b884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x425294
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42529a
ret
Function at 0x427730
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x427781
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427768
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427758
jmp 0x427781
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x427769
pop ebx
mov esp, ebp
pop ebp
ret