joyce8/EMBER2024-capa huggingface dataset:
Function at 0x570017ac
Capabilities:
Get file size
Read file on windows

Disassembly:
add byte [eax], al
add bh, al
inc esp
and al, 0x10
add eax, dword [eax]
add byte [eax], al
invalid

Function at 0x570017b4
Capabilities:
Get file size
Read file on windows

Disassembly:
add byte [eax], al
add bh, al
inc esp
and al, 8
add dword [eax], eax
add byte [eax], al
invalid

Function at 0x570017bc
Capabilities:
Get file size
Read file on windows

Disassembly:
add byte [eax], al
add bh, al
inc esp
and al, 4
add byte [eax], al
add byte [eax], al
or byte [ecx + 0x15ff241c], 0xc
or al, 9
invalid
push edi

Function at 0x570017c4
Capabilities:
Get file size
Read file on windows

Disassembly:
add byte [eax], al
or byte [ecx + 0x15ff241c], 0xc
or al, 9
invalid
push edi

Function at 0x570017d4
Capabilities:
Get file size
Read file on windows

Disassembly:
mov dword [ebx + 0xa75fff8], 0x2404c7
add byte [eax], al
add bh, bh
salc

Function at 0x570017ec
Capabilities:
Get file size
Read file on windows

Disassembly:
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetFileSize]
push edi
mov dword [ebp - 0x40], eax
mov eax, dword [0x57025706]
push edi
push edx
push edx
mov dword [esp + 0xc], 4
add byte [eax], al
add bh, al
inc esp
and al, 8
add byte [eax], dl
adc byte [eax], al
add byte [ecx - 0x38fbdbbc], cl
add al, 0x24
add byte [eax], al
add byte [eax], al
call dword [sym.imp.kernel32.dll_VirtualAlloc]
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
adc byte [ecx - 0x2bba723d], cl
mov dword [esp + 0x10], 0
and al, 0x10
add byte [eax], al
add byte [eax], al
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
and al, 4
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReadFile]
or byte [ebx], al
push edi
sub esp, 0x14
test eax, eax

Function at 0x570017f4
Capabilities:
Read file on windows

Disassembly:
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetFileSize]
push edi
mov dword [ebp - 0x40], eax
mov eax, dword [0x57025706]
push edi
push edx
push edx
mov dword [esp + 0xc], 4
add byte [eax], al
add bh, al
inc esp
and al, 8
add byte [eax], dl
adc byte [eax], al
add byte [ecx - 0x38fbdbbc], cl
add al, 0x24
add byte [eax], al
add byte [eax], al
call dword [sym.imp.kernel32.dll_VirtualAlloc]
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
adc byte [ecx - 0x2bba723d], cl
mov dword [esp + 0x10], 0
and al, 0x10
add byte [eax], al
add byte [eax], al
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
and al, 4
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReadFile]
or byte [ebx], al
push edi
sub esp, 0x14
test eax, eax
Function at 0x570017fc
Capabilities:
Read file on windows

Disassembly:
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetFileSize]
push edi
mov dword [ebp - 0x40], eax
mov eax, dword [0x57025706]
push edi
push edx
push edx
mov dword [esp + 0xc], 4
add byte [eax], al
add bh, al
inc esp
and al, 8
add byte [eax], dl
adc byte [eax], al
add byte [ecx - 0x38fbdbbc], cl
add al, 0x24
add byte [eax], al
add byte [eax], al
call dword [sym.imp.kernel32.dll_VirtualAlloc]
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
adc byte [ecx - 0x2bba723d], cl
mov dword [esp + 0x10], 0
and al, 0x10
add byte [eax], al
add byte [eax], al
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
and al, 4
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReadFile]
or byte [ebx], al
push edi
sub esp, 0x14
test eax, eax

Function at 0x57001804
Capabilities:
Read file on windows

Disassembly:
add byte [eax], al
add bh, al
inc esp
and al, 8
add byte [eax], dl
adc byte [eax], al
invalid

Function at 0x5700181c
Capabilities:
Read file on windows

Disassembly:
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
invalid
mov ebx, eax

Function at 0x57001824
Capabilities:
Read file on windows

Disassembly:
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
invalid
mov ebx, eax

Function at 0x5700182c
Capabilities:
Read file on windows

Disassembly:
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
invalid
mov ebx, eax

Function at 0x5700183c
Capabilities:
Read file on windows

Disassembly:
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetFileSize]
push edi
mov dword [ebp - 0x40], eax
mov eax, dword [0x57025706]
push edi
push edx
push edx
mov dword [esp + 0xc], 4
add byte [eax], al
add bh, al
inc esp
and al, 8
add byte [eax], dl
adc byte [eax], al
add byte [ecx - 0x38fbdbbc], cl
add al, 0x24
add byte [eax], al
add byte [eax], al
call dword [sym.imp.kernel32.dll_VirtualAlloc]
sbb byte [eax], cl
add edx, dword [edi - 0x75]
push ebp
rol bh, 0x45
inc ebp
aam 0
add byte [eax], al
add byte [ebx - 0x3c76ef14], al
adc byte [ecx - 0x2bba723d], cl
mov dword [esp + 0x10], 0
and al, 0x10
add byte [eax], al
add byte [eax], al
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
and al, 4
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReadFile]
or byte [ebx], al
push edi
sub esp, 0x14
test eax, eax

Function at 0x570019f0
Capabilities:
Packed with generic packer

Disassembly:
or eax, 0x4141540c
outsb dx, byte [esi]
jae 0x57001a61
push ebx
je 0x57001a6d
imul ebp, dword [esi + 0x67], 0x7ffffffc
invalid
sbb al, byte [eax]
push edi
Function at 0x57001a70
Capabilities:
Packed with generic packer

Disassembly:
cld
invalid
adc dword [edi], eax
push esp
inc esp
inc ecx
inc edx
jns sym.madBasic_.bpl___xp_20Madtypes_TDAAnsiChar
add dword gs:[eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
adc dword [eax], eax
add byte [eax], al
insb byte es:[edi], dx
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001b00
jae 0x57001a1e
rcr byte [eax + 0x1157001a], 0xb

Function at 0x57001aec
Capabilities:
Packed with generic packer

Disassembly:
adc dword [ebx], ecx
push esp
inc esp
inc ecx
inc ecx
outsb dx, byte [esi]
jae 0x57001b5e
inc ebx
push 0x17261
popal
jb 0x57001afb
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
invalid
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001bd7
jae 0x57001af7
inc eax
add byte [eax + 0x1b], dh
add byte [edi + 0x11], dl
adc dword [edx], ecx
push esp
inc esp
inc ecx
add byte [eax], al
add al, byte [eax]
add byte [eax], al
je 0x57001be6
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal

Function at 0x57001bc4
Capabilities:
Packed with generic packer

Disassembly:
adc dword [ebx], ecx
push esp
inc esp
inc ecx
push ebx
insd dword es:[edi], dx
popal
insb byte es:[edi], dx
insb byte es:[edi], dx
dec ecx
Function at 0x57005204
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x570052a4
test ebp, ebp
setl byte [esp]
mov eax, edi
xor ecx, ecx
mov edx, 0xb
call sub.rtl120.bpl__System__LStrSetLength_qqrv
mov esi, 0xb
mov eax, ebp
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
mov ecx, 0xa
mov eax, ebp
cdq
idiv ecx
mov ebp, eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
add bl, 0x30
mov byte [eax + esi - 1], bl
dec esi
test ebp, ebp
jne 0x5700522e
cmp byte [esp], 0
je 0x57005273
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x570052b0
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
push eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call sub.rtl120.bpl__System_Move_qqrpxvpvi
mov edx, ebx
mov eax, edi
xor ecx, ecx
call sub.rtl120.bpl__System__LStrSetLength_qqrv
jmp 0x570052b0
mov eax, edi
mov edx, 0x570052c4
call sub.rtl120.bpl__System__LStrAsg_qqrpvpxv
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x570052c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x5700536b
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call sub.rtl120.bpl__System__UStrSetLength_qqrr20System_UnicodeStringi
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov ecx, 0xa
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
add bp, 0x30
mov word [eax + esi*2 - 2], bp
dec esi
test ebx, ebx
jne 0x570052f0
cmp byte [esp], 0
je 0x57005339
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
mov word [eax + esi*2 - 2], 0x2d
dec esi
test esi, esi
jle 0x57005377
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
push eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
lea eax, [eax + esi*2]
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
add ecx, ecx
pop edx
call sub.rtl120.bpl__System_Move_qqrpxvpvi
mov edx, ebx
mov eax, edi
call sub.rtl120.bpl__System__UStrSetLength_qqrr20System_UnicodeStringi
jmp 0x57005377
mov eax, edi
mov edx, 0x5700538c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57007a24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call sub.rtl120.bpl__System__LStrAsg_qqrpvpxv
mov eax, ebx
call sub.rtl120.bpl__System_UniqueString_qqrr27System__AnsiStringT_us_i0__
mov eax, dword [ebx]
call sub.rtl120.bpl__System__LStrLen_qqrx27System__AnsiStringT_us_i0__
test eax, eax
jle 0x57007a55
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x57007a4a
pop esi
pop ebx
ret

Function at 0x5700ecf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x5700ed3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 2
mov edi, esi
mov eax, edi
call sym.madBasic_.bpl__Madtools_IsBadReadPtr2_qqrpvui
test al, al
jne 0x5700ed32
cmp word [edi], 0x5a4d
jne 0x5700ed32
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x5700ed32
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5700ed48
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5701e4a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, eax
dec ecx
test ecx, ecx
jl 0x5701e4c4
inc ecx
mov eax, edx
mov edx, esi
xor dl, byte [eax]
movzx edx, dl
mov edx, dword [edx*4 + 0x5702518c]
shr esi, 8
xor edx, esi
mov esi, edx
inc eax
dec ecx
jne 0x5701e4ab
mov eax, esi
pop esi
ret

Function at 0x5701ef18
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x5701ef34
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.5701eb58
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x48], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x44], ecx
inc edi
cmp edi, 9
jne 0x5701ef95
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1048]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.5701eb58
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x5701efdb
add ebx, 0x400
dec edi
jne 0x5701efd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5701f5b4
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test esi, esi
jle 0x5701f6df
lea eax, [esi + 2]
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, edx
add edx, edx
mov eax, edi
xor ecx, ecx
call sub.rtl120.bpl__System__LStrSetLength_qqrv
mov ecx, dword [edi]
mov eax, esi
mov edi, 3
cdq
idiv edi
mov edi, eax
test edi, edi
jle 0x5701f651
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
movzx edx, byte [ebx + 2]
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x570265f0]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + 0x570265f0]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x570265f0]
mov byte [ecx + 2], dl
and eax, 0x3f
movzx eax, byte [eax + 0x570265f0]
mov byte [ecx + 3], al
add ecx, 4
add ebx, 3
dec edi
jne 0x5701f5f1
mov eax, esi
mov esi, 3
cdq
idiv esi
dec edx
je 0x5701f666
dec edx
je 0x5701f697
jmp 0x5701f6e6
movzx eax, byte [ebx]
shl eax, 0x10
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x570265f0]
mov byte [ecx], dl
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x570265f0]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x5701f6e6
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x570265f0]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + 0x570265f0]
mov byte [ecx + 1], dl
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x570265f0]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x5701f6e6
mov eax, edi
call sub.rtl120.bpl__System__LStrClr_qqrpv
pop edi
pop esi
pop ebx
ret
Function at 0x409f7f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x409fe7
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
and byte [ebp - 0x400], 0
mov edx, eax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
push edx
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x400]
push str._FAILED_GetProcAddress_Handle__0x_X__szName___s___err__0x_X_n_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x409fec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
and byte [ebp - 0x108], 0
push esi
push edi
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
push fcn.00409f65
call fcn.00409f65
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
je 0x40a094
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x108]
jmp 0x40a050
and byte [eax], 0
dec eax
cmp byte [eax], 0x5c
jne 0x40a04c
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x108]
push str..dll
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call esi
push 8
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [edi], eax
cmp dword [edi], 0
jne 0x40a0c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push str._ERROR_Load__s_err:_0x_X_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x508]
push eax
call esi
pop edi
pop esi
leave
ret

Function at 0x40a180
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x40a19f
xor al, al
jmp 0x40a1b9
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x40a1bd
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x40a20c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push str.webException
lea ecx, [ebp - 8]
call fcn.00401607
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
mov ebx, 0x4da1c0
mov dword [0x4da230], 0x419030
mov dword [0x41a188], ebx
push 0x4199d8
push ebx
mov dword [0x4da1c0], 0x84
mov dword [0x4da224], 0x300
call dword [sym.imp.ATL.DLL_AtlModuleInit]
push 0x10
push 0x4153f8
push 0x41a178
call sub.MSVCRT.dll_memcpy
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x419a38
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x4da244], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor esi, esi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
jmp 0x40a2c8
push str.UnregServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40a2fa
push str.RegServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40a315
lea eax, [ebp - 4]
push eax
push edi
call fcn.0040a1cb
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
jne 0x40a2a3
mov ecx, ebx
call fcn.0040a180
call fcn.00401879
push 1
push 4
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleRegisterClassObjects]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x40a338
push esi
push esi
push esi
push 0x64
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleUpdateRegistryFromResourceD]
push esi
push 1
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleUnregisterServerEx]
mov dword [ebp + 8], eax
jmp 0x40a357
push esi
push esi
push 1
push 0x64
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleUpdateRegistryFromResourceD]
push esi
push 1
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleRegisterServer]
jmp 0x40a310
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call edi
test eax, eax
jne 0x40a32e
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleRevokeClassObjects]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ATL.DLL_AtlModuleTerm]
call fcn.004018db
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 8]
call fcn.004015f5
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x40cb63
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
add ecx, 0xffffff8c
neg esi
sbb esi, esi
and esi, ecx
lea eax, [esi + 0x80]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x40cb8b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x154a040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc9c000]
lea eax, [edi + 0x1062fdc]
push dword [eax]
mov dword [eax], 0x25c0a165
push eax
push edi
jmp 0x154a06a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x154a071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154a060
mov eax, 1
add ebx, ebx
jne 0x154a083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x154a094
jne 0x154a0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154a0b3
dec eax
add ebx, ebx
jne 0x154a0a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x154a078
add ebx, ebx
jne 0x154a0af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x154a105
xor ecx, ecx
sub eax, 3
jb 0x154a0cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x154a13a
sar eax, 1
mov ebp, eax
jmp 0x154a0d6
add ebx, ebx
jne 0x154a0d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154a0a4
inc ecx
add ebx, ebx
jne 0x154a0e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x154a0a4
add ebx, ebx
jne 0x154a0f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x154a0e6
jne 0x154a102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x154a0e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x154a124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x154a116
jmp 0x154a066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x154a124
add edi, ecx
jmp 0x154a066
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x96241d
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x154a163
cmp byte [edi], 0xad
jne 0x154a148
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x154a146
lea edi, [esi + 0x1105000]
mov eax, dword [edi]
or eax, eax
je 0x154a1b4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1152ad8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1152cf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x154a169
mov ecx, edi
jns 0x154a198
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1152d00]
or eax, eax
je 0x154a1ae
mov dword [ebx], eax
add ebx, 4
jmp 0x154a186
call dword [esi + 0x1152cfc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x154a1e5
cmp al, 0xef
ja 0x154a1d8
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x154a1ba
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x154a1c7
mov ebp, dword [esi + 0x1152d04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
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 0x154a219
sub esp, 0xffffff80
jmp 0xdbaa33