joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f2c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x540]
mov esi, dword [eax]
cmp esi, eax
je 0x43f38b
cmp dword [esi + 8], edi
je 0x43f2f1
mov esi, dword [esi]
cmp esi, eax
jne 0x43f2e1
jmp 0x43f38b
mov eax, dword [esi + 0x24]
test eax, eax
je 0x43f343
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetParent]
cmp dword [esi + 0x40], 0
lea ecx, [esi + 8]
jle 0x43f31a
call fcn.0043f490
mov ecx, ebx
call fcn.0047eea0
push eax
push 0
push 0x61ab
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x544]
cmp dword [esi + 0x20], 8
jb 0x43f366
push dword [esi + 0xc]
call edx
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], 0
mov word [esi + 0xc], ax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push esi
call eax
mov edx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebx + 0x548]
mov esi, dword [eax]
cmp esi, eax
je 0x43f3f2
cmp dword [esi + 8], edi
je 0x43f3b0
mov esi, dword [esi]
cmp esi, eax
jne 0x43f397
mov ecx, ebx
call fcn.0043cb40
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x54c]
cmp dword [esi + 0x20], 8
jb 0x43f3d3
push dword [esi + 0xc]
call edx
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], 0
mov word [esi + 0xc], ax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push esi
call eax
add esp, 4
mov ecx, ebx
call fcn.0043cb40
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x447e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0048f770
add esp, 4
push 0xd
push 0x5169fc
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041cf90
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x516bd0
push str.overlapX
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x447f14
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.004f14ca
mov esp, ebp
pop ebp
ret

Function at 0x447f30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0048f770
add esp, 4
push 0xd
push 0x5169fc
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041cf90
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x516bd0
push str.overlapY
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x448004
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.004f14ca
mov esp, ebp
pop ebp
ret
Function at 0x45f840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb8e0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x546320]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x546320]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
xorps xmm0, xmm0
push ebx
movq qword [esp + 0x18], xmm0
push ebx
mov dword [esp + 0x20], ebx
call fcn.004600d0
mov ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x78], ebx
mov edi, dword [esi + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x45f994
lea ebx, [ebx]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x28], ax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
call fcn.0040ab10
mov eax, dword [esi + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x5c], eax
mov al, byte [esi + 0x4c]
mov byte [esp + 0x60], al
mov byte [esp + 0x78], 1
mov ecx, 0x551f70
push dword [esp + 0x1c]
call fcn.0046f090
test al, al
je 0x45f971
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push eax
call fcn.00460d10
mov ecx, 0x3333332
sub ecx, ebx
cmp ecx, 1
jb 0x45f9df
mov ecx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x18], ebx
mov dword [ecx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [esp + 0x78], 0
cmp dword [esp + 0x34], 8
jb 0x45f98a
push dword [esp + 0x20]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
cmp esi, edi
jne 0x45f8b0
lea eax, [esp + 0x14]
mov ecx, 0x551f38
push eax
mov eax, dword [esp + 0x14]
add eax, 0xc
push eax
call fcn.0043ffa0
lea ecx, [esp + 0x14]
call fcn.0043f590
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004f14ca
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x462f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbc5b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x546320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.00439d20
push dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
call fcn.00463140
mov dword [ebp - 4], 1
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00439f20
mov ecx, esi
call fcn.00439ea0
lea ecx, [esi + 0xc]
call fcn.00439f30
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.00463090
add esp, 0x30
cmp ebx, eax
je 0x462fd4
push eax
mov ecx, ebx
call fcn.00439f80
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x463000
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x463000
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x463000
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4680a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x546320]
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, edx
mov edi, ecx
lea eax, [ebp - 0x828]
mov dword [ebp - 0x82c], 0
push eax
call fcn.0048f770
add esp, 4
push 0xe
push str.pathconfig.ini
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041cf90
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae ecx, dword [ebp - 0x828]
cmp dword [esi + 0x14], 8
jb 0x46813f
mov eax, dword [esi]
jmp 0x468141
mov eax, esi
push ecx
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0x50d8cc
push eax
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [esi + 0x14], 8
jb 0x468167
mov esi, dword [esi]
lea eax, [ebp - 0x810]
push eax
push esi
push str.pathconfig:_s__s
push 0xa9
push str.readPathFromConfig
call fcn.004848c0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
add esp, 0x14
mov word [edi], ax
cmp word [ebp - 0x810], ax
jne 0x4681a6
xor ecx, ecx
jmp 0x4681bf
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4681b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.0040aeb0
cmp dword [ebp - 0x814], 8
jb 0x4681e6
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
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.004f14ca
mov esp, ebp
pop ebp
ret
Function at 0x468550
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
mov eax, dword [eax]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [eax]
push edi
cmp esi, eax
je 0x4686f2
jmp 0x468570
push dword [esi + 8]
mov ecx, ebx
call fcn.00475230
test al, al
je 0x468587
mov dword [esi + 0x48], 3
jmp 0x46859c
push dword [esi + 8]
mov ecx, ebx
call fcn.004752c0
test al, al
je 0x46859c
mov dword [esi + 0x48], 4
cmp byte [ebp + 0xc], 0
mov eax, dword [esi + 8]
mov edi, eax
je 0x4685af
or edi, 0x1000000
jmp 0x4685cd
cmp byte [ebp + 0x10], 0
je 0x4685bf
mov edi, eax
or edi, 0x5000000
jmp 0x4685cd
cmp byte [ebp + 0x14], 0
je 0x4685cd
mov edi, eax
or edi, 0x3000000
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00474a10
cmp dword [eax + 0x14], 8
jb 0x4685e1
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x4685fe
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x468624
mov dword [esi + 0x48], 1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4686e2
lea eax, [esi + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.TheRender
push str.RenderWindow
push 0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4686e2
push 0x51ec34
push str.subWin
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp dword [esi + 0x2c], 0
mov ecx, eax
mov dword [esi + 0x30], ecx
je 0x4686e2
lea eax, [esi + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esi + 0x48], 1
je 0x4686e2
push dword [esi + 8]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00474a10
cmp dword [eax + 0x14], 8
jb 0x46869f
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x4686bc
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
mov dword [esi + 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [esi + 8], edi
mov esi, dword [esi]
cmp esi, dword [eax]
jne 0x468570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x472b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fcfc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x546320]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x546320]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x472cc1
cmp byte [esi + 0x45], 0
je 0x472cc1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x472bf0
xor al, al
jmp 0x472cc3
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00472a40
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x472c48
dec eax
je 0x472c4c
sub eax, 2
je 0x472ca7
xor bl, bl
jmp 0x472ca9
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x472c84
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x472c44
cmp byte [esi + 0x45], 0
je 0x472ca7
test edi, edi
lea edi, [esi + 0x48]
jne 0x472c07
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.00472ae0
jmp 0x472c04
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x472cbd
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x472cc3
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.004f14ca
mov esp, ebp
pop ebp
ret

Function at 0x473960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd158
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x546320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0xc], 0
push 0x400
push ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
call fcn.0042e710
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
mov word [edi + 0x34], ax
mov byte [edi + 0x4c], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4743b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd2c3
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x546320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0047a2f0
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00443430
mov dword [edi + 8], eax
push 0
mov byte [ebp - 4], 1
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00443430
mov dword [edi + 0x10], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x5c], 7
xor eax, eax
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 7
mov word [edi + 0x90], ax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], 7
mov word [edi + 0xac], ax
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], eax
mov eax, edi
mov dword [edi + 0xd0], 2
mov dword [edi + 0xd4], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x474810
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, 0x4e67c6a7
push edi
movzx edi, word [esi]
test di, di
je 0x47483f
mov edx, eax
lea esi, [esi + 2]
mov ecx, eax
shl edx, 5
shr ecx, 2
add edx, ecx
movzx ecx, di
movzx edi, word [esi]
add edx, ecx
xor eax, edx
test di, di
jne 0x474821
pop edi
and eax, 0x7fff
pop esi
ret
Function at 0x4791a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.00474960
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00489160
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00489390
test al, al
jne 0x4791f8
xor esi, esi
jmp 0x47922b
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xffffffff
call fcn.004864e0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x34]
push eax
push 0x479080
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x18], 8
jb 0x47923d
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f14ca
mov esp, ebp
pop ebp
ret 4

Function at 0x47f190
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.004f1c60
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x564cf8]
test al, 1
jne 0x47f213
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x564cf8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x564cfc], esi
jmp 0x47f219
mov esi, dword [0x564cfc]
test esi, esi
je 0x47f287
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x47f287
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x47f287
lea ecx, [ebp - 0x3000]
jmp 0x47f270
mov eax, dword [ecx]
sub eax, 0
je 0x47f27a
dec eax
jmp 0x47f27b
inc esi
add ecx, 0x18
dec edx
jne 0x47f270
test esi, esi
je 0x47f287
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f14ca
mov esp, ebp
pop ebp
ret
Function at 0x4814c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff606
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00426b90
push 0x513dd8
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x564ec4
call fcn.00426d80
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x481591
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x564ec4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f14ca
mov esp, ebp
pop ebp
ret 4

Function at 0x481660
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff66b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x564ee0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x564ef4], 7
mov dword [0x564ef0], 0
mov word [0x564ee0], ax
mov dword [ebp - 4], eax
mov ecx, 0x564ee0
lea eax, [ebp - 0x21c]
push eax
call fcn.00426b90
mov eax, 0x564ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f14ca
mov esp, ebp
pop ebp
ret 4
Function at 0x482c50
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x482c9e
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x482c7a
mov esi, dword [esi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.leidian9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret