joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10079b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10079c1c
cmp byte [esi + 0x3d], 0
je 0x10079c1c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10079c0a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10079bd1
sub eax, 1
je 0x10079bd5
sub eax, 2
jne 0x10079c0a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f7c9
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10079bf3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10079c0a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f7c9
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f7c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1007f7c9
mov esp, ebp
pop ebp
ret

Function at 0x1007cf90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 3
xor eax, eax
mov dl, byte [edi + eax - 0x2dde7edd]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1007cfbe
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1007cfa1
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1007cfd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xb5
xor eax, eax
mov dl, byte [edi + eax - 0x39e8c79c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1007cffe
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1007cfe1
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1007d010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x7e
xor eax, eax
mov dl, byte [edi + eax + 0x47b30cfa]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1007d03e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1007d021
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1007d050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x90
xor eax, eax
mov dl, byte [edi + eax + 0x2c0f6166]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1007d07e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1007d061
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1007f560
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f9bd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.1007f3f0
cmp byte [ebp - 0x84], 0
jne 0x1007f6b1
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x1007f5f5
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x100b8a50
call fcn.1007f3f0
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.1007f3f0
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x1007f664
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.1007f4a0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1007f6f3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007f6e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f6e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100800ef
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f7c9
mov esp, ebp
pop ebp
ret
Function at 0x10030e3
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x60
push 0x10014e0
call fcn.01003f34
mov edi, 0x94
mov eax, edi
call fcn.01004090
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x10072d8], ecx
mov eax, dword [esi + 4]
mov dword [0x10072e4], eax
mov edx, dword [esi + 8]
mov dword [0x10072e8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10072dc], esi
cmp ecx, 2
je 0x1003143
or esi, 0x8000
mov dword [0x10072dc], esi
shl eax, 8
add eax, edx
mov dword [0x10072e0], eax
cmp word [0x1000000], 0x5a4d
jne 0x100317f
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x100317f
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1003198
cmp ecx, 0x20b
je 0x1003185
and dword [ebp - 0x1c], 0
jmp 0x10031ac
cmp dword [eax + 0x84], 0xe
jbe 0x100317f
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x10031a6
cmp dword [eax + 0x74], 0xe
jbe 0x100317f
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01003ed6
pop ecx
test eax, eax
jne 0x10031d9
cmp dword [0x10072c8], 1
jne 0x10031c6
call fcn.010036b2
push 0x1c
call fcn.010034c5
push 0xff
call fcn.01003324
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01003d06
test eax, eax
jge 0x10031ee
push 0x1b
call fcn.010030b4
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1007854], eax
call fcn.01003bd9
mov dword [0x10072c0], eax
call fcn.01003b30
test eax, eax
jge 0x1003214
push 8
call fcn.010030b4
pop ecx
call fcn.010038d6
test eax, eax
jge 0x1003225
push 9
call fcn.010030b4
pop ecx
call fcn.0100337e
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003238
push eax
call fcn.010030b4
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.01003868
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x100325a
movzx eax, word [ebp - 0x40]
jmp 0x100325d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01002662
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x100327e
push esi
call fcn.0100345e
call fcn.01003496
jmp 0x10032b0
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.01003f6f
ret
Function at 0x1004119
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1007434], ebx
push esi
push edi
jne 0x100419b
push 0x10018d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10041d6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10018c4
push edi
call esi
test eax, eax
mov dword [0x1007434], eax
je 0x10041d6
push 0x10018b4
push edi
call esi
push 0x10018a0
push edi
mov dword [0x1007438], eax
call esi
cmp dword [0x10072d8], 2
mov dword [0x100743c], eax
jne 0x100419b
push 0x1001884
push edi
call esi
test eax, eax
mov dword [0x1007444], eax
je 0x100419b
push 0x100186c
push edi
call esi
mov dword [0x1007440], eax
mov eax, dword [0x1007440]
test eax, eax
je 0x10041e0
call eax
test eax, eax
je 0x10041c7
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1007444]
test eax, eax
je 0x10041c7
test byte [ebp - 8], 1
jne 0x10041e0
cmp dword [0x10072e4], 4
jb 0x10041da
or byte [ebp + 0x12], 0x20
jmp 0x10041ff
xor eax, eax
jmp 0x100420f
or byte [ebp + 0x12], 4
jmp 0x10041ff
mov eax, dword [0x1007438]
test eax, eax
je 0x10041ff
call eax
mov ebx, eax
test ebx, ebx
je 0x10041ff
mov eax, dword [0x100743c]
test eax, eax
je 0x10041ff
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1007434]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005dca
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01004090
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1005e30
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10072d8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1005e34
xor eax, eax
jmp 0x1005e41
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x56cba0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbb000]
push edi
or ebp, 0xffffffff
jmp 0x56cbc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56cbc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56cbb8
mov eax, 1
add ebx, ebx
jne 0x56cbdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56cbec
jne 0x56cc0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56cc0b
dec eax
add ebx, ebx
jne 0x56cbf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56cbd0
add ebx, ebx
jne 0x56cc07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56cc5d
xor ecx, ecx
sub eax, 3
jb 0x56cc23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56cc92
sar eax, 1
mov ebp, eax
jmp 0x56cc2e
add ebx, ebx
jne 0x56cc2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56cbfc
inc ecx
add ebx, ebx
jne 0x56cc3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56cbfc
add ebx, ebx
jne 0x56cc49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56cc3e
jne 0x56cc5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56cc3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56cc7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56cc6e
jmp 0x56cbbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56cc7c
add edi, ecx
jmp 0x56cbbe
pop esi
mov edi, esi
mov ecx, 0x45c1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56cc9a
cmp byte [edi], 0x19
jne 0x56cc9a
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 0x56cc9f
lea edi, [esi + 0x169000]
mov eax, dword [edi]
or eax, eax
je 0x56cd17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16d718]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16d7e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56cccc
mov ecx, edi
jns 0x56ccfb
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 + 0x16d7e4]
or eax, eax
je 0x56cd11
mov dword [ebx], eax
add ebx, 4
jmp 0x56cce9
call dword [esi + 0x16d7f4]
mov ebp, dword [esi + 0x16d7e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x56cd4b
sub esp, 0xffffff80
jmp 0x405c2f
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x10055d8f
Capabilities:
Encode data using xor

Disassembly:
clc
jnp 0x1005683f
test bx, bx
test sp, 0x34a9
add dl, dl
pushfd
lea esp, [esp + 4]
jne 0x100567bc
pushal
not dl
pushf
pop word [esp + 0x1e]
dec dl
not dl
dec dl
mov dl, byte [esi]
pushfd
dec dl
cmp dh, bh
xor dl, 0x72
cmc
pushal
call fcn.10073aba
jmp 0x10059226
call fcn.10056599
movsd dword es:[edi], dword [esi]
push edi
aam 0xd1
pop ds
call 0x4c44e3f9
and eax, 0x79a0f3fe
mov fs, word [ebx + 0x54]
cli
test al, 0x11
xchg esp, eax
in eax, dx
and byte [ecx + 0x52], al
inc edi
adc dword [ebp + ebp*8 + 0x47524120], edx
out 0x78, al
or cl, byte [ecx + eax*2]
sbb dword [ecx - 0x52], 0x71efde03
xor esi, dword [esi]
xlatb
pushal
mov byte [ebp - 0x4e], bh
push esp
push edi
dec ebp
aas
cmp dword [eax + 0x365564a9], 0xa249e083
pop ss
jo 0x1005654e
invalid
push 0xfa908e93
pushal
push dword [esp + 0x24]
ret 0x28
bt si, si
add dl, dl
pushal
jmp 0x10056533
xor ecx, ecx
lea esp, [esp + 0x20]

Function at 0x100738e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.100759b0
add byte [eax], al
push ebp
outsb dx, byte [esi]
jb 0x10052522
imul esi, dword [bp + di + 0x74], 0x6c437265
popal
jae 0x1005253b
inc ecx
add byte [esi - 9], ah
fisub word [esi + 0xf]
mov dh, 0xf3
jo 0x10052544
inc esp
mov ah, 0xec
mov word [0x4cb4557e], gs
xchg ebp, eax
js 0x10052540
ficom dword [ebx + 0x56]
xchg esi, eax
out 0xa3, eax
je 0x10052559
add ecx, dword [ecx]
push 0xeeabdfc9
xor al, 0x8f
rcr dword [ebp - 0x413b3dbc], 1
inc edx
inc edx
pop ebp
sti
iretd
leave
fild qword [ebx - 0x2e70cb12]
popfd
inc esp
invalid
ret 0xbec4
and al, 0x5a
mov ch, 0x13
cmp bh, byte [ebx + 0x60c85074]
and ah, byte [esi + 0x7433d7ad]
sub byte [edi + 0x7b], cl
adc byte [edx + ebp*8], ah
lodsb al, byte [esi]
fnstenv [edx + eax*8 - 0x55]
cmp eax, ecx
mov eax, 0x748ac621
invalid
push 0x8c7f27f4
pushal
mov ebx, dword [esp + 0x28]
xchg si, di
push ebx
mov edi, dword [esp + 0x30]
movzx si, dl
lea esi, [ebx*4 + 0x7fcd89a5]
mov si, word [esp + 8]
mov esi, dword [esp + 0x34]
push 0xea5c522b
lea esp, [esp + 0x3c]
jae 0x100524b2
pushal
mov esp, ebp
movzx bp, cl
pop ebp
pushfd
push dword [esp]
mov byte [esp + 4], 0xad
push dword [esp + 8]
ret 0x14
jmp 0x100565bb
Function at 0x100759b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
neg si
movzx si, bl
lea esi, [edx + 0x676ed0af]
sub ecx, ebx
rcl si, cl
mov esi, esp
push ecx
test bx, bx
cmp ax, ax
cmc
sub edi, 4
stc
push dword [edi]
pop dword [esp]
cmc
test ah, 0x6f
push eax
cmp edi, ebx
jmp 0x10057c8b
lea esp, [esp + 8]
jne fcn.1005bf51
or cx, 0xd06b
mov ecx, edi
jmp 0x100524ca
mov byte [esp], ah
pushfd
lea esp, [esp + 8]
ja 0x10059b3c
pushfd
or al, 0x5a
sub ebx, edi
rcl al, 3
movzx edi, bl
sbb di, 0xc02f
btc di, 0xa
add esp, 4
add ebx, esp
movzx di, bl
sar al, cl
ror al, 4
dec di
mov edi, ebx
test edx, esp
ror al, cl
mov al, 0x2e
stc
repne scasb al, byte es:[edi]
pushal
lea esp, [esp + 0x20]
jne 0x100564a0
not ax
movsx ax, cl
mov byte [edi - 1], 0
bswap ax
push ebx
lea eax, [ebx + 0x7d3fb3da]
lea eax, [0x10045145]
push ecx
pushfd
push 0x9ed18722
call fcn.10059105
mov esp, ebp
bswap bp
movzx ebp, cl
call fcn.10054e36
dec edi
dec esp
inc ebp
inc ecx
push ebp
push esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax - 0x17], ah
mov edx, 0xf2fffe4f
repne scasb al, byte es:[edi]
mov byte [esp + 4], 0x7b
jmp 0x100572d8
Function at 0x4019e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x401a3d
mov esi, 1
cmp dword [ebp - 4], esi
jle 0x401a36
push str.__do_not_save_options
push dword [edi + esi*4]
call fcn.0040cd44
add esp, 8
test eax, eax
je 0x401a2c
inc esi
cmp esi, dword [ebp - 4]
jl 0x401a10
jmp 0x401a36
mov dword [0x428880], 0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
mov dword [ebp - 8], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
push str.dwmapi.dll
mov dword [0x429688], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x42968c], eax
call fcn.00407490
test eax, eax
jg 0x401a80
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x401ac0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x28]
push eax
call edi
lea eax, [ebp - 0x28]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x401aa3
pop ebx
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [0x429688]
push 0x41f24c
movzx eax, cx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x401e01
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x401e01
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x401e01
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x401d41
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x401df1
push esi
push ebx
push eax
call fcn.0040c660
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x401df1
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x401da0
lea eax, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push eax
push ebx
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x401da2
xor esi, esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call ebx
test esi, esi
je 0x401e01
mov ecx, dword [esi + 8]
mov dword [esi + 8], 0
test ecx, ecx
jne 0x401dd6
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret