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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x101062c0]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100949c4
push 0xa
pop esi
cmp word [ebx], si
jne 0x100949c4
or byte [eax + edi + 0x28], 4
jmp 0x100949c9
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x10094b34
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x10094b0c
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x10094a16
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x10094a40
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x10094a5f
push 0xa
pop ebx
cmp word [edx], bx
jne 0x10094a2d
push ebx
add eax, 4
pop edx
jmp 0x10094a35
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x100949db
jmp 0x10094b34
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10094b07
cmp dword [ebp - 0x14], 0
je 0x10094b07
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x101062c0]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x10094ae3
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x10094aab
mov word [esi], ax
jmp 0x10094b31
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x101062c0]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x101062c0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x101062c0]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x10094b31
cmp word [ebp - 4], ax
jne 0x10094aed
cmp esi, ebx
je 0x10094aa3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10092b67
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10094b34
push 0xd
pop eax
jmp 0x10094aa3
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x101062c0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x10094b2e
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x10094b34
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100982d3
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x100982ed
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x10098304
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1009835c
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.1009c60d
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x1009835c
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1009835c
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1009835c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x10098356
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x10098358
xor bl, bl
mov al, bl
jmp 0x1009835e
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x1009b358
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1009b3f5
push ebx
push esi
call fcn.1009b321
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1009b2b7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009b3a2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009b3f4
push edi
push eax
call fcn.10096ca0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009b3c2
call fcn.10095410
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009b3f3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1009b2b7
add esp, 0x20
test eax, eax
jne 0x1009b3e1
push edi
call fcn.10095410
jmp 0x1009b3e9
push ebx
call fcn.10095410
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1009e5e7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10092fef
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009e656
cmp esi, dword [ebp - 4]
je 0x1009e651
cmp dword [ebp + 0xc], 0
je 0x1009e651
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1009e62e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1009e13c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1009e658
xor eax, eax
inc eax
jmp 0x1009e658
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1009e6c3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10092fef
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10092fef
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1009e73a
cmp word [ecx], dx
je 0x1009e73a
mov eax, dword [0x100b06cc]
push edi
dec eax
push eax
push 0x100b05b8
call fcn.1009e65c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1009e7ad
cmp word [eax], dx
je 0x1009e7ad
mov eax, dword [edi]
test eax, eax
je 0x1009e75e
cmp word [eax], dx
je 0x1009e75e
lea eax, [ebp - 0x10]
push eax
call fcn.1009e042
jmp 0x1009e767
lea eax, [ebp - 0x10]
push eax
call fcn.1009e0dd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1009e7d7
mov eax, dword [0x100b05b4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100b02a8
call fcn.1009e65c
add esp, 0xc
test al, al
je 0x1009e7d7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1009e7a2
cmp word [eax], di
je 0x1009e7a2
lea eax, [ebp - 0x10]
push eax
call fcn.1009e042
pop ecx
jmp 0x1009e7d9
lea eax, [ebp - 0x10]
push eax
call fcn.1009e0dd
jmp 0x1009e79f
mov eax, dword [edi]
test eax, eax
je 0x1009e7c4
cmp word [eax], dx
je 0x1009e7c4
lea eax, [ebp - 0x10]
push eax
call fcn.1009dff7
pop ecx
jmp 0x1009e7d7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1009e8a2
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1009e4e1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1009e8a2
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1009e8a2
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1009e8a2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009e82f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10095a00
test ebx, ebx
je 0x1009e89d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10095a00
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009e8a2
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009e8a2
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10099c73
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1009e8a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007e2a5
leave
ret
Function at 0x100a20e3
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100a205f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100a2252
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100a2252
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100a2207
jg 0x100a213f
test eax, eax
je 0x100a21fd
push 1
push 0x1000
call fcn.100953b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100a2162
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100a21f4
push 0x8000
push ebx
call fcn.100a1f8e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100a218b
jg 0x100a2186
cmp ecx, 0x1000
jb 0x100a218b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10096718
add esp, 0x10
cmp eax, 0xffffffff
je 0x100a21d0
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100a2186
jl 0x100a21b7
test ecx, ecx
jne 0x100a2178
push dword [ebp - 0xc]
push ebx
call fcn.100a1f8e
push esi
call fcn.10095410
add esp, 0xc
xor ebx, ebx
jmp 0x100a2260
cmp byte [edi + 0x24], 0
je 0x100a21e7
cmp dword [edi + 0x20], 5
jne 0x100a21e7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100a21f2
mov ebx, dword [edi + 0x18]
jmp 0x100a21f4
xor ebx, ebx
push esi
call fcn.10095410
pop ecx
jmp 0x100a2260
test ecx, ecx
jg 0x100a21c9
jl 0x100a2207
test eax, eax
jae 0x100a21c9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10092b67
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100a2227
cmp byte [edi + 0x1c], 0
je 0x100a21c9
jmp 0x100a2258
push ebx
call fcn.1009c60d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100a21c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100a2260
cmp byte [edi + 0x1c], 0
je 0x100a225d
mov ebx, dword [edi + 0x18]
jmp 0x100a2260
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10092b67
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100a3ce0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100a3d0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100a3d0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xd6d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd6d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd6d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6d06a
add dl, dl
jne 0xd6d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6d0dc
xor eax, eax
add dl, dl
jne 0xd6d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6d17d
add dl, dl
jne 0xd6d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd6d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd6d075
mov eax, 1
add dl, dl
jne 0xd6d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd6d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd6d0e1
sub eax, ebx
mov ebx, 1
jne 0xd6d128
mov ecx, 1
add dl, dl
jne 0xd6d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd6d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd6d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd6d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd6d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd6d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd6d136
cmp eax, 0x7d00
jae 0xd6d16d
cmp eax, 0x500
jb 0xd6d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd6d075
cmp eax, 0x7f
ja 0xd6d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd6d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd6d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd6d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xde6700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x969015
lea edi, [esi - 0x568015]
lea eax, [edi + 0x9a68d0]
push dword [eax]
mov dword [eax], 0x90553e03
push eax
push edi
or ebp, 0xffffffff
jmp 0xde6732
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xde6739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xde6728
mov eax, 1
add ebx, ebx
jne 0xde674b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xde6740
jne 0xde675c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xde6740
xor ecx, ecx
sub eax, 3
jb 0xde6770
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xde67e2
mov ebp, eax
add ebx, ebx
jne 0xde677b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xde6788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xde67ac
inc ecx
add ebx, ebx
jne 0xde6798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xde678d
jne 0xde67a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xde678d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xde67cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xde67bd
jmp 0xde672e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xde67cc
add edi, ecx
jmp 0xde672e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x560bd0
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xde680b
cmp byte [edi], 0x8f
jne 0xde67f0
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 0xde67ee
lea edi, [esi + 0x9d4000]
mov eax, dword [edi]
or eax, eax
je 0xde6853
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9f798c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9f7c58]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xde6811
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9f7c60]
or eax, eax
je 0xde684d
mov dword [ebx], eax
add ebx, 4
jmp 0xde682e
call dword [esi + 0x9f7c5c]
mov ebp, dword [esi + 0x9f7c64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x9e68ae]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xde689f
sub esp, 0xffffff80
jmp 0x401480
Function at 0x401530
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x5c
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
sub esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
call sub.KERNEL32.dll_GetStartupInfoA
add esp, 0xc
test ebx, ebx
je 0x40158c
mov al, byte [ebx]
cmp al, 0x20
je 0x4015d5
cmp al, 9
je 0x4015d5
cmp al, 0x22
jne 0x40157d
jmp 0x4015c4
cmp al, 9
je 0x401584
test al, al
je 0x40158c
inc ebx
mov al, byte [ebx]
cmp al, 0x20
jne 0x401572
inc ebx
mov al, byte [ebx]
cmp al, 0x20
je 0x401581
cmp al, 9
je 0x401581
mov esi, 0xa
test byte [ebp - 0x24], 1
je 0x4015a2
mov eax, dword [ebp - 0x20]
mov esi, eax
and esi, 0xffff
sub esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleA
add esp, 0xc
push esi
push ebx
push 0
push eax
call sym._WinMain_16
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
inc ebx
mov al, byte [ebx]
cmp al, 0x22
je 0x401581
test al, al
jne 0x4015c4
cmp al, 0x22
jne 0x401584
jmp 0x401581
inc ebx
jmp 0x401562
Function at 0x415a60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x415a82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415a89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415a78
mov eax, 1
add ebx, ebx
jne 0x415a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415a90
jne 0x415aac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415a90
xor ecx, ecx
sub eax, 3
jb 0x415ac0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415b32
mov ebp, eax
add ebx, ebx
jne 0x415acb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415ad8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415afc
inc ecx
add ebx, ebx
jne 0x415ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415add
jne 0x415af9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415add
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415b1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415b0d
jmp 0x415a7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415b1c
add edi, ecx
jmp 0x415a7e
pop esi
mov edi, esi
mov ecx, 0xd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415b3a
cmp byte [edi], 1
jne 0x415b3a
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 0x415b3f
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415bb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16ae4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16b20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415b6c
mov ecx, edi
jns 0x415b9b
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 + 0x16b24]
or eax, eax
je 0x415bb1
mov dword [ebx], eax
add ebx, 4
jmp 0x415b89
call dword [esi + 0x16b2c]
mov ebp, dword [esi + 0x16b28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x415beb
sub esp, 0xffffff80
jmp 0x401164
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10001180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026b82
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov edi, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.1000f890
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.10001e90
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x1002fe40]
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x403b6f
nop
mov cl, byte [ebp - 0xc0]
xor byte [ebp + eax - 0xbf], cl
inc eax
cmp eax, 0x12
jb 0x10001210
lea edx, [ebp - 0xbf]
mov byte [ebp - 0xad], 0
lea ecx, [ebp - 0xa8]
call fcn.10003c00
mov edx, eax
push edi
mov eax, dword [edx]
mov eax, dword [eax + 4]
or dword [eax + edx + 0x14], 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + edx + 0x14], eax
mov ecx, edx
call fcn.10002180
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x58
mov byte [ebp - 0xaa], 0
mov al, 5
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10003c00
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov edx, dword [ebp - 0x68]
mov eax, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
and al, 0x22
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0xc4], 4
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb0], 0
cmp al, 2
je 0x10001302
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
test ecx, ecx
je 0x10001302
mov eax, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x6c]
cmovb ecx, dword [ebp - 0x6c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10001330
test dl, 4
jne 0x10001324
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x10001324
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x78]
add ecx, dword [eax]
jmp 0x10001330
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x1000133d
push ecx
push edx
mov ecx, esi
call fcn.10005cc0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.10001b00
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.10009e18
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000db60
mov esp, ebp
pop ebp
ret