joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466510
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.00437710
mov esi, eax
add esp, 8
test esi, esi
jne 0x466538
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x50105c], 0
mov edi, dword [esp + 0x14]
je 0x466581
mov eax, dword [0x50114c]
test eax, eax
je 0x46655c
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x466581
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x43a600
push 0
push 0
mov dword [esi + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x46658e
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x4665a6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x4733b0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.00478030
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x4733ea
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.00478030
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x478140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x4781db
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x478193
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x4781b8
test edx, edx
jne 0x4781ca
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.0043c3e0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x47823a
jmp 0x4781d1
movzx ecx, byte [ecx + 0x4e7fc8]
movzx edx, byte [edx + 0x4e7fc8]
sub edx, ecx
jne 0x4781cd
inc eax
jmp 0x478180
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x478160
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x478206
test ecx, ecx
jne 0x478218
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x47821b
neg eax
sbb eax, eax
jmp 0x47822a
movzx eax, byte [eax + 0x4e7fc8]
movzx ecx, byte [ecx + 0x4e7fc8]
sub ecx, eax
jne 0x478238
inc ebp
jmp 0x4781e2
test eax, eax
je 0x478238
mov edx, eax
call fcn.0043af30
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x478238
mov ebp, str.sqlite_temp_master
jmp 0x478153
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x478580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x47861a
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x4785d9
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x478605
test edx, edx
jne 0x478617
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.0043c3e0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4785fb
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x4785a2
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x4e7fc8]
movzx edx, byte [edx + 0x4e7fc8]
sub edx, ecx
jne 0x4785f1
inc eax
jmp 0x4785c6
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x4ce980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.004bef20
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4ceb5e
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.004ca470
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ceb5e
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.004ca590
mov esi, eax
cmp esi, 0x64
jne 0x4ceb5e
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.004bb160
lea esi, [edi + eax]
cmp esi, ebp
jae 0x4ceb3e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.004bb160
add esi, eax
cmp esi, ebp
jae 0x4ceb3a
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x4ceae6
cmp ecx, 1
jne 0x4ceaa6
test edx, edx
je 0x4ceae6
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.004ce8d0
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x4ceb32
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x4ceb08
lea edx, [esp + 0x30]
call fcn.004bb160
add esi, eax
jmp 0x4ceb32
lea edx, [esp + 0x20]
call fcn.004bb160
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x4ceb2a
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x4ceb32
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x4cea71
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.004ca590
mov esi, eax
cmp esi, 0x64
je 0x4cea34
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x4ceb66
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.004cacf0
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x4d8fa0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x4d8fdc
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.004d8ec0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x4d909c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.0045da30
push edi
call fcn.0045c780
add esp, 0x14
cmp eax, 0x65
jne 0x4d9033
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.004d8f40
add esp, 0x1c
jmp 0x4d908a
cmp eax, 0x64
jne 0x4d908a
push 0
push edi
call fcn.0045d0a0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x4d9055
cmp edx, ecx
je 0x4d908a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.004d8f40
add esp, 0x2c
push edi
call fcn.0045b7d0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x4d909c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6baf7819
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x661754af
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401939
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43307c]
jne 0x401943
repz ret
jmp fcn.00402491

Function at 0x405613
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43307c]
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.00403097
and dword [ebp - 0x14], 0
cmp dword [0x435b1c], 0
mov dword [ebp - 0x18], eax
jne 0x4056c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40576e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40576e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x435b1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x435b20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x435b24], eax
call edi
push eax
call esi
mov dword [0x435b2c], eax
test eax, eax
je 0x4056c6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x435b28], eax
mov eax, dword [0x435b28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40571f
cmp dword [0x435b2c], ecx
je 0x40571f
push eax
call esi
push dword [0x435b2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40571f
test ebx, ebx
je 0x40571f
call edi
test eax, eax
je 0x405716
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405716
test byte [ebp - 8], 1
jne 0x40571f
or dword [ebp + 0x10], 0x200000
jmp 0x405752
mov eax, dword [0x435b20]
cmp eax, dword [ebp - 0x18]
je 0x405752
push eax
call esi
test eax, eax
je 0x405752
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405752
mov eax, dword [0x435b24]
cmp eax, dword [ebp - 0x18]
je 0x405752
push eax
call esi
test eax, eax
je 0x405752
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435b1c]
call esi
test eax, eax
je 0x40576e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405770
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401939
leave
ret
Function at 0x405c8e
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x406536
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064d5
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x4065a6
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x4065a6
cmp dword [ebp + 0xc], 1
je 0x4065aa
cmp dword [ebp + 0xc], 2
je 0x4065aa
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x73c12c7c
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x7b0c008c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40288e
pop dword [ebp - 0x4c]
mov eax, 0x37b0df6c
sub eax, 0x3770b6de
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x9e9b90b9
add dword [ebp - 0x5c], 0xafb6b492
mov dword [ebp - 0x58], 0x20f2000b
add dword [ebp - 0x58], 0x11414c3a
mov dword [ebp - 0x54], 0xe73acca5
add dword [ebp - 0x54], 0x65117789
mov dword [ebp - 0x50], 0x6159b18b
sub dword [ebp - 0x50], 0x6159b18b
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xbb2a8eed
sub eax, 0xbaea1e89
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x624d1b25
sub dword [ebp - 0x5c], 0xeddab1cf
mov dword [ebp - 0x58], 0xf8d46c02
add dword [ebp - 0x58], 0x4897f573
mov dword [ebp - 0x54], 0x21f35b5e
add dword [ebp - 0x54], 0x417c110e
mov dword [ebp - 0x50], 0x5244bc79
sub dword [ebp - 0x50], 0x5244bc79
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xac4667d8
sub eax, 0xac05f730
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x35bf6
push 0
call eax
mov ecx, 0xfe7b05ec
add ecx, 0x1853eaf
xor ebx, ebx
add ebx, eax
mov esi, 0x88f335ed
add esi, 0x774dca13
add esi, dword [ebp - 0x4c]
mov edx, 0xd4c907fb
sub dword [ebp - 0x18], ecx
mov edi, dword [esi]
xor dword [ebp - 0x40], 0xbf187202
add edi, edx
sub dword [ebp - 0x30], edi
mov dword [ebx], edi
sub dword [ebp - 0x1c], 0xd50db7ef
add ebx, 0x715ae48b
add ebx, 0x8ea51b79
add esi, 4
loop 0x4029ac
add eax, 0x1053f
mov ebx, eax
add eax, 5
mov ecx, 0x41cc2ef9
sub ecx, 0x418c2ef9
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40a850
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43e86d
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x45060c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, dword [esp + 0x138]
xor edi, edi
mov dword [esp + 0x130], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a8bd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ebx, 1
mov dword [esp + 0x130], edi
mov dword [esp + 0x18], ebx
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a8f5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x130], ebx
call fcn.0041a00a
mov ecx, dword [eax + 4]
call fcn.0041d96f
lea ecx, [esp + 0x20]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a930
sub eax, edx
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401aa0
push 0x441978
lea ecx, [esp + 0x18]
call fcn.00401f60
call fcn.0041a00a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xa4]
cmp dword [eax - 0xc], edi
je 0x40a980
call fcn.0041a00a
mov eax, dword [eax + 4]
add eax, 0xa4
push eax
lea ecx, [esp + 0x18]
call fcn.00402100
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ebx, [ebx]
push edi
push ebp
push str._slaunch_temp__d
push esi
call fcn.004061c0
mov eax, dword [esi]
add esp, 0x10
push eax
call ebx
cmp eax, 0xffffffff
je 0x40a9ad
inc edi
jmp 0x40a990
call fcn.0041a00a
mov ecx, dword [eax + 4]
call fcn.0041d984
lea eax, [ebp - 0x10]
mov byte [esp + 0x130], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004294b3
add esp, 0x120
ret 4
Function at 0x47fd00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x47fd22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47fd29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47fd18
mov eax, 1
add ebx, ebx
jne 0x47fd3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47fd30
jne 0x47fd4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47fd30
xor ecx, ecx
sub eax, 3
jb 0x47fd60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47fdd2
mov ebp, eax
add ebx, ebx
jne 0x47fd6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47fd78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47fd9c
inc ecx
add ebx, ebx
jne 0x47fd88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47fd7d
jne 0x47fd99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47fd7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47fdbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47fdad
jmp 0x47fd1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47fdbc
add edi, ecx
jmp 0x47fd1e
pop esi
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x47fe1b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7f06c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47fdd9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7f074]
or eax, eax
je 0x47fe15
mov dword [ebx], eax
add ebx, 4
jmp 0x47fdf6
call dword [esi + 0x7f070]
mov ebp, dword [esi + 0x7f078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x47fe4f
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40f080], 1
mov dword [0x40f07c], 1
mov dword [0x40f078], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40f014], eax
mov eax, dword [0x40f08c]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40f0a0]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40f088]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x40a060], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056