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

Disassembly:
push 0x98
mov eax, 0x4f0748
call fcn.00495bb6
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x484cc6
lea eax, [ebp - 0xa4]
push eax
call fcn.00484307
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004338f5
push eax
mov ecx, ebx
call fcn.00439ab2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484cc6
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.00456863
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00433053
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x796]
push eax
movzx eax, word [ecx + 0x794]
mov ecx, ebx
push eax
call fcn.00485166
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.004846d9
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1c8
push eax
call fcn.0042f3c8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0042f32e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.00495b60
ret 4

Function at 0x48a006
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
mov esi, ecx
call fcn.00495470
xor edx, edx
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x48a02c
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
jmp 0x48a02e
mov eax, edx
push edx
push edx
push eax
push 0x489fca
push 0x1000
push edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi]
pop esi
mov dword [ecx], eax
leave
ret 8
Function at 0x48abd8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0x50d57c
push dword [ebp + 8]
mov edi, ecx
call fcn.004bfca0
mov dword [edi + 0x834], eax
pop ecx
pop ecx
test eax, eax
jne 0x48abfe
inc eax
jmp 0x48add9
push ebx
push esi
push dword [ebp + 8]
push str.Open_file__s_success__n
call fcn.0042e448
push 2
xor ebx, ebx
push ebx
push dword [edi + 0x834]
call fcn.004c053c
push dword [edi + 0x834]
call fcn.004c0b72
push ebx
push ebx
push dword [edi + 0x834]
mov esi, eax
call fcn.004c053c
add esp, 0x24
cmp esi, 0x100000
jbe 0x48ac58
push dword [edi + 0x834]
call fcn.004bfde9
mov dword [edi + 0x834], ebx
jmp 0x48add3
add esi, 0xfffffff2
push esi
call fcn.004bfa2b
push dword [edi + 0x834]
xor ebx, ebx
mov dword [edi + 0x83c], eax
inc ebx
mov dword [edi + 0x7fc], esi
push ebx
lea eax, [edi + 0x847]
mov dword [edi + 0x828], esi
push ebx
push eax
call fcn.004c00a1
push dword [edi + 0x834]
lea eax, [edi + 0x846]
push ebx
push ebx
push eax
call fcn.004c00a1
push dword [edi + 0x834]
lea esi, [edi + 0x84c]
push ebx
push 4
push esi
call fcn.004c00a1
push dword [edi + 0x834]
push dword [edi + 0x7fc]
push ebx
push dword [edi + 0x83c]
call fcn.004c00a1
movzx eax, byte [edi + 0x84e]
add esp, 0x44
movzx ebx, byte [edi + 0x84f]
xor ecx, ecx
add ebx, eax
movzx eax, byte [edi + 0x84d]
add ebx, eax
movzx eax, byte [edi + 0x846]
add ebx, eax
movzx eax, byte [edi + 0x847]
add ebx, eax
movzx eax, byte [esi]
mov esi, dword [edi + 0x7fc]
add ebx, eax
test esi, esi
je 0x48ad1b
mov edx, dword [edi + 0x83c]
movzx eax, byte [edx + ecx]
add ebx, eax
inc ecx
cmp ecx, esi
jb 0x48ad10
push dword [edi + 0x834]
lea eax, [ebp - 4]
push 1
push 4
push eax
call fcn.004c00a1
mov eax, dword [ebp - 4]
movzx ecx, al
movzx eax, ah
add ecx, eax
movzx eax, byte [ebp - 2]
add ecx, eax
movzx eax, byte [ebp - 1]
add ebx, eax
add ebx, ecx
push ebx
push str.cal_MCU_encrypt_checksum0x_x__n
call fcn.0042e448
push dword [edi + 0x834]
lea eax, [ebp - 4]
push 1
push 4
push eax
call fcn.004c00a1
push dword [edi + 0x834]
call fcn.004bfde9
mov eax, dword [ebp - 4]
and dword [edi + 0x834], 0
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
movzx eax, byte [ebp - 2]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 1]
shl esi, 8
or esi, eax
push esi
push str.encrypt_checksum0x_x__n
call fcn.0042e448
mov al, byte [edi + 0x847]
add esp, 0x34
cmp byte [edi + 0xa80], 1
jne 0x48adde
cmp al, 1
jne 0x48adbc
cmp ebx, esi
je 0x48adf0
mov eax, dword [edi + 0x83c]
test eax, eax
je 0x48add4
push eax
call fcn.004a45f7
and dword [edi + 0x83c], 0
pop ecx
push 2
pop eax
pop esi
pop ebx
pop edi
leave
ret 4
cmp al, 1
jne 0x48adbc
mov al, byte [edi + 0x846]
cmp al, byte [edi + 0x845]
jmp 0x48adb6
xor eax, eax
jmp 0x48add7
Function at 0x48f0ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
call esi
push eax
push str.ReadHIDData_timestart___ld_n
mov dword [ebp - 4], eax
call fcn.0042e448
mov eax, dword [edi + 0x854]
xor ebx, ebx
inc ebx
mov dword [edi + 0xa6c], ebx
pop ecx
pop ecx
test eax, eax
je 0x48f1eb
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0x40
push ecx
push eax
call sym.Feelart.exe_hid_read_timeout
add esp, 0x10
mov dword [edi + 0xa60], eax
call esi
sub eax, dword [ebp - 4]
push eax
push str.ReadHIDData_done_timeend_timestart___ld_n
call fcn.0042e448
push dword [edi + 0xa60]
push str.ReadHIDData_NumberOfBytesRead___d_n
call fcn.0042e448
add esp, 0x10
cmp dword [edi + 0xa60], 0
jbe 0x48f1d7
push str.read_data:
call fcn.0042e448
pop ecx
xor cl, cl
cmp dword [edi + 0xa60], 0
mov byte [ebp + 0xf], cl
jbe 0x48f1c3
cmp dword [edi + 0x854], 0
je 0x48f1eb
mov eax, dword [ebp + 8]
movzx esi, cl
mov ecx, edi
movzx eax, byte [esi + eax]
push eax
call fcn.00491eb7
mov ecx, dword [ebp + 8]
movzx eax, byte [esi + ecx]
push eax
push str._02x
call fcn.0042e448
pop ecx
pop ecx
mov cl, byte [ebp + 0xf]
inc cl
movzx eax, cl
mov byte [ebp + 0xf], cl
cmp eax, dword [edi + 0xa60]
jb 0x48f181
push 0x4fd460
call fcn.0042e448
pop ecx
mov ecx, edi
call fcn.00491f0a
jmp 0x48f1e0
and dword [edi + 0xa60], 0
xor ebx, ebx
and dword [edi + 0xa6c], 0
mov eax, ebx
jmp 0x48f206
push str.mHidHandle_is_NULL_n
call fcn.0042e448
and dword [edi + 0xa60], 0
and dword [edi + 0xa68], 0
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4923de
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test ebx, ebx
je 0x49251f
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x49251f
mov edi, dword [ebp + 0xc]
xor edx, edx
push 3
pop esi
lea eax, [edi + 2]
div esi
lea eax, [eax*4 + 1]
cmp dword [ecx], eax
jb 0x49251f
push 3
xor edx, edx
mov eax, edi
pop ecx
div ecx
mov esi, ebx
imul ecx, eax, 3
xor eax, eax
test ecx, ecx
je 0x4924a9
lea eax, [ecx - 1]
mov ebx, dword [0x536238]
xor edx, edx
push 3
pop ecx
div ecx
mov edx, dword [ebp + 8]
inc eax
imul ecx, eax, 3
mov edi, eax
mov dword [ebp - 8], ecx
movzx ecx, byte [edx]
shr ecx, 2
push 3
mov al, byte [ecx + ebx]
mov byte [esi], al
movzx ecx, byte [edx]
pop eax
and ecx, eax
movzx eax, byte [edx + 1]
shr eax, 4
shl ecx, 4
add ecx, ebx
push 3
mov al, byte [eax + ecx]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
movzx ecx, byte [edx + 1]
shr eax, 6
and ecx, 0xf
add eax, ebx
mov al, byte [eax + ecx*4]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 3], al
add esi, 4
pop eax
add edx, eax
sub edi, 1
jne 0x492449
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
jmp 0x4924ac
mov edx, dword [ebp + 8]
cmp eax, edi
jae 0x492511
mov cl, byte [edx]
inc eax
mov dword [ebp - 8], eax
cmp eax, edi
jae 0x4924c2
mov al, byte [edx + 1]
mov byte [ebp + 0x13], al
jmp 0x4924c6
mov byte [ebp + 0x13], 0
mov edx, dword [0x536238]
movzx ecx, cl
mov eax, ecx
and ecx, 3
shr eax, 2
add ecx, ecx
mov al, byte [eax + edx]
movzx edx, byte [ebp + 0x13]
mov byte [esi], al
mov eax, edx
shr eax, 4
add eax, dword [0x536238]
mov al, byte [eax + ecx*8]
mov byte [esi + 1], al
cmp dword [ebp - 8], edi
jae 0x492505
mov eax, dword [0x536238]
and edx, 0xf
mov al, byte [eax + edx*4]
jmp 0x492507
mov al, 0x3d
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov eax, dword [ebp + 0x14]
mov byte [esi], 0
sub esi, ebx
mov dword [eax], esi
mov al, 1
jmp 0x492521
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x492d61
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 4], eax
inc ecx
push edi
mov edi, eax
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x20], ecx
cmp dword [esi + 0x18], eax
jne 0x492dcd
push dword [esi + 0xc]
mov dword [esi + 0x18], ecx
push eax
push dword [esi + 0x1c]
call fcn.00497890
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
push dword [esi + 0x1c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x492dcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x492dcd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
and dword [esi + 0x18], edi
jmp 0x492e42
cmp dword [ebp + 0x14], edi
jl 0x492ded
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x492ded
xor edi, edi
and dword [esi + 0x20], 0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push 1
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x24]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
and dword [esi + 0x18], edi
mov ebx, eax
test ebx, ebx
je 0x492e42
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x492e3e
mov edx, dword [esi + 0x1c]
mov edi, dword [ebp + 0x10]
cmp byte [edx], 0
jne 0x492e2c
lea eax, [ecx - 1]
cmp edi, eax
mov dword [ebp - 4], eax
cmova edi, eax
lea eax, [edx + 1]
push edi
push eax
jmp 0x492e33
cmp edi, ecx
cmova edi, ecx
push edi
push edx
push dword [ebp + 0xc]
call fcn.00498cd0
add esp, 0xc
test ebx, ebx
jne 0x492de2
push 0x510b18
push esi
call fcn.004930f0
and dword [esi + 0x20], 0
or eax, 0xffffffff
pop ecx
pop ecx
jmp 0x492de8

Function at 0x492e9e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
push 0x14
push 0
push eax
call fcn.00497890
mov edi, dword [ebp + 8]
add esp, 0xc
mov ebx, dword [ebp + 0x10]
movzx eax, word [edi + 8]
cmp ebx, eax
jb 0x492eca
mov esi, dword [ebp + 0xc]
jmp 0x492ef5
push eax
call fcn.004bfa2b
push ebx
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.00498cd0
movzx ecx, word [edi + 8]
lea eax, [esi + ebx]
sub ecx, ebx
push ecx
push 0
push eax
call fcn.00497890
movzx ebx, word [edi + 8]
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x492f16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x492f2c
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x492f3d
push 0x510b0c
push edi
call fcn.004930f0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
cmp esi, dword [ebp + 0xc]
je 0x492f49
push esi
call fcn.004a45f7
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4d9159
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d8d5e
Function at 0x4d9164
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d8edf

Function at 0x4de221
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dda05

Function at 0x4de22c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ddc40

Function at 0x4def31
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004decb8

Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x44447a85
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x51cf1b41
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x5c9e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13a000]
push edi
or ebp, 0xffffffff
jmp 0x5c9ea2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c9ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9e98
mov eax, 1
add ebx, ebx
jne 0x5c9ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c9ecc
jne 0x5c9eeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9eeb
dec eax
add ebx, ebx
jne 0x5c9ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c9eb0
add ebx, ebx
jne 0x5c9ee7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c9f3d
xor ecx, ecx
sub eax, 3
jb 0x5c9f03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c9f72
sar eax, 1
mov ebp, eax
jmp 0x5c9f0e
add ebx, ebx
jne 0x5c9f0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9edc
inc ecx
add ebx, ebx
jne 0x5c9f1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9edc
add ebx, ebx
jne 0x5c9f29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c9f1e
jne 0x5c9f3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c9f1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c9f5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c9f4e
jmp 0x5c9e9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c9f5c
add edi, ecx
jmp 0x5c9e9e
pop esi
mov edi, esi
mov ecx, 0x39c0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c9f7a
cmp byte [edi], 0x21
jne 0x5c9f7a
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 0x5c9f7f
lea edi, [esi + 0x1c6000]
mov eax, dword [edi]
or eax, eax
je 0x5c9fee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fbf88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fc064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c9fac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fc068]
or eax, eax
je 0x5c9fe8
mov dword [ebx], eax
add ebx, 4
jmp 0x5c9fc9
call dword [esi + 0x1fc078]
mov ebp, dword [esi + 0x1fc06c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5ca022
sub esp, 0xffffff80
jmp 0x4797ec
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x156207de
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..tls
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7d8525ab
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x405640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x405524
cld
call fcn.004056ba
pushal
mov ebp, esp
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x26]
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40564c
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x405643
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x4056b1
add eax, edx
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
push eax
add ebx, edx
test ecx, ecx
je 0x4056b0
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
ror edi, 0xd
lodsb al, byte [esi]
add edi, eax
cmp al, ah
jne 0x40567c
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x405670
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40563a
Function at 0x40153f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40162d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040153f
test eax, eax
jne 0x4016c7
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40215e
sub eax, 0x4016fc
mov dword [esp], 0x4016fc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c7
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401442
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014c9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e61
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x93f5a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x2fbe6b74
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4a18b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4a18ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a18d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a18c0
mov eax, 1
add ebx, ebx
jne 0x4a18e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a18f4
jne 0x4a1913
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1913
dec eax
add ebx, ebx
jne 0x4a1900
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a18d8
add ebx, ebx
jne 0x4a190f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a1965
xor ecx, ecx
sub eax, 3
jb 0x4a192b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a199a
sar eax, 1
mov ebp, eax
jmp 0x4a1936
add ebx, ebx
jne 0x4a1936
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1904
inc ecx
add ebx, ebx
jne 0x4a1944
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1904
add ebx, ebx
jne 0x4a1951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a1946
jne 0x4a1962
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a1946
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a1984
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a1976
jmp 0x4a18c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a1984
add edi, ecx
jmp 0x4a18c6
pop esi
mov edi, esi
mov ecx, 0x3e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a19a2
cmp byte [edi], 7
jne 0x4a19a2
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 0x4a19a7
lea edi, [esi + 0x9f000]
mov eax, dword [edi]
or eax, eax
je 0x4a1a16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b198]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b1d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a19d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b1dc]
or eax, eax
je 0x4a1a10
mov dword [ebx], eax
add ebx, 4
jmp 0x4a19f1
call dword [esi + 0x12b1d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a1a47
cmp al, 0xef
ja 0x4a1a3a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a1a1c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a1a29
mov ebp, dword [esi + 0x12b1e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x4a1a7b
sub esp, 0xffffff80
jmp 0x40125d