joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412dd9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x427f80]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x412e1c
cmp word [esi], dx
jne 0x412e1c
or byte [edi + eax + 0x28], 4
jmp 0x412e21
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x412f74
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x412f54
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x412e63
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x412e99
cmp eax, edx
jae 0x412ea5
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x412e3b
jmp 0x412f74
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412f50
cmp dword [ebp - 0x14], 0
je 0x412f50
mov eax, dword [ebx*4 + 0x427f80]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x412f28
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x412ef1
mov word [esi], cx
jmp 0x412f24
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x427f80]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x427f80]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x427f80]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x412f74
pop ebx
cmp word [ebp - 4], bx
jne 0x412f39
cmp esi, dword [ebp + 0xc]
jne 0x412f39
mov word [esi], bx
jmp 0x412f71
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00415e41
add esp, 0x10
cmp word [ebp - 4], bx
je 0x412f74
push 0xd
jmp 0x412f6d
mov ecx, dword [ebx*4 + 0x427f80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x412f6b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x412f74
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x413795
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00413606
Function at 0x417240
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4172dd
push ebx
push esi
call fcn.00417209
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00417152
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41728a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4172dc
push edi
push eax
call fcn.0041460a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4172aa
call fcn.00411774
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4172db
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00417152
add esp, 0x20
test eax, eax
jne 0x4172c9
push edi
call fcn.00411774
jmp 0x4172d1
push ebx
call fcn.00411774
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41812b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4225d0
push 0x4225c8
push str.FlsAlloc
push 0x1e
call fcn.00418049
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41815f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f160]
call esi
jmp 0x418165
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4181a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4225e0
push 0x4225d8
push str.FlsGetValue
push 0x20
call fcn.00418049
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4181e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41c555
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c4d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41c6cd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41c6cd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41c67c
jg 0x41c5ae
test eax, eax
je 0x41c672
push 1
push 0x1000
call fcn.00415b84
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41c5d4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x41c669
push 0x8000
push ebx
call fcn.00410b6a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41c600
jg 0x41c5fb
cmp ecx, 0x1000
jb 0x41c600
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041408d
add esp, 0x10
cmp eax, 0xffffffff
je 0x41c645
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x41c5fb
jl 0x41c62c
test ecx, ecx
jne 0x41c5ed
push dword [ebp - 0xc]
push ebx
call fcn.00410b6a
push esi
call fcn.00411774
add esp, 0xc
xor edi, edi
jmp 0x41c6de
cmp byte [edi + 0x24], 0
je 0x41c65c
cmp dword [edi + 0x20], 5
jne 0x41c65c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x41c667
mov edi, dword [edi + 0x18]
jmp 0x41c669
xor edi, edi
push esi
call fcn.00411774
pop ecx
jmp 0x41c6de
test ecx, ecx
jg 0x41c63e
jl 0x41c67c
test eax, eax
jae 0x41c63e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00415e41
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41c69f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x41c63e
jmp 0x41c6d6
push ebx
call fcn.0041777b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41c63e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x41c6de
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x41c6db
mov edi, dword [edi + 0x18]
jmp 0x41c6de
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00415e41
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41e570
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e59d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e59d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402e50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x404148
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x407018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x407018]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x402fd7
cmp byte [edi + 0x45], 0
je 0x402fd7
push 0xffffffffffffffff
call fcn.004022d0
cmp eax, 0xffffffff
jne 0x402eb0
xor al, al
jmp 0x402fd9
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00402c60
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
cmp ebx, 0x10
lea edx, [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP110.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x402f0f
dec eax
je 0x402f13
sub eax, 2
je 0x402fbd
xor bl, bl
jmp 0x402fbf
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ebx, 0x10
lea eax, [esp + 0x18]
cmovae eax, ecx
sub esi, eax
je 0x402f4b
push dword [edi + 0x50]
lea eax, [esp + 0x1c]
push esi
cmp ebx, 0x10
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x402f08
cmp byte [edi + 0x45], 0
je 0x402fbd
test esi, esi
jne 0x402ec4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x402fb2
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00403170
test al, al
je 0x402ec4
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
cmovae ecx, dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [ecx + eax], xmm0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov byte [eax + esi], 0
jmp 0x402ec4
push str.string_too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x402fd3
push dword [esp + 0x18]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x402fd9
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004035b2
mov esp, ebp
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401728
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov ecx, 0xa
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
xor edi, edi
pop esi
pop ecx
mov dword [0x402428], esi
push edi
dec ecx
jne 0x401747
lea eax, [ebp - 0x30]
push eax
mov edx, dword [0x402428]
mov dword [ebp - 0x20], edx
lea ecx, str.contents
mov dword [ebp - 0xc], ecx
lea eax, section..text
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x402428]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x66
push dword [0x402428]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x402428]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402438], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402438]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401811
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4017f8
pop ebp
ret 0x10
Function at 0x10f18058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10f181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10f1807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f1806a
add dl, dl
jne 0x10f18089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f180dc
xor eax, eax
add dl, dl
jne 0x10f18096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f1817d
add dl, dl
jne 0x10f180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10f180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10f18075
mov eax, 1
add dl, dl
jne 0x10f180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f180e1
sub eax, ebx
mov ebx, 1
jne 0x10f18128
mov ecx, 1
add dl, dl
jne 0x10f1810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f18119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f18105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f18075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10f1813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f1814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f18136
cmp eax, 0x7d00
jae 0x10f1816d
cmp eax, 0x500
jb 0x10f18168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f18075
cmp eax, 0x7f
ja 0x10f18170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f18075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10f1819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10f18075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407a00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push esi
push edi
lea edi, [ebp - 0x444]
mov ecx, 0x111
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x400
lea eax, [ebp - 0x400]
push eax
call fcn.004447b0
add esp, 0x10
mov dword [ebp - 0x404], 0
mov esi, esp
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00444710
pop edi
pop esi
pop ebx
add esp, 0x444
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret

Function at 0x409320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x318c
call fcn.00445100
push ebx
push esi
push edi
lea edi, [ebp - 0x318c]
mov ecx, 0xc63
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x1000
push 0
lea eax, [ebp - 0x1144]
push eax
call fcn.00444750
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x1144]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.00444710
push 0x1000
push 0
lea edx, [ebp - 0x2144]
push edx
call fcn.00444750
add esp, 0xc
push str.map.map
lea eax, [ebp - 0x1144]
push eax
push str._s_s
lea ecx, [ebp - 0x2144]
push ecx
call fcn.00445000
add esp, 0x10
mov esi, esp
lea edx, [ebp - 0x140]
push edx
lea eax, [ebp - 0x2144]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
je 0x4094bf
push 0x1000
push 0
lea ecx, [ebp - 0x3144]
push ecx
call fcn.00444750
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push str.map_
lea eax, [ebp - 0x1144]
push eax
push str._s_s_s
lea ecx, [ebp - 0x3144]
push ecx
call fcn.00445000
add esp, 0x14
push 0x4d1e68
lea edx, [ebp - 0x3144]
push edx
call fcn.00444fe0
add esp, 8
mov dword [ebp - 0x3148], eax
cmp dword [ebp - 0x3148], 0
je 0x4094bf
push 2
push 0
mov eax, dword [ebp - 0x3148]
push eax
call fcn.00444dc0
add esp, 0xc
mov ecx, dword [ebp - 0x3148]
push ecx
call fcn.00444b30
add esp, 4
mov dword [ebp - 0x314c], eax
mov edx, dword [ebp - 0x314c]
push edx
call fcn.0040f190
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x4094bf
push 0
push 0
mov eax, dword [ebp - 0x3148]
push eax
call fcn.00444dc0
add esp, 0xc
mov ecx, dword [ebp - 0x3148]
push ecx
push 1
mov edx, dword [ebp - 0x314c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00444960
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x314c]
mov dword [edx], eax
jmp 0x4094c8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x318c
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x40f290
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
push ebx
push esi
push edi
lea edi, [ebp - 0x358]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
jmp 0x40f2c0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc8
jge 0x40f2dc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x6e2610]
cmp edx, dword [ebp + 8]
jne 0x40f2da
jmp 0x40f2dc
jmp 0x40f2b7
cmp dword [ebp - 4], 0xc8
jl 0x40f472
mov dword [ebp - 4], 0
jmp 0x40f2fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc8
jge 0x40f315
mov ecx, dword [ebp - 4]
cmp dword [ecx*4 + 0x6e2610], 0
jne 0x40f313
jmp 0x40f315
jmp 0x40f2f2
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax*4 + 0x6e2610], ecx
mov esi, esp
lea edx, [ebp - 0x10c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00444710
mov esi, esp
lea eax, [ebp - 0x210]
push eax
push 0
push 0x4d20b4
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp esi, esp
call fcn.00444710
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x314]
push eax
call fcn.00445130
add esp, 8
lea ecx, [ebp - 0x314]
push ecx
call fcn.00445520
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 8]
test eax, eax
jne 0x40f3be
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x317], 0x6d
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x316], 0x69
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x315], 0x64
jmp 0x40f3df
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x317], 0x77
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x316], 0x61
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x315], 0x76
mov esi, esp
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.00444710
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp + 8]
add ecx, 9
push ecx
call fcn.00445130
add esp, 8
push 0x4d20b0
mov edx, dword [ebp + 8]
add edx, 9
push edx
call fcn.00444fe0
add esp, 8
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
je 0x40f464
mov eax, dword [ebp - 0x318]
push eax
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00445680
add esp, 0x10
mov edx, dword [ebp - 0x318]
push edx
call fcn.004455a0
add esp, 4
jmp 0x40f472
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x6e2610], 0
pop edi
pop esi
pop ebx
add esp, 0x358
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x40f520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
push 0
push 0
push str.close_nn
call dword [sym.imp.WINMM.dll_mciSendStringA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 4], 0
jmp 0x40f564
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc8
jge 0x40f599
mov ecx, dword [ebp - 4]
cmp dword [ecx*4 + 0x6e2610], 0
je 0x40f597
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x6e2610]
add eax, 9
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.00444710
jmp 0x40f55b
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x4280a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x76
mov byte [ebp - 6], 0x32
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], 0
push 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444210
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x429ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x76
mov byte [ebp - 6], 0x32
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], 0
push 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444210
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x42a470
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea edi, [ebp - 0x68]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push str.sy_server
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42a4a0
jmp 0x42a563
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x42a4d1
push 4
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00448650
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_inet_ntoa
mov dword [ebp - 8], eax
jmp 0x42a4d6
jmp 0x42a563
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [0x709268], eax
cmp dword [0x709268], 0xffffffff
jne 0x42a4f1
jmp 0x42a563
mov eax, dword [ebp - 8]
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x18], eax
push 2
push 4
lea ecx, [ebp - 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyaddr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42a521
mov edx, dword [0x709268]
push edx
call sub.WSOCK32.dll_closesocket
jmp 0x42a563
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov word [ebp - 0x28], 2
push 0x7d8
call sub.WSOCK32.dll_htons
mov word [ebp - 0x26], ax
push 0x10
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x709268]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x42a563
mov eax, dword [0x709268]
push eax
call sub.WSOCK32.dll_closesocket
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret