joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b8d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x3fc
lea eax, [ebp - 0x400]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x404], edi
call fcn.100114c0
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
mov byte [esi + ecx], cl
inc ecx
movzx edx, byte [edx + str.CCC________.___]
mov dword [ebp + ecx*4 - 0x408], edx
cmp ecx, 0x100
jl 0x1000b906
xor eax, eax
jmp 0x1000b930
mov cl, byte [esi + eax]
mov ebx, dword [ebp + eax*4 - 0x404]
movzx edx, cl
add ebx, edx
add edi, ebx
and edi, 0x800000ff
jns 0x1000b951
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [esi + edi]
mov byte [esi + eax], dl
inc eax
mov byte [esi + edi], cl
cmp eax, 0x100
jl 0x1000b930
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret

Function at 0x1000b980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], ecx
jbe 0x1000b9ee
push ebx
inc ecx
and ecx, 0x800000ff
jns 0x1000b9a2
dec ecx
or ecx, 0xffffff00
inc ecx
mov dl, byte [ecx + eax]
movzx ebx, dl
add esi, ebx
and esi, 0x800000ff
jns 0x1000b9ba
dec esi
or esi, 0xffffff00
inc esi
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x1000b9dd
dec ebx
or ebx, 0xffffff00
inc ebx
movzx ebx, byte [ebx + eax]
mov edx, dword [ebp + 8]
xor byte [edi + edx], bl
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x1000b991
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1000bc1d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029080]
jne 0x1000bc27
repz ret
jmp fcn.1000daa3
Function at 0x100167c7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000ff6b
and dword [ebp - 0x14], 0
cmp dword [0x1002b634], 0
mov dword [ebp - 0x18], eax
jne 0x1001687a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10016922
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10016922
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002b634], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002b638], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002b63c], eax
call edi
push eax
call esi
mov dword [0x1002b644], eax
test eax, eax
je 0x1001687a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1002b640], eax
mov eax, dword [0x1002b640]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100168d3
cmp dword [0x1002b644], ecx
je 0x100168d3
push eax
call esi
push dword [0x1002b644]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100168d3
test ebx, ebx
je 0x100168d3
call edi
test eax, eax
je 0x100168ca
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100168ca
test byte [ebp - 8], 1
jne 0x100168d3
or dword [ebp + 0x10], 0x200000
jmp 0x10016906
mov eax, dword [0x1002b638]
cmp eax, dword [ebp - 0x18]
je 0x10016906
push eax
call esi
test eax, eax
je 0x10016906
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10016906
mov eax, dword [0x1002b63c]
cmp eax, dword [ebp - 0x18]
je 0x10016906
push eax
call esi
test eax, eax
je 0x10016906
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002b634]
call esi
test eax, eax
je 0x10016922
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10016924
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000bc1d
leave
ret
Function at 0x4021e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x40225c
cmp dword [esi + 0x10], 0
jne 0x40226d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x401fb0
push 0
push 0
call fcn.00407701
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x40225c
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40226d
mov ecx, esi
call fcn.004022b0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040442d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0040442d
mov esp, ebp
pop ebp
ret
Function at 0x402bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x402c6c
cmp dword [esi + 0x10], 0
jne 0x402c7d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x402a00
push 0
push 0
call fcn.00407701
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x402c6c
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x402c7d
mov ecx, esi
call fcn.00402ca0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040442d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0040442d
mov esp, ebp
pop ebp
ret
Function at 0x403750
Capabilities:
Create thread

Disassembly:
cmp dword [0x41a45c], 0
je 0x403762
cmp dword [0x41a458], 0
jne 0x4037cc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a45c], eax
test eax, eax
je 0x4037cc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a460], eax
test eax, eax
je 0x4037cc
mov ecx, dword [0x41a45c]
push 0
push 0
push 0x41a44c
push 0x403220
mov dword [0x41a450], ecx
mov ecx, dword [0x41a464]
push 0
push 0
mov dword [0x41a454], ecx
mov dword [0x41a44c], eax
call fcn.00407701
add esp, 0x18
mov dword [0x41a458], eax
ret

Function at 0x4037d0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x41a45c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x403833
cmp dword [0x41a458], 0
je 0x403822
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push 1
push 0x41a458
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40381d
cmp eax, 0x80
je 0x40381d
push 0
push dword [0x41a458]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x41a45c]
test eax, eax
je 0x403833
push eax
call esi
mov dword [0x41a45c], 0
mov eax, dword [0x41a460]
test eax, eax
je 0x403849
push eax
call esi
mov dword [0x41a460], 0
mov eax, dword [0x41a458]
test eax, eax
je 0x40385f
push eax
call esi
mov dword [0x41a458], 0
pop esi
ret

Function at 0x403cac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x466008], 0x8088405
inc edx
mov dword [ebx + 0x466008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x404f30
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443d09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x514
push ebx
push ebp
push esi
push edi
mov ebp, ecx
or esi, 0xffffffff
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], esi
xor ebx, ebx
mov dword [ebp], 0x447530
mov dword [esp + 0x52c], ebx
mov dword [ebp + 0x20], esi
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp + 0x28]
mov byte [esp + 0x544], 1
call fcn.0043eae4
mov dword [ebp + 0x60], esi
push ebx
push ebx
push 1
push ebx
mov byte [ebp + 0x40], bl
mov byte [ebp + 0x41], bl
mov byte [ebp + 0x25], bl
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x866], bl
mov dword [ebp + 0xc], ebx
mov byte [ebp + 0x864], bl
mov byte [ebp + 0x865], bl
mov byte [ebp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp + 0x20], eax
push str..CONFIG.ini
mov byte [ebp + 0x874], bl
mov ecx, 7
mov esi, str.obs_p.shaiya.web.tr:81
mov edi, 0x45b9c0
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x447068
push str.TEST_IP
push str.LOGIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4050eb
mov edi, str.GERMANY
lea esi, [esp + 0x18]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4050eb
push 0x44743c
push str.UpdaterURL.txt
call fcn.00420e8c
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x40506d
push ebx
push str.Error
push str.Cant_Find_UpdaterURL.txt
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00420c7b
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x120]
push eax
push 0x4470ac
push esi
call fcn.00420e9f
lea eax, [esp + 0x12c]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4050a0
sub eax, edx
cmp eax, 1
jae 0x4050c6
push ebx
push str.Error
push str.Cant_Read_UpdaterURL.txt
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00420c7b
xor eax, eax
jmp 0x4050d0
mov cl, byte [esp + eax + 0x120]
mov byte [eax + 0x45b9c0], cl
inc eax
cmp cl, bl
jne 0x4050d0
push esi
call fcn.00420ddf
add esp, 4
mov ecx, dword [esp + 0x524]
pop edi
mov eax, ebp
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408800
Capabilities:
Packed with generic packer

Disassembly:
push 0xffffffffffffffff
push 0x444059
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi]
push eax
push ecx
call fcn.004212d1
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov eax, dword [esi]
push edx
push ebx
push eax
call fcn.004212d1
mov edx, dword [esi]
push 4
lea ecx, [esp + 0x4c]
push ecx
push edx
call fcn.004212d1
jmp loc.0072d07f
Function at 0x401064
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x406540
sub esp, 0x400
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor esi, esi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x414]
lea edi, [esp + 0x10]
mov eax, ebx
xor edx, edx
div dword [esp + 0x41c]
mov ebp, dword [esp + 0x418]
xor eax, eax
mov byte [ebx + ecx], bl
inc ebx
add edi, 4
cmp ebx, 0x100
mov al, byte [edx + ebp]
mov dword [edi - 4], eax
jl 0x40656a
xor eax, eax
lea edi, [esp + 0x10]
mov dl, byte [eax + ecx]
mov ebp, dword [edi]
mov ebx, edx
and ebx, 0xff
add ebx, ebp
add esi, ebx
and esi, 0x800000ff
jns 0x4065ba
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [esi + ecx]
add edi, 4
mov byte [eax + ecx], bl
inc eax
cmp eax, 0x100
mov byte [esi + ecx], dl
jl 0x406599
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret 0xc
Function at 0x4010c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x406c90
sub esp, 0x428
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
mov esi, dword [esp + 0x444]
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x440]
mov ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, ecx
xor eax, eax
mov edi, ebp
mov byte [esp + 0xd], 0x59
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dl, 0x53
and ecx, 3
mov byte [esp + 0xc], dl
rep stosb byte es:[edi], al
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x34]
mov byte [esp + 0xe], dl
rep stosd dword es:[edi], eax
mov al, 0x65
mov cl, 0x72
mov byte [esp + 0x17], al
mov byte [esp + 0x22], al
mov byte [esp + 0x26], al
mov byte [esp + 0x2b], al
mov al, 0x73
mov byte [esp + 0x15], cl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x438]
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x27], cl
mov byte [esp + 0x21], dl
mov byte [esp + 0x25], dl
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x45
mov byte [esp + 0x1d], 0x4d
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x43
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x25], 0x74
mov byte [esp + 0x26], 0x43
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0x6e
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2b], 0x6f
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2f], 0x74
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x34], 0x76
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x63
mov byte [esp + 0x39], 0x5c
mov byte [esp + 0x3a], 0x25
mov byte [esp + 0x3c], 0
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x448]
push 0
push esi
push 0
push ebp
push 1
push eax
lea ecx, [esp + 0x58]
push ecx
push connect
call fcn.004011ef
add esp, 0x2c
pop edi
pop esi
pop ebp
add esp, 0x428
ret

Function at 0x4010f5
Capabilities:
Create directory

Disassembly:
jmp 0x408650
sub esp, 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0
call ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [0x410320]
xor esi, esi
stosb byte es:[edi], al
mov edi, dword [esp + 0x114]
push edi
call fcn.00401046
test eax, eax
jbe 0x4086e4
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__access]
push 0
call ebx
cmp byte [esi + edi], 0x5c
jne 0x4086d2
mov ecx, dword [0x410320]
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00401181
lea ecx, [esp + 0x10]
push 0
push ecx
call ebp
add esp, 8
cmp eax, 0xffffffff
jne 0x4086d2
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [0x410320]
push edi
inc esi
call fcn.00401046
cmp esi, eax
jb 0x408698
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x401109
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
jmp 0x4083a0
sub esp, 0x110
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
push 0x104
push ecx
call eax
mov al, 0x6f
lea edx, [esp]
mov byte [esp + 1], al
mov byte [esp + 5], al
lea eax, [esp + 0xc]
push edx
push eax
mov byte [esp + 8], 0x5c
mov byte [esp + 0xa], 0x75
mov byte [esp + 0xb], 0x72
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xe], 0x67
mov byte [esp + 0xf], 0x2e
mov byte [esp + 0x10], 0x64
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x12], 0x74
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00401096
add esp, 0x110
ret

Function at 0x40112c
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x403220
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov dword [esp + 0x1c], ecx
push 0
call esi
push 0
mov dword [esp + 0x18], 0
call esi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x410320]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x24]
push 0x40febc
push eax
call fcn.00401037
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x124]
push ebx
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ecx, dword [0x410320]
call fcn.00401271
push 0
call esi
mov edi, dword [esp + 0x12c]
mov eax, ebx
cmp eax, edi
mov dword [esp + 0x18], ebx
jb 0x40330c
push 0
call esi
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x1c]
push 0
push edi
push ebp
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_send]
push 0
mov ebx, eax
call esi
test ebx, ebx
jg 0x4032e1
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xf
mov dword [esp + 0x10], eax
jl 0x4032b4
push 0
call esi
cmp dword [esp + 0x10], 0xf
je 0x403365
mov ecx, dword [esp + 0x14]
push 0xa
add ecx, ebx
add ebp, edi
mov dword [esp + 0x18], ecx
call esi
mov eax, dword [esp + 0x18]
sub eax, edi
cmp eax, edi
mov dword [esp + 0x18], eax
jae 0x4032a8
mov ebx, eax
test ebx, ebx
jbe 0x403358
push 0
call esi
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x1c]
push 0
push ebx
push ebp
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jg 0x403345
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xf
mov dword [esp + 0x10], eax
jl 0x40331c
push 0
call esi
cmp dword [esp + 0x10], 0xf
je 0x403365
mov eax, dword [esp + 0x14]
add eax, edi
jmp 0x40335c
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x128]
je 0x403368
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 0xc
Function at 0x401131
Capabilities:
Get common file path

Disassembly:
jmp 0x403960
push ecx
mov ax, word [0x40f44c]
push edi
mov word [esp + 6], ax
mov ecx, 0x41
xor eax, eax
mov edi, 0x410070
push 0x104
push 0x410070
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 6]
push ecx
mov ecx, dword [0x410320]
push 0x410070
call fcn.0040119f
mov edx, dword [esp + 0xc]
mov ecx, dword [0x410320]
push edx
push 0x410070
call fcn.0040119f
pop edi
pop ecx
ret

Function at 0x401140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x4092e0
sub esp, 0x30
push ebx
mov bl, 0x6c
push 0
mov byte [esp + 8], 0x72
mov byte [esp + 9], 0x75
mov byte [esp + 0xa], 0x6e
mov byte [esp + 0xb], 0x64
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x65
mov byte [esp + 0x12], 0x78
mov byte [esp + 0x13], 0x65
mov byte [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 4]
push eax
call fcn.00401073
add esp, 4
test eax, eax
je 0x4093db
mov cl, 0x2f
mov al, 0x6b
mov byte [esp + 0x1d], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
lea ecx, [esp + 0x14]
mov dl, 0x69
mov al, 0x20
push 0
push ecx
mov byte [esp + 0x1c], 0x74
mov byte [esp + 0x1d], 0x61
mov byte [esp + 0x1e], 0x73
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], al
mov byte [esp + 0x26], 0x66
mov byte [esp + 0x27], al
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x6d
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0x72
mov byte [esp + 0x2d], 0x75
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x65
mov byte [esp + 0x36], 0x78
mov byte [esp + 0x37], 0x65
mov byte [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
add esp, 0x30
ret

Function at 0x401163
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x404530
sub esp, 0x10
mov al, 0x6c
mov edx, dword [str.Consruin.dll]
mov byte [esp + 1], al
mov byte [esp + 2], al
mov al, 0x6f
lea ecx, [esp]
mov byte [esp + 4], al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x14]
mov byte [esp], 0x44
push eax
push ecx
push edx
push 0
mov byte [esp + 0x13], 0x53
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0x57
mov byte [esp + 0x18], 0x69
mov byte [esp + 0x19], 0x6e
mov byte [esp + 0x1a], 0x64
mov byte [esp + 0x1c], 0x77
mov byte [esp + 0x1d], 0
call fcn.0040113b
mov dword [0x41017c], eax
xor eax, eax
add esp, 0x20
ret 4
Function at 0x40116d
Capabilities:
Get file size

Disassembly:
jmp 0x403680
sub esp, 0x18
push esi
push edi
push 0
mov edi, ecx
push 0x80
push 3
push 0
push 0
lea eax, [edi + 0x120]
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4036c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.0040100f
pop edi
pop esi
add esp, 0x18
ret 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x410320]
lea edx, [esp + 8]
push 4
lea eax, [esp + 0x15]
push edx
push eax
mov byte [esp + 0x1c], 5
call fcn.00401037
lea ecx, [esp + 0xc]
push 4
lea edx, [esp + 0x19]
push ecx
mov ecx, dword [0x410320]
push edx
call fcn.00401037
mov ecx, dword [0x410320]
push 4
lea eax, [esp + 0x1d]
push 0x410058
push eax
call fcn.00401037
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
push 0xd
push ecx
mov ecx, edi
call fcn.004011cc
pop edi
pop esi
add esp, 0x18
ret 4

Function at 0x401190
Capabilities:
Write file on windows

Disassembly:
jmp 0x403570
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov eax, dword [ebx]
push 0
mov edi, ecx
push 0x80
mov ecx, dword [ebx + 4]
push 3
push 0
push 2
lea edx, [edi + 0x120]
push 0x40000000
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esp + 0x24]
mov esi, eax
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push 0
add eax, 0xfffffff8
push edx
add ebx, 8
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [0x410320]
mov dword [esp + 0x24], eax
lea edx, [esp + 0xc]
push 4
lea eax, [esp + 0x19]
push edx
push eax
mov byte [esp + 0x20], 4
call fcn.00401037
lea ecx, [esp + 0x24]
push 4
lea edx, [esp + 0x1d]
push ecx
mov ecx, dword [0x410320]
push edx
call fcn.00401037
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x14]
push 9
push eax
mov ecx, edi
call fcn.004011cc
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8

Function at 0x4011c7
Capabilities:
Create thread

Disassembly:
jmp 0x408fe0
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x40f984]
test eax, eax
je 0x408ffe
push 0x410324
call fcn.0040107d
add esp, 4
jmp fcn.00401019