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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00421620
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0042e649
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x430e00
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x430f5c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0043d0e0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x44a880]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00431bbf
mov ecx, dword [esi*4 + 0x44a880]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x430f55
cmp eax, dword [ecx + edi + 0x24]
jne 0x430f55
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430f55
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00431bbf
add esp, 0x14
test edx, edx
jl 0x430f55
jg 0x430ecb
test eax, eax
jb 0x430f55
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x430f55
jl 0x430ee5
cmp dword [ebp - 0x1008], eax
ja 0x430f55
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x430f03
test ebx, ebx
je 0x430f3c
cmp ecx, edi
jae 0x430f3c
mov al, byte [ecx]
cmp al, 0xd
jne 0x430f1d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x430f29
cmp byte [ecx + 1], 0xa
jne 0x430f29
inc ecx
jmp 0x430f29
movzx eax, al
movsx eax, byte [eax + 0x449348]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x430f03
cmp edx, ebx
jne 0x430f03
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x430f5a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004206b9
leave
ret
Function at 0x431057
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x44a880]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x431097
cmp byte [ebx], 0xa
jne 0x431097
or byte [edi + eax + 0x28], 4
jmp 0x43109c
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x43119b
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43117e
inc eax
cmp dl, 0xd
je 0x4310c8
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4310ee
cmp eax, ecx
jae 0x4310fc
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4310b0
jmp 0x43119b
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431179
cmp dword [ebp - 0x10], 0
je 0x431179
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x44a880]
test byte [eax + edi + 0x28], 0x48
je 0x431153
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43113e
mov byte [esi], dl
jmp 0x43114f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x44a880]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43119b
cmp byte [ebp - 1], 0xa
jne 0x431162
cmp esi, ebx
jne 0x431162
mov byte [esi], 0xa
jmp 0x43119a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00431bdd
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43119b
mov byte [esi], 0xd
jmp 0x43119a
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x44a880]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x431198
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43119b
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4311a4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x44a880]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4311ea
cmp word [ebx], dx
jne 0x4311ea
or byte [eax + edi + 0x28], 4
jmp 0x4311ef
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x431352
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x431332
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x431230
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x431266
cmp eax, edx
jae 0x431274
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x43120b
jmp 0x431352
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43132d
cmp dword [ebp - 0x18], 0
je 0x43132d
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x44a880]
test byte [eax + edi + 0x28], 0x48
je 0x431303
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4312c7
mov word [esi], cx
jmp 0x4312fe
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x44a880]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x44a880]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x44a880]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x431352
pop eax
cmp word [ebp - 4], ax
jne 0x431313
cmp esi, ebx
jne 0x431313
mov word [esi], ax
jmp 0x43134f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00431bdd
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x431352
push 0xd
pop eax
jmp 0x43130e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x44a880]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x43134c
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x431352
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x434a57
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 0x434af4
push ebx
push esi
call fcn.00434a20
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.0043388f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x434aa1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x434af3
push edi
push eax
call fcn.0042d805
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x434ac1
call fcn.0042d7cb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x434af2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043388f
add esp, 0x20
test eax, eax
jne 0x434ae0
push edi
call fcn.0042d7cb
jmp 0x434ae8
push ebx
call fcn.0042d7cb
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 0x4372c6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042d424
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 0x437335
cmp esi, dword [ebp - 4]
je 0x437330
cmp dword [ebp + 0xc], 0
je 0x437330
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43730d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00436e18
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x437337
xor eax, eax
inc eax
jmp 0x437337
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x43739c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x449080]
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.0042d424
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.0042d424
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 0x437413
cmp word [ecx], dx
je 0x437413
mov eax, dword [0x44256c]
push edi
dec eax
push eax
push 0x442458
call fcn.0043733b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x437486
cmp word [eax], dx
je 0x437486
mov eax, dword [edi]
test eax, eax
je 0x437437
cmp word [eax], dx
je 0x437437
lea eax, [ebp - 0x10]
push eax
call fcn.00436d1e
jmp 0x437440
lea eax, [ebp - 0x10]
push eax
call fcn.00436db9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4374b0
mov eax, dword [0x442454]
push dword [ebp - 0x14]
dec eax
push eax
push 0x442148
call fcn.0043733b
add esp, 0xc
test al, al
je 0x4374b0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x43747b
cmp word [eax], di
je 0x43747b
lea eax, [ebp - 0x10]
push eax
call fcn.00436d1e
pop ecx
jmp 0x4374b2
lea eax, [ebp - 0x10]
push eax
call fcn.00436db9
jmp 0x437478
mov eax, dword [edi]
test eax, eax
je 0x43749d
cmp word [eax], dx
je 0x43749d
lea eax, [ebp - 0x10]
push eax
call fcn.00436cd3
pop ecx
jmp 0x4374b0
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 0x43757b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004371c0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43757b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x43757b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x43757b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x437508
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004307bf
test ebx, ebx
je 0x437576
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004307bf
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43757b
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 0x43757b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043b3c7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x43757d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004206b9
leave
ret
Function at 0x43b9f5
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.0043b971
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43bb64
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43bb64
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43bb19
jg 0x43ba51
test eax, eax
je 0x43bb0f
push 1
push 0x1000
call fcn.0043012b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43ba74
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43bb06
push 0x8000
push ebx
call fcn.0042ab42
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43ba9d
jg 0x43ba98
cmp ecx, 0x1000
jb 0x43ba9d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042fb31
add esp, 0x10
cmp eax, 0xffffffff
je 0x43bae2
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 0x43ba98
jl 0x43bac9
test ecx, ecx
jne 0x43ba8a
push dword [ebp - 0xc]
push ebx
call fcn.0042ab42
push esi
call fcn.0042d7cb
add esp, 0xc
xor ebx, ebx
jmp 0x43bb72
cmp byte [edi + 0x24], 0
je 0x43baf9
cmp dword [edi + 0x20], 5
jne 0x43baf9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43bb04
mov ebx, dword [edi + 0x18]
jmp 0x43bb06
xor ebx, ebx
push esi
call fcn.0042d7cb
pop ecx
jmp 0x43bb72
test ecx, ecx
jg 0x43badb
jl 0x43bb19
test eax, eax
jae 0x43badb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00431bdd
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43bb39
cmp byte [edi + 0x1c], 0
je 0x43badb
jmp 0x43bb6a
push ebx
call fcn.00435297
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43badb
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 0x43bb72
cmp byte [edi + 0x1c], 0
je 0x43bb6f
mov ebx, dword [edi + 0x18]
jmp 0x43bb72
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00431bdd
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43cfe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43d00d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43d00d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5d9118
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x5d9150
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x5d913e
mov al, 1
jmp 0x5d91af
cmp dword [ebx + 0x54], ecx
jne 0x5d9147
mov al, 2
jmp 0x5d91af
cmp dword [ebx + 0x7c], ecx
jne 0x5d91af
mov al, 3
jmp 0x5d91af
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x5d9165
mov al, 4
jmp 0x5d91af
cmp ecx, 5
jne 0x5d9185
cmp ebx, 0
jne 0x5d9173
mov al, 5
jmp 0x5d91af
cmp ebx, 1
jne 0x5d917c
mov al, 6
jmp 0x5d91af
cmp ebx, 2
jne 0x5d9185
mov al, 7
jmp 0x5d91af
cmp ecx, 6
jne 0x5d91ad
cmp ebx, 0
jne 0x5d9193
mov al, 8
jmp 0x5d91af
cmp ebx, 1
jne 0x5d919a
mov al, 9
cmp ebx, 2
jne 0x5d91a1
mov al, 0xa
cmp ebx, 3
jne 0x5d91a8
mov al, 0xb
cmp ebx, 4
jne 0x5d91af
mov al, 0xc
pop ebx
leave
ret
Function at 0x868540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d7000]
push edi
or ebp, 0xffffffff
jmp 0x868562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x868569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x868558
mov eax, 1
add ebx, ebx
jne 0x86857b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x86858c
jne 0x8685ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8685ab
dec eax
add ebx, ebx
jne 0x868598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x868570
add ebx, ebx
jne 0x8685a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8685fd
xor ecx, ecx
sub eax, 3
jb 0x8685c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x868632
sar eax, 1
mov ebp, eax
jmp 0x8685ce
add ebx, ebx
jne 0x8685ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86859c
inc ecx
add ebx, ebx
jne 0x8685dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86859c
add ebx, ebx
jne 0x8685e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8685de
jne 0x8685fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8685de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x86861c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x86860e
jmp 0x86855e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x86861c
add edi, ecx
jmp 0x86855e
pop esi
mov edi, esi
mov ecx, 0x69f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x86863a
cmp byte [edi], 0xe
jne 0x86863a
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 0x86863f
lea edi, [esi + 0x45f000]
mov eax, dword [edi]
or eax, eax
je 0x8686b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46cb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x46ccd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x86866c
mov ecx, edi
jns 0x86869b
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 + 0x46ccd8]
or eax, eax
je 0x8686b1
mov dword [ebx], eax
add ebx, 4
jmp 0x868689
call dword [esi + 0x46cce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8686e8
cmp al, 0xef
ja 0x8686db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8686bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8686ca
mov ebp, dword [esi + 0x46ccdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x86871c
sub esp, 0xffffff80
jmp 0x4af4e0
Function at 0x4096a0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x4c], 0x1d3
mov dword [ebp - 0x50], 0x24f
mov dword [ebp - 0x54], 0xad
mov dword [ebp - 8], 0xf8
mov dword [ebp - 0x3c], 0x1c
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x58], 0x33d
mov dword [ebp - 0x5c], 0x113
mov dword [ebp - 0x24], 0x19b
mov dword [ebp - 0x60], 0x11a
mov dword [ebp - 0x30], 0x2f2
mov dword [ebp - 0x64], 0x133
mov dword [ebp - 0x68], 0x3de
mov dword [ebp - 0x6c], 0x284
mov dword [ebp - 0x44], 0x30f
mov dword [ebp - 0x34], 0x285
mov dword [ebp - 0x70], 0x10b
mov dword [ebp - 0x40], 0xcc
mov dword [ebp - 0x20], 0x23
mov dword [ebp - 0xc], 0x38c
mov dword [ebp - 0x38], 0x318
mov dword [ebp - 4], 0
jmp 0x409752
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x18992
cmp dword [ebp - 4], ecx
jge 0x4097db
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x1c]
jge 0x4097d6
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc]
jge 0x40977f
mov dword [ebp - 0x10], 1
jmp 0x409786
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + 0x10]
jge 0x409797
mov dword [ebp - 0x14], 1
jmp 0x40979e
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
and eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x34]
jge 0x4097bb
mov dword [ebp - 0x18], 1
jmp 0x4097c2
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x18]
je 0x4097d6
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x409749
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x3c]
jge 0x4097ef
mov dword [ebp - 0x28], 1
jmp 0x4097f6
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x44]
jge 0x409807
mov dword [ebp - 0x2c], 1
jmp 0x40980e
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp + 0x1c]
sub edx, dword [ebp - 0x24]
and edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x2c]
je 0x409825
mov eax, dword [ebp + 0x28]
add eax, 1
mov dword [ebp + 0x28], eax
mov esp, ebp
pop ebp
ret
Function at 0x409b70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x4c], 0x141
mov dword [ebp - 8], 0x345
mov dword [ebp - 0x20], 0x44
mov dword [ebp - 0x1c], 0x1f
mov dword [ebp - 0x50], 0xaa
mov dword [ebp - 0x40], 0x263
mov dword [ebp - 0x54], 0xa5
mov dword [ebp - 0x30], 0x36d
mov dword [ebp - 0x2c], 0x151
mov dword [ebp - 0x34], 0x92
mov dword [ebp - 0x58], 0xf0
mov dword [ebp - 0x18], 0x228
mov dword [ebp - 0x5c], 0xa8
mov dword [ebp - 0x38], 0x1a7
mov dword [ebp - 0x28], 0x2ca
mov dword [ebp - 4], 0x32f
mov dword [ebp - 0x3c], 0x11a
mov dword [ebp - 0x60], 0x294
mov dword [ebp - 0x14], 0x23b
mov dword [ebp - 0x64], 0x1ea
mov dword [ebp - 0x68], 0x249
mov dword [ebp - 0x6c], 0x3d2
mov dword [ebp - 0x48], 0x30d
mov dword [ebp - 0x44], 0x330
mov dword [ebp - 0xc], 0
jmp 0x409c30
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x38]
sub ecx, 0x1a6
cmp dword [ebp - 0xc], ecx
jge 0x409c51
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x20]
jge 0x409c4f
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x409c27
mov dword [ebp - 0x10], 0
jmp 0x409c63
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0x187f1
cmp dword [ebp - 0x10], edx
jge 0x409cbd
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x3c]
jge 0x409c82
mov dword [ebp - 0x24], 1
jmp 0x409c89
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x24]
je 0x409cbb
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x28]
and edx, eax
je 0x409cb5
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x28]
jge 0x409cb5
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409c5a
mov eax, dword [ebp - 0x40]
sub eax, 0xee
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
push ecx
mov edx, dword [ebp - 0x44]
sub edx, 6
push edx
mov eax, dword [ebp - 0x34]
add eax, 0xf3
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0xf
push ecx
mov edx, dword [ebp - 0x30]
sub edx, 0x1c6
push edx
mov eax, dword [ebp - 0x48]
sub eax, 0x2b8
push eax
call fcn.004159e0
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
add ecx, 0x11
push ecx
mov edx, dword [ebp - 0x30]
sub edx, 0x39
push edx
mov eax, dword [ebp + 0xc]
add eax, 0xf1
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x7b
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x19
push edx
mov eax, dword [ebp - 0x14]
sub eax, 0x5c
push eax
mov ecx, dword [ebp + 8]
sub ecx, 0xb7
push ecx
mov edx, dword [ebp - 0x18]
sub edx, 0x16
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x6f
push eax
mov ecx, dword [ebp - 4]
sub ecx, 0x99
push ecx
call fcn.0041a130
add esp, 0x28
mov esp, ebp
pop ebp
ret