joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c0e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8deb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], 0
push 0
push eax
call fcn.0059e610
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x41c25c
test eax, eax
je 0x41c25c
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41c183
xor ecx, ecx
jmp 0x41c19f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c190
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004166c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41c21b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41c21b
lea ecx, [ebp - 0x250]
call fcn.0041c020
push eax
lea ecx, [ebp - 0x230]
call fcn.004202c0
lea ecx, [ebp - 0x250]
call fcn.00416530
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.00416e80
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x41c263
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00416980
jmp 0x41c263
mov ecx, esi
call fcn.0041c020
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41c280
Capabilities:
Check if file exists
Create directory
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8e48
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x23c], esi
mov dword [esi + 0x10], 0
jb 0x41c2f2
mov eax, dword [esi]
jmp 0x41c2f4
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, esi
push 0x64c600
call fcn.004166c0
mov dword [ebp - 4], 0
mov ax, word [0x64c600]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
mov dword [ebp - 0x21c], 1
call fcn.0059e610
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0
push 0x26
push eax
push 0
call edi
test eax, eax
jne 0x41c39a
push eax
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call edi
test eax, eax
jne 0x41c39a
push eax
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call edi
test eax, eax
jne 0x41c39a
lea ecx, [ebp - 0x234]
call fcn.0041c020
push eax
mov ecx, esi
call fcn.004202c0
lea ecx, [ebp - 0x234]
call fcn.00416530
jmp 0x41c466
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x218], ax
jne 0x41c3c4
xor ecx, ecx
jmp 0x41c3df
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c3d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004166c0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
cmp esi, eax
je 0x41c444
cmp dword [esi + 0x14], 8
jb 0x41c417
mov eax, dword [esi + 0x14]
mov ecx, esi
inc eax
push eax
push dword [esi]
call fcn.00416980
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41c42f
mov eax, dword [esi]
jmp 0x41c431
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.00416e80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x41c466
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00416980
push 0xe
push str.yxq_nethelper
mov ecx, esi
call fcn.00417570
cmp dword [esi + 0x14], 8
jb 0x41c47e
mov eax, dword [esi]
jmp 0x41c480
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c4a0
cmp dword [esi + 0x14], 8
jb 0x41c495
mov eax, dword [esi]
jmp 0x41c497
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41c4c0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0059e610
mov dword [ebp - 4], 0
add esp, 0xc
xor bl, bl
mov dword [ebp - 0x238], 0x207
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x23c], 0
jb 0x41c539
mov esi, dword [esi]
lea eax, [ebp - 0x23c]
push eax
push 1
push 0
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c60b
cmp dword [edi + 0x14], 8
jb 0x41c560
mov edi, dword [edi]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push edi
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c5ff
mov eax, dword [ebp - 0x238]
test eax, eax
jle 0x41c5ff
cmp eax, 0x207
jge 0x41c5ff
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c5ff
push dword [ebp - 0x238]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00420340
push 0x14
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.00420a70
cmp eax, 0xffffffff
je 0x41c5f4
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x234]
cmp eax, ecx
je 0x41c5f2
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004167c0
mov bl, 1
lea ecx, [ebp - 0x234]
call fcn.00416530
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41c8f0
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
cmp dword [ebx + 0x10], 0
je 0x41cabc
cmp dword [esi + 0x10], 0
je 0x41cabc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x41cabc
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0059e610
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 0x210], 0x208
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
cmp eax, 0x104
jg 0x41cabc
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x218], 0
jb 0x41c97b
mov eax, dword [ebx]
jmp 0x41c97d
mov eax, ebx
lea ecx, [ebp - 0x218]
push ecx
push 0xf003f
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ca42
cmp dword [esi + 0x14], 8
jb 0x41c9a9
mov eax, dword [esi]
jmp 0x41c9ab
mov eax, esi
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ca75
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ca75
cmp dword [edi + 0x14], 8
jb 0x41c9f1
mov eax, dword [edi]
jmp 0x41c9f3
mov eax, edi
lea ecx, [ebp - 0x20c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ca26
test dx, dx
je 0x41ca22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ca26
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ca00
xor eax, eax
jmp 0x41ca2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41ca75
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x14], 8
jb 0x41ca4a
mov ebx, dword [ebx]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ebx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ca9d
cmp dword [edi + 0x14], 8
jb 0x41ca7d
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x41ca85
mov esi, dword [esi]
push dword [ebp - 0x21c]
push edi
push 1
push 0
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41cad0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x41cad8
mov ecx, dword [ecx]
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41cafd
xor al, al
pop edi
ret
push esi
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x41cb21
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop edi
ret
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x41cb47
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop esi
xor al, al
pop edi
ret
push ebx
mov eax, 0x5a4d
xor bl, bl
cmp ax, word [ecx]
jne 0x41cb69
mov eax, dword [ecx + 0x3c]
mov edx, 1
movzx ebx, bl
cmp dword [ecx + eax], 0x4550
cmove ebx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, bl
pop ebx
pop esi
pop edi
ret
Function at 0x41da60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x660124]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x208
mov dword [esp + 0x20], eax
mov esi, ecx
lea eax, [esp + 0x54]
mov dword [esp + 0x1c], edx
push 0
push eax
mov dword [esp + 0x20], esi
call fcn.0059e610
add esp, 0xc
mov dword [esi], 2
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0x208
xor edi, edi
mov dword [esp + 0x20], 0
mov dword [ebx], edi
push eax
push 1
push edi
push str.SOFTWARElamyuxunyou_yxqNetHelper
push reloc.WS2_32.dll_bind
mov dword [ebx + 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dbed
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
push edi
push edi
push str.nwrank_yxq
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41dbe3
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
call fcn.00416570
cmp dword [esp + 0x38], edi
je 0x41dbcb
xor esi, esi
lea eax, [esp + 0x50]
push esi
xorps xmm0, xmm0
push 0x64fbf8
push eax
movups xmmword [esp + 0x4c], xmm0
call fcn.005abbd3
add esp, 0xc
test eax, eax
je 0x41dbcb
push 0
push 0x64fbf8
mov dword [esp + esi*4 + 0x48], eax
inc esi
push 0
call fcn.005abbd3
add esp, 0xc
test eax, eax
jne 0x41db42
cmp esi, 4
jne 0x41dbcb
push dword [esp + 0x4c]
call fcn.005ab660
push 0
mov esi, eax
mov dword [esp + 0x18], edx
call fcn.005abc77
add esp, 8
sub eax, esi
sbb edx, dword [esp + 0x10]
test edx, edx
jg 0x41dbcb
jl 0x41db8d
cmp eax, 0x1c20
jae 0x41dbcb
push dword [esp + 0x40]
call fcn.005ab68a
mov ecx, dword [esp + 0x18]
push dword [esp + 0x48]
mov dword [ecx], eax
call fcn.005ab68a
mov ecx, dword [esp + 0x20]
push dword [esp + 0x50]
mov dword [ecx], eax
call fcn.005ab68a
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edi, 1
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 8
jb 0x41dbe3
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.00416980
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x25c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41dc10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x310], 0
push 0
push eax
call fcn.0059e610
push 0x200
lea eax, [ebp - 0x308]
mov dword [ebp - 0x30c], 0x104
push 0
push eax
call fcn.0059e610
add esp, 0x18
lea eax, [ebp - 0x310]
push eax
push 0xf003f
push 0
push str.SOFTWARElamyuxunyou_yxqNetHelper
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dcd1
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.nwrank_yxq
push dword [ebp - 0x310]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
test eax, eax
lea eax, [ebp - 0x308]
push eax
push 1
push 0
push str.nwrank_yxq
push dword [ebp - 0x310]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x310]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41f630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9291
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x468], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f6a0
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41f6a7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41f8b1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x464], 0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x43c], ax
jne 0x41f6ea
xor ecx, ecx
jmp 0x41f702
lea ecx, [ebp - 0x43c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f6f3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004166c0
mov dword [ebp - 4], 0
cmp byte [esi], 0
je 0x41f822
push dword [ebp - 0x458]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x20a
mov esi, eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0059e610
add esp, 0xc
test esi, esi
je 0x41f822
push 0x105
lea eax, [ebp - 0x21c]
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x41f81f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x484]
call fcn.00416570
mov edi, eax
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x41f7da
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x41f7b1
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00416980
xor eax, eax
mov dword [ebp - 0x220], 7
push edi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.00416e80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x470]
cmp eax, 8
jb 0x41f7fc
inc eax
lea ecx, [ebp - 0x484]
push eax
push dword [ebp - 0x484]
call fcn.00416980
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x470], 7
mov dword [ebp - 0x474], 0
mov word [ebp - 0x484], ax
push esi
call edi
cmp dword [ebp - 0x220], 8
lea esi, [ebp - 0x234]
mov ecx, dword [ebp - 0x468]
cmovae esi, dword [ebp - 0x234]
call fcn.00416470
push eax
push esi
call fcn.005ab9a2
add esp, 8
test eax, eax
je 0x41f891
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x41f874
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00416980
lea eax, [ebp - 0x460]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41f8a8
mov esi, dword [ebp - 0x46c]
jmp 0x41f6c0
mov eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x464], eax
call fcn.00416530
push ebx
call edi
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x4276a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 0
mov dword [esp + 0x18], edi
call fcn.005abc77
add esp, 4
mov dword [edi + 0x58], eax
mov edx, 1
lea esi, [edi + 0x5c]
mov ecx, eax
lea esi, [esi + 4]
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [esi - 4], eax
cmp edx, 0x270
jl 0x4276c7
lea eax, [edi + 0x3c]
mov dword [edi + 0x54], 0x270
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x64c3a4
lea ecx, [edi + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00402e10
lea eax, [edi + 0x30]
mov edi, eax
nop
mov esi, dword [edi]
mov eax, esi
mov ecx, dword [edi + 4]
mov edx, ecx
mov dword [esp + 0x10], ecx
xor ebx, ebx
xor ecx, ecx
lock cmpxchg8b qword [edi]
cmp esi, eax
jne 0x427720
cmp dword [esp + 0x10], edx
jne 0x427720
mov eax, dword [esp + 0x14]
xor cl, cl
add eax, 0x38
xchg byte [eax], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427b30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x427b40
pop esi
ret

Function at 0x427b80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x427b90
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x427bd2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x427c50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, 0x1571
mov eax, 1
mov dword [edi + 0x1384], 0xffffffff
lea esi, [edi + 8]
mov dword [edi + 4], 0x1571
mov ecx, edx
lea esi, [esi + 4]
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
inc eax
mov dword [esi - 4], edx
cmp eax, 0x270
jl 0x427c72
mov dword [edi], 0x270
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x4293e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca1ae
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1a4], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b8], edi
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi], vtable.DefaultSender.0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x14]
push 0
mov dword [ebp - 0x1a4], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b270
mov dword [esi], eax
lea eax, [edi + 0x1c]
push 2
push eax
call fcn.0058388a
lea eax, [edi + 0x4c]
push eax
call fcn.005828f6
add esp, 0xc
mov dword [edi + 0x88], 0xf
mov dword [edi + 0x84], 0
cmp dword [edi + 0x88], 0x10
jb 0x42949f
mov eax, dword [edi + 0x74]
jmp 0x4294a2
lea eax, [edi + 0x74]
mov byte [eax], 0
lea eax, [edi + 0x8c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4294c1
mov eax, dword [eax]
mov byte [eax], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0xa4]
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b1c0
mov dword [esi], eax
push 0x1e
push str.open_data_router_api.wyjsq.com
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 7
call fcn.00402e10
mov ecx, edi
call fcn.0042a790
push 0x190
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.0059e610
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 3
call fcn.00431530
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edi
push eax
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 0x42a850
lea ecx, [ebp - 0x1a4]
call fcn.0042b4d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b4]
call fcn.0042b510
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x429582
push 8
push eax
call fcn.00584968
add esp, 8
cmp dword [edi + 0x10], 0
je 0x42958d
call fcn.005a8356
mov ecx, dword [ebp - 0x1b4]
mov eax, edi
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x1b0]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret 4