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

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x38
call sym._GetLastError_0
test eax, eax
jne 0x43d968
add esp, 0x38
pop ebx
ret
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1100
call sym._FormatMessageA_28
sub esp, 0x1c
test eax, eax
jne 0x43d9b8
call sym._IsDebuggerPresent_0
test eax, eax
je 0x43d95f
int3
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._OutputDebugStringA_4
sub esp, 4
mov dword [esp], ebx
call sym._OutputDebugStringA_4
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._LocalFree_4
sub esp, 4
jmp 0x43d9a7
Function at 0x43daf0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call sym._GetCurrentProcessId_0
xor edx, edx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + edx + 0x1c]
mov ecx, eax
and eax, 0xf
shr cl, 4
add eax, 0x61
add ecx, 0x41
mov byte [edx + edx + 0x501c05], al
mov byte [edx + edx + 0x501c04], cl
add edx, 1
cmp edx, 4
jne 0x43db02
xor eax, eax
mov edx, 0x5f
jmp 0x43db3f
movzx edx, byte [eax + str.__eh_shmem3_gcc_tdm_]
mov byte [eax + 0x501c0c], dl
add eax, 1
cmp eax, 0x15
jne 0x43db38
xor eax, eax
mov edx, 0x5f
jmp 0x43db67
movzx edx, byte [eax + str.__eh_shmem3_gcc_tdm_]
mov byte [eax + 0x501c40], dl
add eax, 1
cmp eax, 0x14
jne 0x43db60
mov dword [esp + 8], 0x501c04
mov dword [esp + 4], 0
mov dword [esp], 0
mov byte [0x501c54], 0x2d
mov dword [0x501c55], 0x61616161
mov dword [0x501c59], 0x61616161
mov dword [0x501c5d], 0x61616161
mov dword [0x501c61], 0x61616161
mov dword [0x501c65], 0x61616161
mov dword [0x501c69], 0x61616161
mov dword [0x501c6d], 0x61616161
mov dword [0x501c71], 0x61616161
mov byte [0x501c75], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov esi, eax
test eax, eax
jne 0x43dd4a
mov dword [esp], 0x501c40
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x43dca0
mov edx, 0x501bc0
mov eax, 0x20
nop
bt edx, eax
jae 0x43dc40
mov ecx, eax
neg ecx
mov byte [ecx + 0x501c75], 0x41
sub eax, 1
jne 0x43dc30
mov dword [esp], 0x501c40
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x43dd39
mov dword [esp], dbg.__eh_shmem3_gcc_tdm_cleanup_local_region
mov dword [0x501bc0], 0x501bc0
call sym.__onexit
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
mov eax, dword [0x501bc0]
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov ebp, 0x20
mov edi, 1
mov dword [esp + 8], 0x36
mov dword [esp + 4], 0x501c40
mov dword [esp], eax
call sym._GetAtomNameA_12
mov edx, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x43dd69
lea esi, [esi]
cmp byte [eax + 0x501c55], 0x41
jne 0x43dceb
mov ecx, ebp
mov edx, edi
sub ecx, eax
shl edx, cl
or esi, edx
add eax, 1
cmp eax, 0x20
jne 0x43dcd8
mov eax, esi
mov dword [0x501bc0], eax
jmp 0x43dd0c
cmp edx, 0x501bc0
je 0x43dc73
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x43dd00
cmp edx, 0x501bc0
je 0x43dc73
mov dword [edx + 4], 0x501bc0
mov dword [esp], dbg.__eh_shmem3_gcc_tdm_cleanup_local_region
call sym.__onexit
jmp 0x43dc73
mov eax, 0x4f4944
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x43dc8e
mov eax, 0x4f4920
call dbg.__eh_shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x4f4968
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x43dcf5
Function at 0x441f80
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 8
mov eax, dword [0x501ce0]
test eax, eax
je 0x442000
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x442020
mov dword [eax + 0x18], 0x4e70f4
mov ebx, 0x4e70f4
call sym._TlsAlloc_0
mov dword [ebx], eax
mov eax, dword [0x501ce0]
test eax, eax
je 0x441fd8
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x441ff8
mov dword [eax + 0x18], 0x4e70f4
mov eax, 0x4e70f4
cmp dword [eax], 0xffffffff
je sym._pthread_tls_init.cold
add esp, 8
pop ebx
ret
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x501ce0]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x441fbb
test eax, eax
jne 0x441ff8
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x441fc7
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ebx, dword [eax + 0x18]
mov eax, dword [0x501ce0]
test ebx, ebx
je 0x441f98
test eax, eax
jne 0x442020
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov ebx, dword [eax + 0x18]
jmp 0x441fa4

Function at 0x442030
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call sym._GetCurrentThreadId_0
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.__ultoa
cmp byte [esp + 0x3c], 0
je 0x44210a
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x4420dd
cmp eax, 0x6a
je 0x4420fa
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0x4420d8
cmp eax, 0x6a
je 0x4420fa
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call sym._OutputDebugStringA_4
sub esp, 4
call sym._abort
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x4420f0
Function at 0x445310
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x445332
call sym.__pthread_cleanup_dest.part.0
test byte [ebx + 0x20], 0x30
je 0x4454d7
mov eax, dword [0x501ce0]
test eax, eax
je 0x4453b8
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x4453d8
mov dword [eax + 0x18], 0x4e70f4
mov eax, 0x4e70f4
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
test eax, eax
je 0x4453a3
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
je 0x4453e0
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x445392
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x445488
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ecx, dword [eax + 0x18]
mov eax, dword [0x501ce0]
test ecx, ecx
je 0x445350
test eax, eax
jne 0x4453d8
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x44535c
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4453f5
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebx + 0xb0]
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], 0
test eax, eax
je 0x445478
mov eax, dword [0x501ce0]
test eax, eax
je 0x445450
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x445470
mov dword [eax + 0x18], 0x4e70f4
mov eax, 0x4e70f4
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x501ce0]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x445419
test eax, eax
jne 0x445470
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x445425
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x445409
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call sym._CloseHandle_4
mov ecx, dword [ebx + 0xb0]
mov dword [ebx + 0x14], 0
sub esp, 4
test ecx, ecx
jne 0x4454b4
mov eax, ebx
call sym._push_pthread_mem.part.0
mov eax, dword [0x501ce0]
test eax, eax
jne 0x445412
call sym.___shmem3_winpthreads_tdm_init_local_region
mov eax, dword [eax + 0x18]
test eax, eax
mov eax, dword [0x501ce0]
jne 0x445463
jmp 0x445419
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
lea esi, [esi]
Function at 0x447130
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x38
call sym._GetLastError_0
test eax, eax
jne 0x447148
add esp, 0x38
pop ebx
ret
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1100
call sym._FormatMessageA_28
sub esp, 0x1c
test eax, eax
jne 0x447198
call sym._IsDebuggerPresent_0
test eax, eax
je 0x44713f
int3
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._OutputDebugStringA_4
sub esp, 4
mov dword [esp], ebx
call sym._OutputDebugStringA_4
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._LocalFree_4
sub esp, 4
jmp 0x447187
Function at 0x4472d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call sym._GetCurrentProcessId_0
xor edx, edx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + edx + 0x1c]
mov ecx, eax
and eax, 0xf
shr cl, 4
add eax, 0x61
add ecx, 0x41
mov byte [edx + edx + 0x501d41], al
mov byte [edx + edx + 0x501d40], cl
add edx, 1
cmp edx, 4
jne 0x4472e2
xor eax, eax
mov edx, 0x5f
jmp 0x44731f
movzx edx, byte [eax + str.__shmem3_winpthreads_tdm_]
mov byte [eax + 0x501d48], dl
add eax, 1
cmp eax, 0x1a
jne 0x447318
xor eax, eax
mov edx, 0x5f
jmp 0x447347
movzx edx, byte [eax + str.__shmem3_winpthreads_tdm_]
mov byte [eax + 0x501d80], dl
add eax, 1
cmp eax, 0x19
jne 0x447340
mov dword [esp + 8], 0x501d40
mov dword [esp + 4], 0
mov dword [esp], 0
mov byte [0x501d99], 0x2d
mov dword [0x501d9a], 0x61616161
mov dword [0x501d9e], 0x61616161
mov dword [0x501da2], 0x61616161
mov dword [0x501da6], 0x61616161
mov dword [0x501daa], 0x61616161
mov dword [0x501dae], 0x61616161
mov dword [0x501db2], 0x61616161
mov dword [0x501db6], 0x61616161
mov byte [0x501dba], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov esi, eax
test eax, eax
jne 0x44752a
mov dword [esp], 0x501d80
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x447480
mov edx, 0x501ce0
mov eax, 0x20
nop
bt edx, eax
jae 0x447420
mov ecx, eax
neg ecx
mov byte [ecx + 0x501dba], 0x41
sub eax, 1
jne 0x447410
mov dword [esp], 0x501d80
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x447519
mov dword [esp], sym.___shmem3_winpthreads_tdm_cleanup_local_region
mov dword [0x501ce0], 0x501ce0
call sym.__onexit
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
mov eax, dword [0x501ce0]
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov ebp, 0x20
mov edi, 1
mov dword [esp + 8], 0x3b
mov dword [esp + 4], 0x501d80
mov dword [esp], eax
call sym._GetAtomNameA_12
mov edx, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x447549
lea esi, [esi]
cmp byte [eax + 0x501d9a], 0x41
jne 0x4474cb
mov ecx, ebp
mov edx, edi
sub ecx, eax
shl edx, cl
or esi, edx
add eax, 1
cmp eax, 0x20
jne 0x4474b8
mov eax, esi
mov dword [0x501ce0], eax
jmp 0x4474ec
cmp edx, 0x501ce0
je 0x447453
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x4474e0
cmp edx, 0x501ce0
je 0x447453
mov dword [edx + 4], 0x501ce0
mov dword [esp], sym.___shmem3_winpthreads_tdm_cleanup_local_region
call sym.__onexit
jmp 0x447453
mov eax, str.failed_to_add_string_to_atom_table_n
call sym.___shmem_get_error
xor eax, eax
jmp 0x44746e
mov eax, str.failed_to_to_lock_creation_mutex_n
call sym.___shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, str.failed_to_get_string_from_atom_n
call sym.___shmem_get_error
xor eax, eax
jmp 0x4474d5
Function at 0x452150
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._setlocale
test eax, eax
je 0x452224
mov dword [esp], eax
mov esi, eax
mov ebx, esp
call sym._strlen
lea edx, [eax + 1]
add eax, 0x10
shr eax, 4
shl eax, 4
call fcn.0043d6c0
sub esp, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 4], 0x4f5224
mov dword [esp], 2
mov esi, eax
call sym._setlocale
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._strcmp
test eax, eax
je 0x452230
mov dword [esp + 4], esi
mov dword [esp], 2
call sym._setlocale
mov eax, esi
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sym._strchr
test eax, eax
je 0x452220
add eax, 1
mov dword [esp], eax
call sym._atoi
mov edi, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._GetCPInfo_8
sub esp, 8
test eax, eax
je 0x452220
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x452270
xor edi, edi
mov esp, ebx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.LC_ALL
call sym._getenv
test eax, eax
jne 0x4521e2
mov dword [esp], str.LC_CTYPE
call sym._getenv
test eax, eax
jne 0x4521e2
mov dword [esp], str.LANG
call sym._getenv
test eax, eax
jne 0x4521e2
mov eax, esi
jmp 0x4521e2
mov esp, ebx
jmp 0x452224
Function at 0x401329
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c008]
jne 0x401333
repz ret
jmp fcn.00401a19

Function at 0x405caf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402eae
and dword [ebp - 4], 0
cmp dword [0x40d8dc], 0
mov ebx, eax
jne 0x405d60
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405e11
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a9fc
push edi
call esi
test eax, eax
je 0x405e11
push eax
call fcn.00402e3c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40d8dc], eax
call esi
push eax
call fcn.00402e3c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40d8e0], eax
call esi
push eax
call fcn.00402e3c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40d8e4], eax
call esi
push eax
call fcn.00402e3c
pop ecx
mov dword [0x40d8ec], eax
test eax, eax
je 0x405d60
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e3c
pop ecx
mov dword [0x40d8e8], eax
mov eax, dword [0x40d8e8]
cmp eax, ebx
je 0x405db8
cmp dword [0x40d8ec], ebx
je 0x405db8
push eax
call fcn.00402eb7
push dword [0x40d8ec]
mov esi, eax
call fcn.00402eb7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405db8
test edi, edi
je 0x405db8
call esi
test eax, eax
je 0x405daf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405daf
test byte [ebp - 0xc], 1
jne 0x405db8
or dword [ebp + 0x10], 0x200000
jmp 0x405df1
mov eax, dword [0x40d8e0]
cmp eax, ebx
je 0x405df1
push eax
call fcn.00402eb7
pop ecx
test eax, eax
je 0x405df1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405df1
mov eax, dword [0x40d8e4]
cmp eax, ebx
je 0x405df1
push eax
call fcn.00402eb7
pop ecx
test eax, eax
je 0x405df1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40d8dc]
call fcn.00402eb7
pop ecx
test eax, eax
je 0x405e11
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405e13
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4117e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x411805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x411878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x41183a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x41186d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x41186b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x411831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4117fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x4247e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x420015
lea edi, [esi - 0x1f015]
push edi
or ebp, 0xffffffff
jmp 0x424802
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4247f8
mov eax, 1
add ebx, ebx
jne 0x42481b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424810
jne 0x42482c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424810
xor ecx, ecx
sub eax, 3
jb 0x424840
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4248b2
mov ebp, eax
add ebx, ebx
jne 0x42484b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424858
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42487c
inc ecx
add ebx, ebx
jne 0x424868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42485d
jne 0x424879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42485d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42489c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42488d
jmp 0x4247fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42489c
add edi, ecx
jmp 0x4247fe
pop esi
mov edi, esi
mov ecx, 0x21e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4248ba
cmp byte [edi], 5
jne 0x4248ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4248bf
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x42492e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a2c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a38c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4248ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a394]
or eax, eax
je 0x424928
mov dword [ebx], eax
add ebx, 4
jmp 0x424909
call dword [esi + 0x3a390]
mov ebp, dword [esi + 0x3a398]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x424962
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
call sub.kernel32.dll_GetCommandLineA
mov dword [0x404124], eax
xor eax, eax
push eax
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x404120], eax
pop eax
push 0xa
push dword [0x404124]
push 0
push dword [0x404120]
jmp loc.00409000

Function at 0x4010b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x40135a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x404120]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 6
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.LastViewCtrl
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
push 0x3f
call sub.user32.dll_GetSystemMetrics
cmp eax, 3
jne 0x401138
push 0x400000
nop
nop
add eax, 0x1d
push eax
nop
pop eax
and eax, eax
jne 0x401122
sub eax, 0xc
xor eax, eax
push 0
call fcn.00401537
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push dword [ebp - 0x54]
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.MyApp
push str.LastViewCtrl
push 0
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 0x50], eax
push dword [ebp + 0x14]
push dword [ebp - 0x50]
call sub.user32.dll_ShowWindow
push dword [ebp - 0x50]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4011b2
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x40118b
mov eax, dword [ebp - 0x44]
leave
ret 0x10
Function at 0x4011db
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0x14], 0
push dword [ebp - 0x14]
call sub.user32.dll_GetDC
mov dword [ebp + 0xc], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 4], eax
add eax, eax
mov dword [ebp - 0xc], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [0x404010], eax
push dword [ebp + 0xc]
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
push dword [0x404010]
push dword [ebp - 0x10]
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push 0
push dword [ebp - 0x10]
call sub.gdi32.dll_BitBlt
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call sub.gdi32.dll_BitBlt
push esi
mov esi, dword [ebp - 4]
push 0xcc0020
push 0
push esi
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push 0
push dword [ebp + 0xc]
call sub.gdi32.dll_BitBlt
push 0x14
call sub.kernel32.dll_Sleep
sub esi, 8
jns 0x40127c
pop esi
push 0
push dword [ebp + 0xc]
push 0xf
push 0
call sub.user32.dll_SendMessageA
push dword [0x404010]
call sub.gdi32.dll_DeleteObject
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call sub.gdi32.dll_SelectObject
push dword [ebp - 0x10]
call sub.gdi32.dll_DeleteDC
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call sub.user32.dll_ReleaseDC
leave
ret 8

Function at 0x4013ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, str.GetLastError
add eax, dword [ebp + 0x10]
push eax
mov eax, 0x40400c
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, 0x40410b
add eax, dword [ebp + 0x10]
call dword [eax]
push eax
mov eax, 0x404023
add eax, dword [ebp + 0x10]
push eax
mov eax, 0x40400c
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, 0x40410b
add eax, dword [ebp + 0x10]
call dword [eax]
pop eax
call eax
or eax, eax
jne 0x401435
push eax
jmp 0x401443
cmp eax, 0x7f
jne 0x401441
push 0x100
jmp 0x401443
push 1
mov esi, dword [ebp + 8]
mov ebx, 0xa
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, 0
mov eax, dword [ebp + 0xc]
shr eax, 2
sub eax, ecx
push eax
div ebx
inc edx
inc edx
sub dword [esi], edx
xor edx, edx
pop eax
div ebx
add edx, dword [esp]
push edx
add dword [esp], 0x4530ec21
pop edx
xor dword [esi], edx
add esi, 4
loop 0x401451
pop eax
popal
leave
ret 0x10