joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009cf3c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1009cf5e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009cf5e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009cf5e
ret
cmp word [ebx + 4], 0x14c
jne 0x1009cf5e
test word [ebx + 0x16], 2
je 0x1009cf5e
test word [ebx + 0x16], 0x100
je 0x1009cf5e
cmp word [ebx + 0x18], 0x10b
jne 0x1009cf5e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009cf5e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009cfea
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009cf7e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10083ec9
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009cf5e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1009cfea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1009cf5e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009cf5e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009cf5e
ret
cmp word [ebx + 4], 0x14c
jne 0x1009cf5e
test word [ebx + 0x16], 2
je 0x1009cf5e
test word [ebx + 0x16], 0x100
je 0x1009cf5e
cmp word [ebx + 0x18], 0x10b
jne 0x1009cf5e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009cf5e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009cfea
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009cf7e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10083ec9
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009cf5e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1009d0a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1009d0fa
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1009d0a1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1009d0b0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104a2d53
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1009d101
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10083f77
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1009d1a0
add edi, 4
add eax, 2
dec ecx
jne 0x1009d0e6
call 0x1009d14d
loope 0x1009d143
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1009d19d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1009d1ae
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1009d161
cmp eax, ecx
ja 0x1009d161
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1009d1eb
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1009d1e1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10084456
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1009d0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1009d0fa
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1009d0a1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1009d0b0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104a2d53
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1009d101
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10083f77
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1009d1a0
add edi, 4
add eax, 2
dec ecx
jne 0x1009d0e6
call 0x1009d14d
loope 0x1009d143
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1009d19d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1009d1ae
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1009d161
cmp eax, ecx
ja 0x1009d161
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1009d1eb
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1009d1e1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10084456
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10004fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x10004ff0
xor eax, eax
jmp 0x1000518d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x1000514e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1003aee8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1003aee8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x1003aee8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1003aee8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1003aee8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x1003aee8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1003aee8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1003aee8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x10004ff9
cmp dword [ebp + 0x10], 0
je 0x10005187
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1003aee8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x10005154
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10007160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jl 0x10007178
cmp dword [ebp + 0xc], 8
jg 0x10007178
mov byte [ebp - 1], 1
jmp 0x1000717c
mov byte [ebp - 1], 0
push str.bad_pack_level
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10003b70
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x100071c5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af78], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af70], 0x10000
mov eax, 4
imul ecx, eax, 0x7fff
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4af70], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call fcn.1001afa0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x1003ae9a]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af98], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x1003ae98]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af9c], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x1003ae9c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6afa0], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx*8 + 0x1003ae9e]
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af94], edx
cmp dword [ebp + 0xc], 2
jg 0x1000725d
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
or edx, 4
mov eax, dword [ebp + 0x10]
mov word [eax], dx
jmp 0x10007272
cmp dword [ebp + 0xc], 8
jl 0x10007272
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
or edx, 2
mov eax, dword [ebp + 0x10]
mov word [eax], dx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af84], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af74], 0
mov dword [ebp - 8], 0x8000
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1af70
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6af90], 0
je 0x100072d9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x100072f5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af8c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], 0
jmp 0x1000736d
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6af90], 0x106
jae 0x1000731d
mov edx, dword [ebp + 8]
push edx
call fcn.10006350
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 8], 0
jmp 0x1000733c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jae 0x1000736d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x1af70]
xor eax, edx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x10007333
mov esp, ebp
pop ebp
ret
Function at 0x100096b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x1003aee8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x1003aee8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret
Function at 0x1000a7a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x1004a120]
push eax
push str.g_dwConnectDate:__d
call fcn.10001730
add esp, 8
mov ecx, dword [0x1004a124]
push ecx
push str.g_dwConnectHour:__d
call fcn.10001730
add esp, 8
push 0x1004a128
push str.g_pMasterAddr:__s
call fcn.10001730
add esp, 8
push str.rrrr_url216.238.121.132:8443
push str.g_pBackupAddr:__s
call fcn.10001730
add esp, 8
push str.rrrr_cid20024b0cd09a76f653fd34750a8build
push str.g_pMasterID:__s
call fcn.10001730
add esp, 8
push str.Globald5ffff77ff77adad657659
push 1
push 0
call dword [0x100380e8]
mov dword [0x1004c404], eax
cmp dword [0x1004c404], 0
jne 0x1000a849
push 0
push 0
push 0x2b67
call fcn.100012e0
add esp, 0xc
jmp 0x1000a8ed
call dword [0x100380e4]
cmp eax, 0xb7
jne 0x1000a87f
push 0x1003b9a4
call fcn.10001730
add esp, 4
push 0
push 0
push 0x56ce
call fcn.100012e0
add esp, 0xc
push 0
call fcn.1001d410
jmp 0x1000a8ed
call fcn.1000a530
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000a8af
push 0x1003b9dc
call fcn.10001730
add esp, 4
push 0
push 0
push 0x8235
call fcn.100012e0
add esp, 0xc
jmp 0x1000a8ed
push 0
call fcn.1000a930
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000a8e4
push 0x1003b9f8
call fcn.10001730
add esp, 4
push 0
push 0
push 0xad9c
call fcn.100012e0
add esp, 0xc
jmp 0x1000a8ed
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [0x1004c404], 0
je 0x1000a920
mov eax, dword [0x1004c404]
push eax
call dword [0x10038078]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000a920
push 0
push 0
push 0xd903
call fcn.100012e0
add esp, 0xc
xor eax, eax
jmp 0x1000a92a
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000b9a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004a870]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x1c], ax
xor ecx, ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
mov dword [ebp - 0x20], 0
push 2
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.1001daa8
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.1001debb
add esp, 4
mov dword [ebp - 0x2c], eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001daa8
add esp, 0xc
test eax, eax
je 0x1000ba0c
xor eax, eax
jmp 0x1000bafa
imul edx, dword [ebp - 0x20], 0xc
cmp edx, dword [ebp - 0x2c]
jae 0x1000baf8
imul eax, dword [ebp - 0x20], 0xc
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
cmp ecx, 0xc
jbe 0x1000ba30
mov dword [ebp - 0x30], 0xc
jmp 0x1000ba3c
imul edx, dword [ebp - 0x20], 0xc
mov eax, dword [ebp - 0x2c]
sub eax, edx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.1001d96d
add esp, 0x10
test eax, eax
jne 0x1000ba70
xor eax, eax
jmp 0x1000bafa
mov dword [ebp - 0x24], 0
jmp 0x1000ba82
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x28]
jae 0x1000ba9f
mov edx, dword [ebp - 0x24]
movzx eax, word [ebp + edx*2 - 0x1c]
xor eax, 2
mov ecx, dword [ebp - 0x24]
mov word [ebp + ecx*2 - 0x1c], ax
jmp 0x1000ba79
push 1
mov edx, dword [ebp - 0x28]
neg edx
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1001daa8
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.1001b666
add esp, 0x10
test eax, eax
jne 0x1000bada
push str.write_file_failed.
call fcn.10001730
add esp, 4
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001daa8
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x1000ba0c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a094
mov esp, ebp
pop ebp
ret
Function at 0x10011bd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x1004a870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x82c], 0
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.1001afa0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x824]
push ecx
call fcn.1001afa0
add esp, 0xc
push 0x1003e6fc
mov edx, dword [ebp + 0xc]
push edx
call fcn.1001b6e8
add esp, 8
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x10011c75
push 0
push 0
push 0x86a
call fcn.100012e0
add esp, 0xc
push str._HaveCam__File_open_error...
call fcn.10001730
add esp, 4
jmp 0x10011dec
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call fcn.10036f90
lea edx, [ebp - 0x20c]
push edx
call dword [0x10038158]
test eax, eax
jne 0x10011ccd
mov eax, 0x30
mov word [ebp - 0x828], ax
mov ecx, dword [ebp - 0x82c]
push ecx
push 1
push 2
lea edx, [ebp - 0x828]
push edx
call fcn.1001b666
add esp, 0x10
jmp 0x10011cf3
mov eax, 0x31
mov word [ebp - 0x828], ax
mov ecx, dword [ebp - 0x82c]
push ecx
push 1
push 2
lea edx, [ebp - 0x828]
push edx
call fcn.1001b666
add esp, 0x10
mov eax, dword [ebp - 0x82c]
push eax
call fcn.1001b496
add esp, 4
push 0x208
push 0
lea ecx, [ebp - 0x61c]
push ecx
call fcn.1001afa0
add esp, 0xc
cmp dword [0x1004a0a8], 0xfad
jne 0x10011d5b
push 0x1003e504
push 0x1003e704
mov edx, dword [0x1004c420]
push edx
mov eax, dword [0x1004c410]
push eax
push 0x1003e65c
push 0x1003e70c
push 0x208
lea ecx, [ebp - 0x61c]
push ecx
call fcn.10017630
add esp, 0x20
jmp 0x10011d90
push str.C.bin
push 0x1003e73c
mov edx, dword [0x1004c420]
push edx
mov eax, dword [0x1004c410]
push eax
push 0x1003e744
push 0x1003e754
push 0x208
lea ecx, [ebp - 0x61c]
push ecx
call fcn.10017630
add esp, 0x20
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x61c]
push eax
push 0xbc8
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000ad30
add esp, 0x10
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0x10011ddd
push 0
push 0
push 0x8ce
call fcn.100012e0
add esp, 0xc
push str._HaveCam_
call fcn.10001730
add esp, 4
jmp 0x10011dec
mov edx, dword [ebp - 0x830]
add edx, 1
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a094
mov esp, ebp
pop ebp
ret
Function at 0x10017f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x1004a870]
xor eax, ebp
mov dword [ebp - 4], eax
push 4
push 0x1000
push 0x8000
push 0
call dword [0x100380f0]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], 0xffffffff
mov dword [ebp - 0x25c], 0
push 0x1003f450
push 0
call fcn.1001fd47
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0x1003f454
call fcn.10001730
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x258]
add edx, 2
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x258]
mov cx, word [eax]
mov word [ebp - 0x266], cx
add dword [ebp - 0x258], 2
cmp word [ebp - 0x266], 0
jne 0x10017ff9
mov edx, dword [ebp - 0x258]
sub edx, dword [ebp - 0x274]
sar edx, 1
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
add eax, 1
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 4
lea edx, [ebp - 0x26c]
push edx
call fcn.1001b666
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x26c]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1001b666
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0x8000
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.1000b530
push 0x1003f484
push 0x8000
mov edx, dword [ebp - 0x260]
push edx
call fcn.1000b4d0
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call dword [0x10038128]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0xffffffff
jne 0x100180d2
push str._GetFileInfo__Find_first_file_error...
call fcn.10001730
add esp, 4
mov eax, dword [ebp - 0x25c]
jmp 0x1001814d
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0x250
lea eax, [ebp - 0x254]
push eax
call fcn.1001b666
add esp, 0x10
push 0x250
push 0
lea ecx, [ebp - 0x254]
push ecx
call fcn.1001afa0
add esp, 0xc
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x264]
push eax
call dword [0x1003812c]
test eax, eax
jne 0x100180d2
call dword [0x100380e4]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x264]
push ecx
call dword [0x10038100]
push 0x8000
push 0
mov edx, dword [ebp - 0x260]
push edx
call dword [0x100380f4]
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a094
mov esp, ebp
pop ebp
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp loc.00401219