joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57a030
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push 0x80
lea eax, [esi + 0x18]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0059a570
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
mov dword [esi + 0xc], edx
jne 0x57a071
push ebx
push edi
call fcn.00579ea0
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push ecx
push ebx
push edx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], ebx
call fcn.0059a4c2
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
push ecx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x57a0e0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x57a0ec
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x57a105
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x57a1e8
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x57a17a
mov edx, dword [esi + 0xc]
push edx
lea edi, [esi + 4]
push edi
call fcn.00579ea0
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
inc dword [esi + 0x10]
push ecx
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call fcn.0059a4c2
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x57a1cf
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x5c791c
push edi
call fcn.0059a4c2
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.0057a0e0
inc dword [esi + 0x14]
pop esi
ret
Function at 0x57a1f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push 0x80
lea eax, [esi + 0x18]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0059a570
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
mov dword [esi + 0xc], edx
jne 0x57a231
push ebx
push edi
call fcn.00579f80
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push ecx
push ebx
push edx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], ebx
call fcn.0059a4c2
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
push ecx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x57a2a0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x57a2ac
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x57a2c5
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x57a3a8
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x57a33a
mov edx, dword [esi + 0xc]
push edx
lea edi, [esi + 4]
push edi
call fcn.00579f80
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
inc dword [esi + 0x10]
push ecx
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call fcn.0059a4c2
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x57a38f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x5c791c
push edi
call fcn.0059a4c2
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.0057a2a0
inc dword [esi + 0x14]
pop esi
ret
Function at 0x586d20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push 0x80
lea eax, [esi + 0x18]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0059a570
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
mov dword [esi + 0xc], edx
jne 0x586d61
push ebx
push edi
call fcn.005852b0
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push ecx
push ebx
push edx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], ebx
call fcn.0059a4c2
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
push ecx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x586dd0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x586ddc
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x586df5
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x586ed8
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x586e6a
mov edx, dword [esi + 0xc]
push edx
lea edi, [esi + 4]
push edi
call fcn.005852b0
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
inc dword [esi + 0x10]
push ecx
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call fcn.0059a4c2
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x586ebf
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x5c791c
push edi
call fcn.0059a4c2
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call fcn.0059a4c2
push edi
call fcn.00594970
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.00586dd0
inc dword [esi + 0x14]
pop esi
ret
Function at 0x58ea80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push closesocket
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x58eb50
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push esi
call edi
test eax, eax
je 0x58eade
cmp dword [ebp - 0x18], 0x6060801
je 0x58eaf8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 0x14]
push edx
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x58eadf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x58eb4f
mov ecx, dword [0x6d8f5c]
test ecx, ecx
je 0x58eb4f
mov edx, dword [ebp - 0xc]
push edx
call fcn.004a0d40
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x6d8f5c]
push eax
call fcn.004a01f0
fld dword [ebp - 8]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x6d7430
call fcn.005057f0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00599821
mov esp, ebp
pop ebp
ret 4

Function at 0x58eb70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6d8f5c]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x58ec03
call fcn.004a0d30
fld dword [0x6d7470]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [0x6d8f5c]
mov cx, word [eax + 0x744]
fstp dword [ebp - 8]
push 0
push 0x40000000
push esi
mov word [ebp - 0x10], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x58ec03
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0x6060801
call edi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
Function at 0x58f7f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x58f8e5
push ebx
push edi
push 0
mov ecx, 0x6010e0
call fcn.0045b320
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sData
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x6010e0
call fcn.0045b320
push eax
lea eax, [ebp - 0x108]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov bl, byte [ebp + 8]
test bl, 1
je 0x58f8ad
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6010e0
call fcn.0045b320
push eax
lea edx, [ebp - 0x108]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.0058f1e0
test bl, 2
je 0x58f8e3
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6010e0
call fcn.0045b320
push eax
lea ecx, [ebp - 0x108]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.0058eb70
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
Function at 0x5903f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x590442
push 0x7c9
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push 0x17
push 0x6c6dd0
call fcn.0044a500
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6d3d38]
mov dword [ebp - 0x210], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [ebp - 0x210]
push edx
push 0x5deee8
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x590431
cmp dword [esi + 0xc], 0
jne 0x5904ad
push 0x5defc4
mov ecx, esi
call fcn.00590130
test eax, eax
jns 0x590491
push 0x7ca
jmp 0x590417
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call edx
cmp dword [esi + 0xc], 0
je 0x590575
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.00590300
push 0
mov ecx, 0x6010e0
call fcn.0045b320
push eax
lea edx, [ebp - 0x108]
push str._sScreenShot
push edx
call fcn.0059a4c2
add esp, 0xc
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x59050b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x59050b
push 0x7cc
jmp 0x590417
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x5defd8
push str.Capture
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.0058fc40
lea eax, [ebp - 0x20c]
push eax
push 0x7cd
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push 0x17
push 0x6c6dd0
call fcn.0044a500
mov ecx, dword [ebp - 0x210]
add esp, 0x10
push ecx
push 4
push 0
lea edx, [ebp - 0x20c]
push edx
push esi
call fcn.0058fcc0
test eax, eax
js 0x590431
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret

Function at 0x599821
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6ac30c]
jne 0x59982b
repz ret
jmp fcn.005a24a2

Function at 0x59ec75
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x59ec9c
call fcn.005a38ff
mov dword [eax], esi
call fcn.005a38ec
push 0x16
pop esi
mov dword [eax], esi
call fcn.005a389a
mov eax, esi
jmp 0x59ecf1
test dword [ebp + 0xc], 0xfffffff9
jne 0x59ec82
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x59ecc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005a3912
pop ecx
call fcn.005a38ec
mov eax, dword [eax]
jmp 0x59ecf1
test al, 0x10
jne 0x59ecef
test al, 1
je 0x59ecef
test byte [ebp + 0xc], 2
je 0x59ecef
call fcn.005a38ff
mov dword [eax], 5
call fcn.005a38ec
mov dword [eax], 0xd
jmp 0x59ecc0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5abc1d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005a2df8
and dword [ebp - 0x14], 0
cmp dword [0x6f829c], 0
mov dword [ebp - 0x18], eax
jne 0x5abcd0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5abd78
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5abd78
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x6f829c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6f82a0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6f82a4], eax
call edi
push eax
call esi
mov dword [0x6f82ac], eax
test eax, eax
je 0x5abcd0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6f82a8], eax
mov eax, dword [0x6f82a8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5abd29
cmp dword [0x6f82ac], ecx
je 0x5abd29
push eax
call esi
push dword [0x6f82ac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5abd29
test ebx, ebx
je 0x5abd29
call edi
test eax, eax
je 0x5abd20
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5abd20
test byte [ebp - 8], 1
jne 0x5abd29
or dword [ebp + 0x10], 0x200000
jmp 0x5abd5c
mov eax, dword [0x6f82a0]
cmp eax, dword [ebp - 0x18]
je 0x5abd5c
push eax
call esi
test eax, eax
je 0x5abd5c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5abd5c
mov eax, dword [0x6f82a4]
cmp eax, dword [ebp - 0x18]
je 0x5abd5c
push eax
call esi
test eax, eax
je 0x5abd5c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6f829c]
call esi
test eax, eax
je 0x5abd78
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5abd7a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00599821
leave
ret
Function at 0xdcf0d0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdcf0da
pushal
call 0xdcf0e0
pop ebp
sub ebp, 0x10
sub ebp, 0x9cf0d0
jmp 0xdcf0f6
mov eax, 0x9cf0d0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ca
mov edx, 0xb8ddf8d1
xor byte [eax], dl
inc eax
dec ecx
jne 0xdcf10d
jmp 0xdcf120
pop edx
sbb al, 0x5a
pop eax
in eax, dx
rcl ecx, 1
rcl dword [eax + 0x10]
sub ecx, edx
rcl ecx, 1
rcr byte [ecx + ebp*2], cl
xlatb
rcl ecx, 1
shr dword [ebx - 7], 1
rcl ecx, 1
shl dword [esi], 1
xor edx, edx
sbb dword [edx + 0x50], ebx
fst st(1)
rcl ecx, 1
rcl byte [ecx + eax*4], cl
pop esp
mov ch, 0xf5
sub eax, 0xb9f5d558
jmp 0xbaaee52e
Function at 0x403360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403393
call fcn.00403340
test eax, eax
je 0x403393
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403434
call fcn.00403340
cmp eax, 7
jb 0x403434
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403473
call fcn.00403340
test eax, eax
je 0x403473
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403570
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x83ce74]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4035b9
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035b9
push 0xc00
call eax
test eax, eax
jne 0x40364e
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x40364e
cmp ecx, 0x104
ja 0x40364e
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x4035f2
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x40364d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x403615
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x403612
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446f75
mov esp, ebp
pop ebp
ret
Function at 0x408b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x98
push 0
lea eax, [edi + 0x110]
push eax
call fcn.004486d0
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x408bc7
lea eax, [edi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov esi, eax
xor edi, edi
movzx eax, word [edi + 0x458570]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x408c10
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x408bf4
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x408bf0
mov edi, dword [ebp + 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x408c60
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x408c50
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4