joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d9a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jle 0x1000d9d7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jge 0x1000db14
cmp dword [0x100baec8], esi
je 0x1000db14
test edi, edi
jg 0x1000daaa
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov eax, dword [0x100baec8]
mov edi, eax
test eax, eax
je 0x1000daff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test esi, esi
jne 0x1000d9b8
cmp dword [edi + 4], ecx
je 0x1000da22
cmp dword [edi + 0x14], ecx
jne 0x1000daec
mov esi, 1
cmp eax, 0x102
ja 0x1000dad1
je 0x1000db1e
sub eax, 2
je 0x1000db1e
sub eax, 0xfe
jne 0x1000dad8
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebp - 0x18]
cmp eax, 0x70
jb 0x1000da65
cmp eax, 0x87
jbe 0x1000da97
cmp eax, 0x24
je 0x1000da97
cmp eax, 0x23
je 0x1000da97
cmp eax, 0x26
je 0x1000da97
cmp eax, 0x28
je 0x1000da97
cmp eax, 0x25
je 0x1000da97
cmp eax, 0x27
je 0x1000da97
cmp eax, 0x2d
je 0x1000da97
cmp eax, 0x2e
je 0x1000da97
cmp eax, 0x21
je 0x1000da97
cmp eax, 0x22
jne 0x1000dad8
lea eax, [ebp - 0x20]
push eax
call ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
shl eax, 0x10
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1000d9fb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000d9b8
cmp eax, 0x104
je 0x1000dae6
lea eax, [ebp - 0x20]
push eax
call ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
jmp 0x1000daec
cmp dword [ebp - 0x18], 0x79
je 0x1000db2e
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x1000da10
test esi, esi
jne 0x1000d9b8
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call ebx
jmp 0x1000d9b8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
call ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x790000
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f5c0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bae20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push edi
mov dword [ebp - 0x108], ecx
call edx
mov edi, dword [ebp + 8]
cmp edi, 0xa
jb 0x1000f5ed
xor edi, edi
jmp 0x1000f5f3
jge 0x1000f75e
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
jmp 0x1000f600
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0x50
lea ecx, [ebp - 0xa4]
push ecx
push edi
call sub.AVICAP32.dll_capGetDriverDescriptionA
test eax, eax
je 0x1000f65d
push 0
push 0
push 0xf0
push 0x140
push 0
push 0
push 0xc0000000
push str.My_Own_Capture_Window
call sub.AVICAP32.dll_capCreateCaptureWindowA
mov esi, eax
push esi
call ebx
test eax, eax
je 0x1000f656
push 0
push edi
push 0x40a
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x1000f668
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
inc edi
cmp edi, 0xa
jl 0x1000f600
jmp 0x1000f75c
test esi, esi
je 0x1000f75c
mov edi, dword [ebp - 0x108]
xor eax, eax
push 0x2c
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], 0xffffffff
push eax
add edi, 4
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
call ebx
test eax, eax
je 0x1000f6b1
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0x40e
push esi
call edi
jmp 0x1000f6b7
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xf0
push 0x140
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call ebx
test eax, eax
je 0x1000f6e6
mov edx, dword [ebp - 0x108]
push edx
push 0
push 0x409
push esi
call edi
push esi
call ebx
test eax, eax
je 0x1000f6fc
push 0x1000f570
push 0
push 0x405
push esi
call edi
push esi
call ebx
test eax, eax
je 0x1000f714
lea eax, [ebp - 0x104]
push eax
push 0x60
push 0x441
push esi
call edi
push esi
mov dword [ebp - 0x104], 0x8235
call ebx
test eax, eax
je 0x1000f736
lea ecx, [ebp - 0x104]
push ecx
push 0x60
push 0x440
push esi
call edi
push esi
call ebx
test eax, eax
je 0x1000f749
push 0
push 0
push 0x435
push esi
call edi
push esi
call ebx
test eax, eax
je 0x1000f75c
push 0
push 1
push 0x434
push esi
call edi
pop esi
pop ebx
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 0x30], eax
pop edi
setne al
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret 4
Function at 0x10011320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
push edi
mov edi, dword [esi + 8]
sub ecx, edi
add ecx, dword [esi + 0x1c]
test ebx, ebx
jne 0x10011342
add edi, ecx
mov dword [esi + 0x1c], ebx
jmp 0x1001134f
mov eax, ecx
cdq
idiv dword [esi + 0x18]
sub ecx, edx
mov dword [esi + 0x1c], ecx
add edi, edx
mov dword [esi + 0x10], edi
test ebx, ebx
jne 0x10011377
cmp dword [esi + 0x1c], ebx
jne 0x10011362
mov eax, edi
cmp eax, dword [esi + 0xc]
jb 0x100113c4
push 0x100afd04
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], 0xffffff85
call sub.MSVCR100.dll__CxxThrowException
mov edx, dword [esi + 0x1c]
push 0
push edx
push ebx
call dword [sym.imp.MSVCR100.dll_fseek]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
push eax
push ecx
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
mov ecx, dword [esi + 8]
add esp, 0x1c
lea edx, [ecx + eax]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
test eax, eax
je 0x100113af
cmp ecx, edx
jb 0x100113c4
push 0x100afd04
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0xffffff85
call sub.MSVCR100.dll__CxxThrowException
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c280
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x1001c2b2
push esi
call fcn.1001f050
add esp, 4
cmp byte [esi + 0x40], 0
je 0x1001c2ab
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x1001c32e
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x1001c31d
mov eax, dword [esi + 8]
test eax, eax
je 0x1001c2d7
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x1001c318
cmp eax, 2
je 0x1001c31d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1001c2c8
cmp eax, 3
je 0x1001c2ff
cmp eax, 1
jne 0x1001c2c8
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x1001c2c8
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x1001c2c8
xor al, al
pop esi
pop ebp
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.1001c110
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x1001c350
mov eax, dword [esi]
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
call fcn.1001c110
pop esi
pop ebp
ret
Function at 0x1001e810
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.10020350
push 0x54
push edi
mov dword [ebp - 4], eax
call fcn.10020190
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1001e857
push edi
call fcn.100488b0
mov eax, dword [edi]
mov dword [eax + 0x14], 0x37
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
add esp, 8
mov dword [esi], fcn.1001dbe0
mov dword [esi + 4], fcn.1001dd30
mov dword [esi + 8], fcn.1001de00
mov dword [esi + 0xc], fcn.1001deb0
mov dword [esi + 0x10], 0x1001df60
mov dword [esi + 0x14], 0x1001dfd0
mov dword [esi + 0x18], 0x1001e040
mov dword [esi + 0x1c], 0x1001e320
mov dword [esi + 0x20], 0x1001e470
mov dword [esi + 0x24], 0x1001e5c0
mov dword [esi + 0x28], 0x1001e6d0
mov dword [esi + 0x30], 0x3b9aca00
mov ecx, dword [ebp - 4]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call sub.MSVCR100.dll_getenv
add esp, 4
cmp eax, ebx
je 0x1001e92c
lea edx, [ebp + 0xb]
push edx
lea ecx, [ebp - 4]
push ecx
push str._ld_c
push eax
mov byte [ebp + 0xb], 0x78
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x1001e92c
mov al, byte [ebp + 0xb]
cmp al, 0x6d
je 0x1001e907
cmp al, 0x4d
jne 0x1001e920
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
pop edi
mov dword [esi + 0x2c], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 1
push esi
mov esi, dword [ebx + 0x1a8]
push edi
mov dword [ebp - 0x14], esi
jne 0x10026548
mov dword [ebp - 4], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x10026553
mov dword [ebp - 4], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push ebx
call eax
xor edi, edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], edi
cmp dword [ebx + 0x64], edi
jle 0x1002665f
jmp 0x1002658e
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
je 0x100265ae
mov edx, dword [esi + 0x18]
add dword [edx + edi*4], 0xff
lea eax, [edx + edi*4]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
lea eax, [ecx + 0xfe]
lea esi, [ecx + ecx - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov esi, eax
lea ebx, [ebx]
cmp ecx, esi
jle 0x1002660c
mov eax, dword [ebp - 0xc]
mov edx, ebx
imul edx, edx, 0x1fe
lea edi, [edx + eax + 0xfe]
jmp 0x100265f0
mov esi, dword [ebp - 0xc]
add edi, 0x1fe
mov eax, edi
cdq
lea esi, [esi + esi - 2]
idiv esi
inc ebx
mov esi, eax
cmp ecx, esi
jg 0x100265f0
mov edi, dword [ebp - 0x18]
mov al, byte [ebp - 0x10]
imul bl
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xff
jle 0x100265d0
cmp dword [ebp - 4], 0
je 0x1002664c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x10026630
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x10026630
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0x64]
jl 0x10026585
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100307d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100bae20]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov bl, byte [edx + 8]
push esi
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x1003099c
mov ecx, dword [edx]
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x10030835
movzx eax, byte [edx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x10030847
movzx edi, byte [esi + 3]
movzx ebx, byte [edx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [edx + 8], 4
je 0x1003085c
movzx esi, byte [esi + 4]
movzx ebx, byte [edx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x100308a5.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x10030877
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x1003087e
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x10030866
cmp word [ebp - 0x1c], 0
je case.0x100308a5.3
movzx esi, byte [edx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x100308a5.3
movzx esi, byte [esi + 0x100309c0]
jmp dword [esi*4 + 0x100309ac]
mov edx, dword [edx + 4]
test edx, edx
je case.0x100308a5.3
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
dec edx
jne 0x100308b7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x100308a5.3
lea ebx, [ebx]
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x10030900
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
imul ecx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je case.0x100308a5.3
mov edi, edi
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x10030930
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
imul ecx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je case.0x100308a5.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x10030963
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
Function at 0x10030955
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100bae20]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov bl, byte [edx + 8]
push esi
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x1003099c
mov ecx, dword [edx]
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x10030835
movzx eax, byte [edx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x10030847
movzx edi, byte [esi + 3]
movzx ebx, byte [edx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [edx + 8], 4
je 0x1003085c
movzx esi, byte [esi + 4]
movzx ebx, byte [edx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x100308a5.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x10030877
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x1003087e
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x10030866
cmp word [ebp - 0x1c], 0
je case.0x100308a5.3
movzx esi, byte [edx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x100308a5.3
movzx esi, byte [esi + 0x100309c0]
jmp dword [esi*4 + 0x100309ac]
mov edx, dword [edx + 4]
test edx, edx
je case.0x100308a5.3
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
dec edx
jne 0x100308b7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x100308a5.3
lea ebx, [ebx]
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x10030900
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
imul ecx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je case.0x100308a5.3
mov edi, edi
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x10030930
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
imul ecx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je case.0x100308a5.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x10030963
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1007cee0
mov esp, ebp
pop ebp
ret
Function at 0x1007cee0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100bae20]
jne 0x1007ceea
repz ret
jmp fcn.1007d6ba
Function at 0x1007f9e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x1007f9f3
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x1007fa6d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x1007fa41
sub eax, edi
jmp 0x1007fa43
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x1007fa32
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x1007fa60
sub eax, edi
jmp 0x1007fa62
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x1007fa51
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x1007fb96
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 4]
mov ebx, ecx
mov dword [ebp - 8], eax
cmp ebx, edx
jbe 0x1007fa93
mov ebx, edx
test ebx, ebx
je 0x1007fae3
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x1007fab6
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.10081d60
jmp 0x1007fac8
cmp ecx, 2
jne 0x1007fad1
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call fcn.1007f670
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call sub.MSVCR100.dll_memcpy
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x1007fb0b
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x1007fb1f
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x1007f9f0
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x1007fb96
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x1007fb65
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x1007fb46
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
add ebx, edi
pop edi
mov dword [esi + 0x16c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x1007fb96
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x1007fb7f
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov ecx, dword [0x4466c0]
test ecx, ecx
je 0x414d1e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x68], 0x41414141
mov eax, dword [0x43fb80]
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x41414141
mov dword [ebp - 0x60], 0x41414141
mov dword [ebp - 0x48], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x5c], 0x41414141
mov dword [ebp - 0x58], 0x41414141
mov dword [ebp - 0x44], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x54], 0x41414141
mov dword [ebp - 0x50], 0x41414141
mov dword [ebp - 0x40], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x4c], 0x41414141
mov dword [ebp - 0x3c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x38], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x34], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x30], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x2c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x28], ax
mov dword [esp], esi
call dword [0x44720c]
movzx eax, ax
sub esp, 4
test eax, eax
mov dword [ebp - 0xbc], eax
jne 0x414efc
mov dword [esp], 0x3c
call fcn.00418b30
test eax, eax
mov ebx, eax
je 0x414f30
cld
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebx + 4], fcn.00410ad0
mov ecx, 1
mov dword [ebx + 8], 0x40cc50
mov eax, dword [0x446690]
mov dword [ebx], 0x3c
mov edx, dword [0x446694]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x14], eax
mov eax, dword [0x43e190]
mov dword [ebx + 0x18], edx
mov edx, dword [0x43e194]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x4466a0]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x2c], eax
mov edx, dword [0x43e19c]
mov eax, dword [0x43e198]
mov dword [ebx + 0x38], edx
mov edx, 0x1f
mov dword [ebx + 0x34], eax
mov esi, esi
mov eax, ebx
and eax, ecx
cmp eax, 1
sbb eax, eax
and al, 0x20
add ecx, ecx
add al, 0x41
mov byte [edx + ebp - 0xb8], al
dec edx
jns 0x414e50
mov eax, dword [0x43fb80]
mov dword [ebp - 0x98], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x94], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x90], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x88], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x84], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x80], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x7c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call dword [0x4471fc]
movzx edi, ax
sub esp, 4
test edi, edi
jne 0x414f21
xor edx, edx
test edx, edx
jne 0x414f03
mov dword [esp], ebx
call fcn.00418b20
mov dword [esp], esi
call dword [0x44720c]
sub esp, 4
movzx eax, ax
call fcn.00414c60
mov ebx, eax
mov dword [0x4466c0], ebx
lea eax, [ebx + 4]
mov dword [0x4466b0], eax
lea eax, [ebx + 8]
mov dword [0x4466d0], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.00414c60
cmp eax, ebx
mov edx, edi
jne 0x414edf
jmp 0x414ee1
call fcn.00418ad0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop