joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404aa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x43b618]
sub edi, 1
jne 0x404b10
mov eax, dword [0x444090]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd4], edx
jne 0x404b41
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x404b50
mov byte [eax + 0x1c10], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x408f90
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x408fcd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x408fb3
cmp byte [esi], bl
jne 0x408fb3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x43b618]
test bl, bl
jne 0x408fa4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00408f30
Function at 0x40def0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x444090]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b9c]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43b618]
sub esi, 1
jne 0x40df22
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x40df69
inc ecx
test esi, esi
je 0x40df57
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x40df5c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00414580
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2eec], 0
lea esi, [edi + 0x2ef0]
je 0x412f22
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x412edc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00414850
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403600
mov edx, dword [esi]
mov ecx, 0x44408c
push dword [edi + 0x2eec]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2ef8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41c4aa
mov eax, dword [0x444090]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41c49d
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41c4db
mov eax, dword [0x444090]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41c4ce
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41c50c
mov eax, dword [0x444090]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41c4ff
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41c559
mov eax, dword [0x444090]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41c54c
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41c58a
mov eax, dword [0x444090]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41c57d
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41c5bb
mov eax, dword [0x444090]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41c5ae
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041f250
Function at 0x435710
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x435773
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x104]
push str.hl.exe
push eax
call edi
add esp, 8
test eax, eax
je 0x435783
lea eax, [ebp - 0x128]
push eax
push esi
call ebx
test eax, eax
jne 0x435750
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4357f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
push edi
push dword [0x444194]
xor edi, edi
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x43587a
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x435873
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Module32Next]
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x43586c
lea eax, [ebp - 0x224]
push eax
push esi
call ebx
test eax, eax
jne 0x435835
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x210]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4390bf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4390fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4390fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4390fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4390fe
cmp dword [ecx + 0x74], 0xe
jbe 0x4390fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40f890
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
cmp byte [eax], 2
push esi
jne 0x40f94f
cmp byte [eax + 1], 2
jne 0x40f94f
mov eax, ecx
lea esi, [eax + 1]
jmp 0x40f8c0
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40f8c0
sub eax, esi
cmp byte [eax + ecx - 1], 0xa
jne 0x40f8e6
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40f8d7
sub eax, esi
mov byte [eax + ecx - 1], dl
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40f94f
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call sub.MSVCR80.dll_memcpy
mov edx, dword [esp + 0x14]
add esp, 0xc
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x40f94f
mov ecx, eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x40f920
sub ecx, esi
push ecx
push eax
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
call sub.WS2_32.dll_WSACleanup
mov al, 1
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0043ad38
add esp, 0x14
ret 4
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
xor al, al
call fcn.0043ad38
add esp, 0x14
ret 4
Function at 0x411080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41109b
xor eax, eax
jmp 0x4110ae
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x4110a9
xor eax, eax
jmp 0x4110ae
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x411100
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffff
je 0x41111b
mov ecx, dword [ebp - 0xc]
call fcn.00411370
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffff
jne 0x41115a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
xor eax, eax
jmp 0x4111be
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 8]
xor edi, edi
sub esp, 8
fld qword [0x47e560]
fstp qword [esp]
sub esp, 8
fld qword [0x47e558]
fstp qword [esp]
call sub.MSVCR80.dll_pow
add esp, 0x10
call fcn.00464656
push edx
push eax
push edi
push esi
call fcn.004645e0
mov ecx, dword [ebp - 4]
xor esi, esi
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x411210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffff
je 0x4112b5
mov ecx, dword [ebp + 0x14]
xor edx, edx
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
adc eax, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0xc]
ja 0x4112b5
jb 0x411256
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 8]
ja 0x4112b5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4112b5
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
xor edx, edx
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
adc eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, 1
jmp 0x4112c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4112d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffff
je 0x41135b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41135b
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
xor edx, edx
mov eax, dword [ebp - 0xc]
add ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
adc eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
xor edx, edx
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
adc eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, 1
jmp 0x411369
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4275a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x370
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x374]
push ebx
push ebp
push esi
push edi
mov ecx, 0x6c
lea esi, [esp + 0x388]
lea edi, [esp + 0x1c8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x6c
lea esi, [esp + 0x1c8]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], eax
mov ebx, 3
mov ebp, 4
mov edx, ecx
xor esi, esi
mov eax, 5
sub ebx, ecx
sub ebp, edx
sub eax, ecx
lea edi, [esi + 2]
mov dword [esp + 0x14], eax
mov edi, edi
mov eax, 0xba2e8ba3
mul esi
shr edx, 6
imul edx, edx, 0x58
lea ecx, [esp + esi + 0x1a]
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x468c90]
xor byte [ecx - 2], dl
lea edx, [edi - 1]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x468c91]
xor byte [ecx - 1], dl
mov eax, 0xba2e8ba3
mul edi
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x468c92]
xor byte [ecx], dl
lea edx, [ecx + ebx]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x468c93]
xor byte [ecx + 1], dl
lea edx, [ecx + ebp]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x468c94]
xor byte [ecx + 2], dl
mov eax, dword [esp + 0x14]
lea edx, [ecx + eax]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, esi
sub eax, edx
movzx edx, byte [eax + 0x468c95]
xor byte [ecx + 3], dl
add edi, 6
add esi, 6
cmp edi, 0x1b2
jb 0x427610
mov edi, dword [esp + 0x10]
mov ecx, 0x6c
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x37c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ad38
add esp, 0x370
ret 0x1b4

Function at 0x427710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov ecx, 0x14
lea esi, [ebp + 8]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x14
lea esi, [esp + 0x60]
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, 1
lea eax, [esp + 8]
xor ecx, ecx
sub edi, eax
lea ebx, [ebx]
mov eax, 0xba2e8ba3
mul ecx
shr edx, 6
imul edx, edx, 0x58
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x468c90]
xor byte [esp + ecx + 8], dl
lea esi, [esp + ecx + 8]
lea edx, [edi + esi]
mov eax, 0xba2e8ba3
mul edx
shr edx, 6
imul edx, edx, 0x58
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x468c91]
xor byte [esi + 1], dl
add ecx, 2
cmp ecx, 0x52
jb 0x427760
mov ecx, 0x14
lea esi, [esp + 8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xbc]
movsw word es:[edi], word [esi]
pop edi
pop esi
xor ecx, esp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 0x54
Function at 0x429380
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x44], eax
mov al, 0x72
push ebx
push esi
mov byte [esp + 0x2c], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov byte [esp + 0x44], al
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x61
mov esi, ecx
mov cl, 0x6f
mov bl, 0x57
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x24], bl
mov byte [esp + 0x33], bl
mov bl, 0x6e
lea eax, [esp + 8]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x47], cl
mov byte [esp + 0x16], cl
push eax
lea ecx, [esp + 0x24]
mov dl, 0x74
mov byte [esp + 0x39], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x4c], bl
xor ebx, ebx
push ecx
push reloc.WS2_32.dll_bind
mov byte [esp + 0x2c], 0x53
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x54
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x34], 0x5c
mov byte [esp + 0x35], 0x4d
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], 0x63
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3c], 0x66
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x5c
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x42], 0x64
mov byte [esp + 0x44], 0x77
mov byte [esp + 0x45], 0x73
mov byte [esp + 0x46], 0x5c
mov byte [esp + 0x47], 0x43
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], 0x56
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x51], 0x73
mov byte [esp + 0x52], 0x69
mov byte [esp + 0x55], bl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x23], 0x67
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x44
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4294f2
cmp byte [esi + 0x6c], bl
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x1b0
je 0x429505
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x14]
push eax
push ebx
add esi, 0x6e
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x429543
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0043ad38
add esp, 0x48
ret
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x429543
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0043ad38
add esp, 0x48
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0043ad38
add esp, 0x48
ret
Function at 0x429570
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x44], eax
mov al, 0x72
push ebx
push esi
mov byte [esp + 0x2c], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov byte [esp + 0x44], al
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x61
mov esi, ecx
mov cl, 0x6f
mov bl, 0x57
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x24], bl
mov byte [esp + 0x33], bl
mov bl, 0x6e
lea eax, [esp + 8]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x47], cl
mov byte [esp + 0x16], cl
push eax
lea ecx, [esp + 0x24]
mov dl, 0x74
mov byte [esp + 0x39], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x4c], bl
xor ebx, ebx
push ecx
push reloc.WS2_32.dll_bind
mov byte [esp + 0x2c], 0x53
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x54
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x34], 0x5c
mov byte [esp + 0x35], 0x4d
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], 0x63
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3c], 0x66
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x5c
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x42], 0x64
mov byte [esp + 0x44], 0x77
mov byte [esp + 0x45], 0x73
mov byte [esp + 0x46], 0x5c
mov byte [esp + 0x47], 0x43
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], 0x56
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x51], 0x73
mov byte [esp + 0x52], 0x69
mov byte [esp + 0x55], bl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x23], 0x67
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x44
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4296e2
cmp byte [esi + 0x6c], bl
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x52
je 0x4296f5
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x14]
push eax
push ebx
add esi, 0x6e
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x429733
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0043ad38
add esp, 0x48
ret
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x429733
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0043ad38
add esp, 0x48
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0043ad38
add esp, 0x48
ret
Function at 0x42e840
Capabilities:
Read .ini file

Disassembly:
push ecx
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp], eax
push 0x400
push 0x14a2460
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x14a2460
call fcn.004076b0
add esp, 8
test eax, eax
je 0x42e875
mov word [eax], 0
push esi
push edi
mov edi, 0x14a2460
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42e880
mov ecx, 6
mov esi, 0x47d564
rep movsd dword es:[edi], dword [esi]
push 0x14a2460
push 0
push 0x47d580
push 0x47d584
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
pop edi
pop esi
jne 0x42e8bc
mov eax, 3
mov ecx, dword [esp]
xor ecx, esp
call fcn.0043ad38
pop ecx
ret

Function at 0x42e8d0
Capabilities:
Read .ini file

Disassembly:
push ecx
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp], eax
push 0x400
push 0x14a2860
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x14a2860
call fcn.004076b0
add esp, 8
test eax, eax
je 0x42e905
mov word [eax], 0
push esi
push edi
mov edi, 0x14a2860
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42e910
mov ecx, 6
mov esi, 0x47d564
rep movsd dword es:[edi], dword [esi]
push 0x14a2860
push 0
push str.versionCode
push str.VersionInfo
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
pop edi
pop esi
jne 0x42e94c
mov eax, 7
mov ecx, dword [esp]
xor ecx, esp
call fcn.0043ad38
pop ecx
ret