joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ffda7
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov esi, ecx
inc edi
cmp eax, 0x25
ja 0x4ffe77
je 0x4ffe61
sub eax, 8
je 0x4ffe54
dec eax
je 0x4ffe45
sub eax, 4
je 0x4ffe17
sub eax, 4
je 0x4ffe0f
sub eax, 0x12
je 0x4ffe02
dec eax
jne 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.00490845
cmp eax, edi
je 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff098
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff072
jmp 0x4ffee7
mov dword [esi + 0xc], edi
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff58e
mov ecx, dword [esi + 4]
call fcn.0042206b
test eax, eax
je 0x4ffee7
mov ecx, dword [esi + 4]
push 8
call fcn.0042206b
mov ecx, eax
call fcn.0044491e
jmp 0x4ffee7
mov ecx, 0x6a0b58
call fcn.0044da9d
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff413
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.00490845
cmp eax, edi
je 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff0a3
jmp 0x4ffee7
sub eax, 0x26
je 0x4ffedf
dec eax
je 0x4ffed5
dec eax
je 0x4ffecb
sub eax, 6
je 0x4ffec1
sub eax, 0x28
jne 0x4ffee7
cmp dword [esi + 0xc], eax
je 0x4ffee7
push edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4ffee7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ffee7
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.004ff8f5
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff25d
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff011
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff10c
jmp 0x4ffee7
mov ecx, dword [esi + 4]
call fcn.004ff176
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x501cce
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
lea edi, [ebp - 0x104]
mov edx, esi
sub edi, esi
mov al, byte [edx]
mov byte [edi + edx], al
inc edx
test al, al
jne 0x501cf3
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR120.dll_isalpha]
pop ecx
test eax, eax
je 0x501d6a
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x501d89
mov ecx, dword [esi + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x501d6a
movsx eax, word [esi + 0xa]
push eax
push dword [ecx]
lea eax, [ebp - 0x110]
push eax
call fcn.005501bc
add esp, 0xc
push dword [ebp - 0x110]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x55f3dc
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
mov eax, dword [esi + 0xc]
add esp, 0xc
inc edi
lea ecx, [eax + edi*4]
cmp dword [ecx], 0
jne 0x501d27
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x104]
push dword [ebp + 0xc]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor ecx, ecx
mov dword [ebx + 0x14], eax
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005500ac
mov esp, ebp
pop ebp
ret 8
Function at 0x503512
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x303]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0x1ff
push ebx
push eax
mov byte [ebp - 0x304], bl
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x304]
test edi, edi
je 0x50356d
push edi
push dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
push 0x571598
push eax
call esi
add esp, 0x14
jmp 0x503582
push dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
push str._s_line:_d_
push eax
call esi
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x30e]
push eax
movzx eax, word [ebp - 0x312]
push eax
movzx eax, word [ebp - 0x314]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Debug__4d_02d_02d.txt
push eax
call esi
add esp, 0x14
cmp dword [0x6b93d8], ebx
jne 0x503675
push ebx
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x503604
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x50362c
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x3a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
ja 0x50366b
lea eax, [ebp - 0x104]
push 0x5715c0
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x503675
call fcn.00502e0a
push eax
lea eax, [ebp - 0x304]
push eax
push str._stime:_s_n
push esi
call dword [sym.imp.MSVCR120.dll_fprintf]
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
jmp 0x503675
mov dword [0x6b93d8], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005500ac
mov esp, ebp
pop ebp
ret
Function at 0x5186b8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x410], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x404]
push 0
push eax
call sub.MSVCR120.dll_memset
mov ecx, edi
add esp, 0xc
and dword [ebp - 0x408], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x518710
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.0051868c
mov ebx, eax
lea ecx, [esi + 0x20]
push ebx
call fcn.004a5638
test eax, eax
jne 0x5187d6
lea ecx, [esi + 0x20]
call fcn.0052ef20
cmp eax, 0xcd
jb 0x51876e
push 0x33
mov ecx, esi
call fcn.00518807
lea eax, [ebp - 0x404]
push 0x573374
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
pop ecx
pop ecx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18c]
mov dword [ebp - 0x408], eax
test eax, eax
je 0x5187d6
mov ecx, dword [esi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x114]
mov eax, dword [esi]
push dword [ebp - 0x408]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov ecx, esi
call fcn.0051865a
test eax, eax
je 0x5187bd
mov ecx, dword [ebp - 0x408]
mov dword [eax + 8], ecx
mov dword [eax + 4], ebx
push eax
lea ecx, [esi + 4]
call fcn.0054e4c0
push ebx
lea eax, [ebp - 0x408]
push eax
lea ecx, [esi + 0x20]
call fcn.004e2201
push dword [ebp - 0x414]
mov eax, dword [esi]
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005500ac
mov esp, ebp
pop ebp
ret 0x10

Function at 0x518909
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov edi, eax
add edx, 0x493e0
cmp edi, edx
jbe 0x518937
mov ecx, esi
call fcn.00518863
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x51e246
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push ebx
push esi
mov dword [ebp - 4], eax
cmp dword [eax + 0x1f4], 0
je 0x51e337
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x51e337
xor ecx, ecx
mov edx, 0x6d6834
inc ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, 1
je 0x51e337
mov ecx, ebx
call fcn.00421eaa
cmp eax, 1
je 0x51e337
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [ebp - 4]
mov edi, 0x6d6814
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, 0x6d6820
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0x1f4]
xor esi, esi
mov dword [0x6d682c], eax
inc esi
mov eax, dword [ebp + 0x14]
mov dword [0x6d6830], ebx
xor ebx, ebx
mov dword [0x67c95c], eax
mov dword [ecx + 0x3ac], ebx
mov ecx, 0x6a7278
push esi
call fcn.004bfa90
mov ecx, eax
call fcn.00496ab3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x6a8408
mov dword [0x6d6808], eax
call fcn.004bc58e
mov dword [0x6d680c], eax
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push 0x51e34c
push ebx
push ebx
mov dword [0x6d6800], esi
mov dword [0x6d6804], esi
mov dword [0x6d683c], ebx
mov dword [0x6d67fc], ebx
mov dword [0x6d6810], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
test eax, eax
jne 0x51e341
mov ecx, 0x6d6834
xchg dword [ecx], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x51e339
Function at 0x52e5a2
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x50]
je 0x52e5cb
cmp esi, 0x11
je 0x52e5cb
lea ecx, [esi + 2]
lea ecx, [edi + ecx*4]
call fcn.0052ef20
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x53de7f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
je 0x53dec4
mov edi, 0x6ab460
push 0x7c9
mov ecx, edi
call fcn.004c8ae8
push eax
push 0x17
push edi
call fcn.004c8211
add esp, 0xc
xor eax, eax
jmp 0x53e00f
mov eax, dword [0x6d4974]
push ebx
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
lea edx, [ebp - 0x210]
push edx
push 0x575620
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
test eax, eax
je 0x53e007
mov ecx, esi
call fcn.0053e2be
test eax, eax
jne 0x53df42
push str.bdcap32.dll
mov ecx, esi
call fcn.0053e05b
test eax, eax
jns 0x53df32
mov edi, 0x6ab460
push 0x7ca
mov ecx, edi
call fcn.004c8ae8
push eax
push 0x17
push edi
call fcn.004c8211
add esp, 0xc
jmp 0x53e007
mov eax, dword [esi]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call dword [eax + 0xc]
mov ecx, esi
call fcn.0053e2be
test eax, eax
je 0x53e00b
mov eax, dword [esi]
push 0x140
push 0xf
push esi
call dword [eax + 0x40]
mov ecx, esi
call fcn.0053e387
push ebx
mov ecx, 0x6d7510
call fcn.0052db8b
push eax
lea eax, [ebp - 0x108]
push str._sScreenShot
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x108]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x53dfa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x53e007
push 0x104
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push 0x575750
push str.Capture
lea eax, [ebp - 0x108]
push eax
call fcn.0053e2c7
lea eax, [ebp - 0x20c]
mov edi, 0x6ab460
push eax
push 0x971
mov ecx, edi
call fcn.004c8ae8
push eax
push 0x17
push edi
call fcn.004c8211
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push 4
push ebx
push eax
push esi
call fcn.0053e4cc
test eax, eax
jns 0x53e00b
xor eax, eax
jmp 0x53e00e
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005500ac
mov esp, ebp
pop ebp
ret
Function at 0x5422f5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.00415a13
pop ecx
pop ecx
mov esi, ebx
mov byte [eax + 1], 0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x542353
lea edi, [ebp - 0x104]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x542363
mov ecx, ebx
lea eax, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0xff
push dword [ebp - 0x110]
mov ecx, ebx
push 0
push dword [ebp - 0x108]
and ecx, 3
push dword [ebp - 0x10c]
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005500ac
mov esp, ebp
pop ebp
ret
Function at 0x5491bc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x114], ecx
mov ecx, 0x6b5f9c
push edi
call fcn.00415526
push eax
push eax
xor edi, edi
mov ecx, 0x6d7510
push edi
call fcn.0052db8b
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x54922d
xor eax, eax
jmp 0x54929e
push edi
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], edi
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x549258
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x549229
cmp dword [ebp - 0x110], 0x61208
jne 0x54924f
push edi
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x114]
push 0x16c
add eax, 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x54924f
cmp dword [ebp - 0x10c], 0x16c
ja 0x549295
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005500ac
mov esp, ebp
pop ebp
ret
Function at 0x54b43a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x67ccf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov ecx, 0x6b5f9c
push edi
call fcn.00415526
push eax
push eax
xor esi, esi
mov ecx, 0x6d7510
push esi
call fcn.0052db8b
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x54b4e4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10c]
push eax
push 4
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x61208
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x16c
lea eax, [ebx + 4]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005500ac
mov esp, ebp
pop ebp
ret

Function at 0x54f720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
sar eax, 2
and esi, 3
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], esi
lea edx, [eax*4]
mov dword [ecx + 0x50], edx
push edi
test eax, eax
je 0x54f75f
xor edi, edi
xor edi, dword [ebx]
lea ebx, [ebx + 4]
dec eax
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x48], eax
jne 0x54f751
test esi, esi
je 0x54f77c
mov edi, dword [ecx + 0x54]
mov eax, dword [ebp + 8]
movsx eax, byte [edx + eax]
inc edx
xor edi, eax
mov dword [ecx + 0x50], edx
dec esi
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x4c], esi
jne 0x54f766
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x402e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x402e89
mov edi, 0
mov dword [0x412040], edi
mov byte [0x40e475], 1
mov byte [0x41239d], 0
mov byte [0x41239e], 0
mov byte [0x41239f], 0
jmp 0x402eac
cmp eax, 1
jne 0x402eac
mov edi, 0
mov dword [0x412044], edi
mov byte [0x40e4a7], 1
mov eax, 0
mov dword [0x412395], eax
cmp dword [section.BSS], 0
jbe 0x402eb7
jmp 0x402edf
push section.BSS
push 0
push 0
push 0x402ef0
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x412010], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle
mov dword [0x41201c], eax
pop edx
pop ecx
pop ebx
leave
ret 4

Function at 0x40b3e0
Capabilities:
Hide graphical window

Disassembly:
enter 0x34, 0
push ebx
push ecx
push edx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 0x40b510
mov eax, 0
mov dword [ebp - 0x2c], eax
mov edi, 0
mov dword [ebp - 0x28], edi
mov eax, dword [0x412058]
mov dword [ebp - 0x24], eax
cmp dword [0x410bd9], 0
je 0x40b420
mov eax, dword [0x410bd9]
mov dword [ebp - 0x20], eax
jmp 0x40b42f
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x20], eax
cmp dword [0x410bdd], 0
je 0x40b442
mov eax, dword [0x410bdd]
mov dword [ebp - 0x1c], eax
jmp 0x40b451
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x41147b
mov al, byte [0x4131f9]
test al, al
jne 0x40b49d
lea ebx, [ebp - 0x34]
push ebx
call sub.user32.dll_RegisterClassA
cmp ax, 0
jne 0x40b496
mov eax, 0
mov dword [0x4131f5], eax
mov edi, 0
mov dword [ebp - 0xc], edi
jmp 0x40b4fb
mov byte [0x4131f9], 1
push 0
push 0
push 0
push 0
push 1
call sub.user32.dll_GetSystemMetrics
push eax
push 0
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0x81000000
push dword [0x412054]
push 0x411485
push 8
call sub.user32.dll_CreateWindowExA
mov dword [0x4131f5], eax
push 9
push eax
call sub.user32.dll_ShowWindow
push dword [0x4131f5]
call sub.user32.dll_BringWindowToTop
push dword [0x4131f5]
call sub.user32.dll_UpdateWindow
mov eax, dword [0x4131f5]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edx
pop ecx
pop ebx
leave
ret
Function at 0x10002cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x10002d9b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x10002d36
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.10002900
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002d04
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x10002e54
call fcn.10002d48
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x10002df3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.10002900
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002dac
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x10002e54
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.10002900
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10002e4f
jmp 0x10002e54
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10002ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x10002fa4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10002f3f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10002a60
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002f0d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x1000305d
call fcn.10002f51
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x10002ffc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10002b90
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10002fb5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x1000305d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10002b90
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10003058
jmp 0x1000305d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret