joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e4bc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405380
xor eax, eax
push ebp
push 0x48e5ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x48e58e
test byte [ebx + 0x1c], 1
jne 0x48e57c
test byte [ebx + 0x1c], 0x10
jne 0x48e57c
cmp dword [ebp - 4], 0
je 0x48e57c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00405a98
mov eax, dword [ebp - 0x18]
mov edx, 0x40
call fcn.0040b970
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.kernel32.dll_GetFileSize
mov ecx, eax
mov eax, dword [ebp - 0x14]
shl eax, 0x20
add eax, ecx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0xc], 0
jne 0x48e54d
cmp dword [ebp - 0x10], 0x800
je 0x48e57c
cmp dword [ebp - 0xc], 0
jne 0x48e55c
cmp dword [ebp - 0x10], 0x12c000
je 0x48e57c
cmp dword [ebp - 0xc], 0
jne 0x48e56b
cmp dword [ebp - 0x10], 0x168000
je 0x48e57c
cmp dword [ebp - 0xc], 0
jne 0x48e57a
cmp dword [ebp - 0x10], 0x2d0000
jne 0x48e58e
lea eax, [ebp - 4]
call fcn.00405400
mov edx, eax
lea eax, [ebx + 0x30]
call fcn.0048432c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e5b3
lea eax, [ebp - 0x18]
call fcn.0040585c
lea eax, [ebp - 4]
call fcn.00404d24
ret

Function at 0x48fa88
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x569024
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48faaa
shr eax, 1
xor eax, 0xedb88320
jmp 0x48faac
shr eax, 1
dec edx
jne 0x48fa98
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48fa91
mov byte [0x569424], 1
pop esi
pop ebx
ret

Function at 0x48fac8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x569424], 0
jne 0x48fadf
call fcn.0048fa88
mov eax, edi
dec eax
test eax, eax
jl 0x48fb07
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x569024]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48fae9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x492578
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x492612.0
jmp dword [ecx*4 + 0x4925ab]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4925dd
sub dl, 8
je 0x4925ec
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x492220
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x492278
jmp case.0x492612.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x492612.0
movzx ecx, byte [ecx + 0x492619]
jmp dword [ecx*4 + 0x49262a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x492324
jmp case.0x492612.0
cmp dl, 3
jne 0x492657
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49237c
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x492338
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4923c0
jmp case.0x492612.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x492682
sub dl, 8
je 0x49268e
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4923ec
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x492458
jmp case.0x492612.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4926ad
sub dl, 8
je 0x4926b9
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x492514
jmp case.0x492612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49253c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x49275b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00491724
test eax, eax
je 0x49275b
mov eax, ebx
call fcn.00492764
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4926f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x492764
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x492795
dec al
je 0x4927d0
dec al
je 0x492815
dec al
je 0x49287e
jmp 0x492908
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x492908
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4927a5
jmp 0x492908
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x492908
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4927e0
jmp 0x492908
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x492908
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x492844
xor ebp, ebp
jmp 0x492854
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x49285d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x492825
jmp 0x492908
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x492908
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4928d7
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0048fb10
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x492892
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x75b71eb
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x776c5964
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4058b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004db610
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x405903
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40595e
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x40597e
xor ecx, ecx
jmp 0x405996
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405987
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004041e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d11d6
mov esp, ebp
pop ebp
ret
Function at 0x406010
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b6a1
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5557a0]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x406073
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x406160
cmp dword [ebp - 0x12c], 2
jb 0x406160
push str.run_by_amdin
push 0x140
push str.CAppModel::runPlayer
call fcn.004359b0
add esp, 0xc
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
push 0x53719c
call fcn.004092e0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x4060ce
mov edx, dword [esi]
jmp 0x4060d0
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0042ce40
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x4060fd
push dword [ebp - 0x14c]
call fcn.004d11f0
add esp, 4
cmp edi, 0xffffffff
jne 0x4061a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.run_by_amdin_error:__d
push 0x144
push str.CAppModel::runPlayer
call fcn.004359b0
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x14c]
call fcn.004092e0
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.0043cd70
add esp, 0x10
cmp dword [ebp - 0x138], 8
jb 0x4061a5
push dword [ebp - 0x14c]
jmp 0x40619d
push 0x53719c
lea edx, [ebx + 0x188]
lea ecx, [ebp - 0x164]
call fcn.004092e0
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.0043cd70
add esp, 0x10
cmp dword [ebp - 0x150], 8
jb 0x4061a5
push dword [ebp - 0x164]
call fcn.004d11f0
add esp, 4
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.004d11d6
mov esp, ebp
pop ebp
ret 4
Function at 0x40d1e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call fcn.004d308b
push 0x551db8
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call fcn.004d3059
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004d3039
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call fcn.004d30dc
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret

Function at 0x40ff30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c9aa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5557a0]
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 edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004cff2f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40ffd6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004d24e8
push 0x551e44
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004dab6d
push edi
push esi
call fcn.004cfe02
add esp, 8
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.004d11d6
mov esp, ebp
pop ebp
ret 4
Function at 0x412190
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50caee
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5557a0]
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 ebx, edx
mov esi, ecx
mov eax, dword [0x5611a4]
mov dword [ebp - 0xac], 0
test al, 1
jne 0x412331
or eax, 1
mov dword [0x5611a4], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x12
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xa4], str.ko_KR
push ecx
movq qword [0x5611a8], xmm0
mov dword [ebp - 0xa0], 9
mov dword [ebp - 0x9c], str.en_US
mov dword [ebp - 0x98], 0x2a
mov dword [ebp - 0x94], str.vi_VN
mov dword [ebp - 0x90], 0x1e
mov dword [ebp - 0x8c], str.th_TH
mov dword [ebp - 0x88], 0x19
mov dword [ebp - 0x84], str.ru_RU
mov dword [ebp - 0x80], 0x22
mov dword [ebp - 0x7c], str.uk_UA
mov dword [ebp - 0x78], 0x16
mov dword [ebp - 0x74], str.pt_PT
mov dword [ebp - 0x70], 0x1f
mov dword [ebp - 0x6c], str.tr_TR
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x64], str.es_ES
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], str.fr_FR
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], str.de_DE
mov dword [ebp - 0x50], 0x11
mov dword [ebp - 0x4c], str.ja_JP
mov dword [ebp - 0x48], 0x21
mov dword [ebp - 0x44], str.in_ID
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], str.ar_IL
mov dword [ebp - 0x38], 0x29
mov dword [ebp - 0x34], str.fa_IR
mov dword [ebp - 0x30], 0x39
mov dword [ebp - 0x2c], str.hi_IN
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], str.it_IT
mov dword [ebp - 0x20], 0x3e
mov dword [ebp - 0x1c], str.ms_MY
call fcn.00412da0
push 0x514180
call fcn.004d1f45
add esp, 4
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x4123a4
mov ecx, 0xc04
cmp ax, cx
je 0x412381
mov ecx, 0x1404
cmp ax, cx
je 0x412381
mov ecx, 0x404
cmp ax, cx
je 0x412381
mov ecx, 0x7c04
cmp ax, cx
je 0x412381
push str.zh_TW
mov ecx, esi
call fcn.00404310
jmp 0x41240b
push 5
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push str.zh_TW
mov word [esi], ax
call fcn.004041e0
jmp 0x41240b
mov edi, dword [0x5611a8]
mov edx, ecx
mov ecx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4123d7
cmp dword [eax + 0x10], edx
jge 0x4123c1
mov eax, dword [eax + 8]
jmp 0x4123c5
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4123b7
cmp ecx, edi
je 0x4123d7
mov dword [ebp - 0x14], ecx
cmp edx, dword [ecx + 0x10]
jge 0x4123da
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
mov ecx, esi
mov eax, dword [eax]
cmp eax, edi
je 0x4123ef
push dword [eax + 0x14]
call fcn.00404310
jmp 0x41240b
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
push ebx
mov word [esi], ax
call fcn.00403e50
mov eax, esi
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.004d11d6
mov esp, ebp
pop ebp
ret
Function at 0x415940
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x415a9f
lea eax, [esp + 0x58]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0x18]
push eax
call fcn.00439da0
add esp, 4
lea ecx, [esp + 0x18]
push 0xe
push str.czdownloader_
call fcn.0040e560
lea eax, [esp + 0x18]
push eax
call fcn.00439c70
add esp, 4
test al, al
jne 0x4159c5
lea eax, [esp + 0x18]
push eax
call fcn.00439c90
add esp, 4
push 7
push str.log.txt
lea ecx, [esp + 0x20]
call fcn.0040e560
call fcn.00435a50
sub esp, 0x18
lea esi, [esp + 0x30]
mov edi, esp
lea edx, [esp + 0x30]
xor eax, eax
mov ecx, edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x40]
cmovae esi, dword [esp + 0x30]
cmovae edx, dword [esp + 0x30]
lea eax, [esi + eax*2]
push eax
push edx
call fcn.00415ac0
call fcn.00435a70
push str._r_n_r_n_start_
push 0x25
push str.wWinMain
call fcn.004359b0
add esp, 0x24
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x34]
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], vtable.CAppImpl.0
call fcn.00434010
push dword [esp + 0xc]
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
push dword [esp + 0x14]
call fcn.00401f20
call fcn.004514c0
lea ecx, [esp + 0x30]
call fcn.00402140
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x2c], 8
jb 0x415a9f
push dword [esp + 0x18]
call fcn.004d11f0
add esp, 4
mov ecx, dword [esp + 0x1ec]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4168d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x560ca0], 0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x41e2e0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50da6b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5557a0]
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 ebx, ecx
call fcn.0041e500
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x41e339
cmp eax, 0x6f
jne 0x41e368
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x41e368
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x41e386
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
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.004d11d6
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x41e3a0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x41e3bc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x41e4c9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.004db610
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.004d1f5a
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x41e460
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e451
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004041e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.0041e560
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x41e4ec
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x41e4c9
push dword [ebp - 0x24c]
call fcn.004d11f0
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x41e3a0
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x41e36a
push str.list_T__too_long
call fcn.004cf96b
int3
Function at 0x41f990
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x41fada
test edx, edx
jle 0x41fada
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0041f080
lea ecx, [ebp - 0x94]
call fcn.0041f150
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041f220
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41fa38
mov eax, dword [esi]
jmp 0x41fa3a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x41fa87
cmp ecx, 0x10
jb 0x41fa4a
mov edx, dword [esi]
jmp 0x41fa4c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x41fa87
cmp ecx, 0x10
jb 0x41fa61
mov ecx, dword [esi]
jmp 0x41fa63
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00403660
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x41fa98
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.004037c0
cmp dword [esi + 0x14], 0x10
jb 0x41faa2
mov eax, dword [esi]
jmp 0x41faa4
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004dafc0
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x41fac2
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004d11d6
mov esp, ebp
pop ebp
ret