joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005481e
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0xc]
jg 0x1004fc5b
pushfd
push ecx
lea esp, [esp + 8]
je 0x1005b7f8
bt sp, cx
cmp byte [eax], 0
jmp 0x1006072a
pushal
lea esp, [esp + 0x20]
je 0x1005b7f8
cmc
ror bx, cl
bsf bx, bp
bts bx, si
mov eax, dword [eax]
rol bh, cl
cmp bh, 0x8a
mov ebx, 0x650064
call fcn.10062540

Function at 0x1005517b
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x100589c4
pushal
jmp 0x1005c0a2
mov byte [esp + 4], bl
pushfd
lea esp, [esp + 0xc]
je 0x10054252
sal al, cl
cmc
rcr al, 7
mov al, byte [ebp]
bt sp, bx
cmp al, 0x83
push edi
jmp 0x100603f1
lea esp, [esp + 0x28]
jne 0x100532ab
adc al, bl
cmc
mov al, byte [ebp + 0xc]
push ecx
cmp edi, ecx
push eax
cmp al, 0
jmp 0x1004f4c7

Function at 0x10055404
Capabilities:
Packed with generic packer

Disassembly:
inc ecx
pushfd
cmp ecx, 5
pushfd
mov byte [esp + 0xc], 0xa
lea esp, [esp + 0x30]
jne 0x1005b81c

Function at 0x100557ea
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x28]
call fcn.100607ca
lahf
lahf
seto al
mov byte [0x1003ccd0], 0
mov al, bl
pushal
mov eax, dword [esp + 0x20]
pushfd
jmp loc.10007489
mov byte [esp], bh
jmp 0x1005033c

Function at 0x10055b46
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0xc]
jne 0x1005b7f8
shrd bx, di, cl
pushfd
xor bh, cl
bsr bx, bx
mov ebx, 0x610066
call fcn.1005a7b2

Function at 0x10056303
Capabilities:
Packed with generic packer

Disassembly:
jne fcn.100604f5
setns al
add al, cl
neg al
mov al, byte [ebp + 4]
pushfd
cmp al, 0x84
push dword [esp]
lea esp, [esp + 8]
jne fcn.100604f5
adc al, 0x73
adc al, bl
rcr al, cl
pushal
mov al, byte [ebp + 9]
cmc
cmp al, 0xbf
mov byte [esp + 8], 0x22
lea esp, [esp + 0x20]
js 0x1005709e
pushal
mov byte [esp + 8], 0xe1
lea esp, [esp + 0x20]
jne fcn.100604f5
pushfd
mov word [esp], 0x68db
cmp al, 0x64
pushfd
mov word [esp], 0xa38e
push ebx
lea esp, [esp + 0xc]
jne fcn.100604f5
bt si, 9
adc al, 0xb3
clc
mov al, byte [ebp + 3]
stc
cmp al, 0xf
jmp 0x10051907
call 0x1005aa3f
pushfd
lea esp, [esp + 0x38]
jne 0x1005b7f8
call fcn.1005f9c7
push 0x8287d8c9
call fcn.10001b62
sub al, 0x55
int1
retf 0xd6fc

Function at 0x100578f1
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov byte [esp + 0x10], 0x76
lea esp, [esp + 0x28]
jne fcn.100604f5
shr al, 5
and al, ah
mov al, byte [ebp + 0xc]
push edi
call fcn.10050991
lea esp, [esp + 0x2c]
je 0x1005b7f8
btr ebx, ebp
pushal
mov eax, dword [eax]
jmp 0x10057c77
btc bx, 0xf
mov ebx, 0x650064
push dword [esp]
call fcn.10007fb2
push eax
invalid

Function at 0x1005790f
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov byte [esp + 0x10], 0x76
lea esp, [esp + 0x28]
jne fcn.100604f5
shr al, 5
and al, ah
mov al, byte [ebp + 0xc]
push edi
call fcn.10050991
lea esp, [esp + 0x2c]
je 0x1005b7f8
btr ebx, ebp
pushal
mov eax, dword [eax]
jmp 0x10057c77
btc bx, 0xf
mov ebx, 0x650064
push dword [esp]
call fcn.10007fb2
push eax
invalid

Function at 0x10058c5d
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x10]
jne fcn.100604f5
cmc
push ecx
jmp 0x100575be
Function at 0x100594e9
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [eax + 0x10], ebx
mov byte [esp + 8], ch
mov byte [esp + 0x10], 0x12
push 0xd2676ba1
mov word [esp], bp
lea esp, [esp + 0x28]
jne 0x1005b7f8
call fcn.10055fd9
push 0x8207df6f
call fcn.100038a0
mov ebx, 0x7e51ae31

Function at 0x100595ae
Capabilities:
Packed with generic packer

Disassembly:
clc
mov ebx, dword [0x1003d104]
test ah, 0x73
pushfd
pushal
push ebx
and eax, 0xfff00000
test si, ax
push dword [esp]
push 0x15601620
and ebx, 0xfff00000
cmp bl, cl
bt esi, ebp
cmc
cmp eax, ebx
pushfd
jmp loc.1000562c

Function at 0x1005985c
Capabilities:
Packed with generic packer

Disassembly:
mov byte [esp], cl
lea esp, [esp + 4]
jne fcn.100604f5
or al, 0xb0
mov al, byte [ebp + 0xd]
pushfd
pushal
cmc
call fcn.10060be2

Function at 0x10059c09
Capabilities:
Packed with generic packer

Disassembly:
mov byte [esp], 0x37
lea esp, [esp + 0x50]
call fcn.100607ca
pushfd
mov byte [0x1003ccd0], 0
not ah
bswap eax
lea eax, [esp + 0x158a1e3b]
mov eax, dword [esp + 4]
setb ah
pop eax
mov eax, dword [esp + 4]
mov word [esp + 4], 0xca89
lea esp, [esp + 8]
jmp fcn.10055419
jmp 0x10052ba9
Function at 0x10059f2d
Capabilities:
Packed with generic packer

Disassembly:
stc
cmp byte [0x1003ccd0], 0x88
pushfd
lea esp, [esp + 8]
jne 0x1005b7f8
pushfd
pushal
lea esp, [esp + 0x24]
jl 0x100636d9
push eax
call fcn.1005bfea
pushfd
mov dword [esp + 4], eax
push edi
lea esp, [esp + 8]
call fcn.100607ca
lea eax, [eax - 0x39cd5860]
mov byte [0x1003ccd0], 0
not al
bswap ax
pop eax
call fcn.10061d6c
cwde
sti
shl byte [esi + 0xf], 1
enter 0xffffffffffffe858, 0x6a
push 0xfb980000
pop ebp
cmp esi, edx
pop edi
adc dword [edx - 0x48d455a2], esi
adc al, 0x71
mov byte [0xe8dcd74a], al
push edi
scasd eax, dword es:[edi]
loope 0x1005b57d
je 0x1005b558
invalid
in al, dx
loop 0x1005b4f8
push esp
sar dword [ebx], 1
div byte [edi - 0x2b]
ljmp 0x2889
ror byte [ecx - 0x40eb8fd8], cl
push 0xffffffffffffffdc
sbb eax, 0xfbde544f
cmpsb byte [esi], byte es:[edi]
ror byte [edx + 0x5f], 1
push ebx
sbb byte [esi], ah
sub al, 0xeb
mov esp, 0x1a918c95
jge 0x1005b5c6
mov word [ecx - 0x15bb82e6], ss
insb byte es:[edi], dx
cld
pop esi
cmp eax, 0xb6ec8474
ljmp 0x8474:0x3d5efc6c
jbe 0x1005b5b2
push ss
jns 0x1005b5b6
cwde
salc
and eax, 0x85e02925
loope 0x1005b58b
lodsd eax, dword [esi]
xchg esp, eax
outsd dx, dword [esi]
cmp esi, edx
pop edi
xor esp, dword [esp + edx*4 - 0x4ba17288]
invalid
cdq
sbb eax, 0xa33f9106
invalid
aas
mov dword [0x93a0a5c6], eax
add cl, byte [edi + 0x357f732e]
cmp bh, dl
jae 0x1005b565
push eax
inc dword [eax]
mov al, 0x20
invalid
push esp
mov byte [esp], 0xe2
pushfd
mov dword [esp + 4], eax
pushfd
pushfd
mov byte [esp + 8], 0x2a
xchg dword [esp + 8], eax
bswap ax
pushfd
mov byte [0x1003ccd0], 0x99
setnp al
mov byte [esp + 8], dl
mov eax, dword [ebp + 4]
lea esp, [esp + 0xc]
jae 0x1005b4db
pushfd
mov dword [esp + 4], eax
jmp 0x100642a9
lea esp, [esp + 4]
call fcn.100607ca
movzx ax, bl
movsx ax, al
push edx
mov byte [0x1003ccd0], 0
push 0x1ef5b486
not al
setne ah
mov eax, dword [esp + 8]
bswap eax
pushfd
lea eax, [esi - 0x3168316c]
movsx eax, bl
mov eax, dword [esp + 0x10]
pushfd
mov byte [esp + 4], ah
pushal
push 0xadbaccc
lea esp, [esp + 0x3c]
jmp fcn.10055419

Function at 0x1005a7b2
Capabilities:
Packed with generic packer

Disassembly:
pushfd
lea esp, [esp + 0x30]
jne 0x1005b7f8
rcl bh, 7
shrd bx, di, 4
shr ebx, 9
stc
mov ebx, 0x6c0075
bt sp, bx
jmp 0x100511ce
cmp dword [eax + 8], ebx
pushfd
push dword [esp]
pushfd
lea esp, [esp + 0xc]
jne 0x1005b7f8
sub bl, ch
mov ebx, 0x2e0074
stc
stc
bt sp, 1
cmp dword [eax + 0xc], ebx
pushal
lea esp, [esp + 0x20]
jne 0x1005b7f8
rcr bl, cl
mov ebx, 0x64006d
cmc
jnp 0x1004df24
stc
cmp dword [eax + 0x10], ebx
push 0xf39bcdbc
lea esp, [esp + 4]
jne 0x1005b7f8
call int.1005eec2
cmp byte [ebx], dl
sahf
salc
pop edi
cmp eax, 0xc8d8b227
das
mov dl, dl
outsb dx, byte [esi]
clc
xchg edi, eax
xor dword [eax - 0x4d56d6b3], 0x61c992cf
shl byte [eax - 0x4e148611], 0x41
int 0xfc
adc byte [ebp - 0x31], cl
insd dword es:[edi], dx
dec ebx
add dword [eax + 0xf], 0xffffffd9
or dl, dh
jne 0x100512b4
add edi, dword [edi]
inc eax
int3
out dx, eax
sub dword [esi + 0x496e46bf], esi
invalid
stc
pushfd
cmp dword [eax + 4], ebx
pushal
jmp 0x1004ffb1
Function at 0x1005a7bd
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [eax], 0
pushal
call fcn.10052f23
pop ebx
sub eax, 0x5fd62be9
mov ebp, 0x6238d3e3
sbb eax, 0x379cde70
in eax, 0x6f
test dword [ebp + 0x28], esp
jb fcn.1005a7bd
sub byte gs:[edx - 0x20], dh
popal
mov eax, 0x6b4f73cb
lcall 0xbe34, 0xe1716cbb
fcomi st(2)
pop ds
jle 0x1005a7d9
aaa
das
lock sub ch, byte [ecx - 0x4b8603a1]
sbb bl, byte [edi]
invalid

Function at 0x1005c7ca
Capabilities:
Packed with generic packer

Disassembly:
bts edx, esp
btr ecx, esi
mov eax, 0x1000273e
movzx ecx, dl
adc cx, 0x62a1
sal bh, cl
sub eax, ebp
add cx, dx
movsx dx, cl
sub eax, 5
movsx dx, cl
mov byte [ebp], 0xe9
bsf cx, si
mov dword [esp + 4], edi
xchg dl, ch
mov word [esp + 4], 0x1d86
mov dword [ebp + 1], eax
cwde
lahf
cdq
inc dword [0x1003d108]
lea edx, [edi + 0x153863ef]
call fcn.10053d38

Function at 0x1005c81b
Capabilities:
Packed with generic packer

Disassembly:
push dword [esp]
pushal
lea esp, [esp + 0x34]
jne 0x1005b7f8
not bh
mov ebx, 0x610066
jmp fcn.10006450

Function at 0x1005ca26
Capabilities:
Packed with generic packer

Disassembly:
pushal
lea esp, [esp + 0x2c]
jne 0x1005b7f8
jmp loc.10005a79

Function at 0x1005f3a6
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x30]
jne 0x10063850
pushfd
mov al, byte [ebp + 5]
push ebp
clc
cmp al, 0xe8
push dword [esp + 4]
lea esp, [esp + 0xc]
je 0x1004bc70
or al, 0xac
mov al, 0x84
mov al, byte [ebp]
cmp bl, bh
cmp al, 0x5f
call fcn.1005309e
push 0x8287a9d9
call fcn.10001b00
fadd qword [ebp + 0x5a]
xchg ecx, eax

Function at 0x100608ce
Capabilities:
Packed with generic packer

Disassembly:
pushal
lea esp, [esp + 0x40]
jne 0x1005b7f8
call fcn.1004c2b2
push 0x8287f80e
call fcn.10002557
mov bh, 0x11
push 0x2878f93
call fcn.10001a77
imul eax, dword [esi], 0xd75a93e7
pop edi
invalid
cmp byte [0x1003a08c], 2
pushal
mov byte [esp], cl
lea esp, [esp + 0x24]
jne 0x1005b7f8
test al, bh
cmc
cmc
pushal
cmp byte [0x1003ccd0], 0x88
mov byte [esp], ch
jmp 0x1004d649

Function at 0x10062119
Capabilities:
Packed with generic packer

Disassembly:
clc
cmp dword [eax + 0x10], ebx
jmp loc.10052f42
lea esp, [esp + 0x2c]
jne 0x1005b7f8
test di, bx
mov ebx, 0x64006d
push edi
cmp ch, 0xe0
cmc
sub esp, 0xfffffffc
jnp 0x10007c0a
cmp dword [eax + 0x10], ebx
call fcn.100622db

Function at 0x100622db
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 4]
jne 0x1005b7f8
pushal
call fcn.1004dc7e
push 0x82078069
call fcn.10001b62
lodsb al, byte [esi]
fnstcw word [ecx]
push 0x8207bff0
call fcn.10001b62
cwde
xchg esp, eax
push 0x8207d65a
call fcn.1000227c
or dword [ebp + 0x2d], esi
cmpsb byte [esi], byte es:[edi]
jmp 0x10062362
sub eax, 0x9c101a54
dec edx
mov word [edi + ebp*4 + 0xc], ds
pop edi
add ebx, dword [ebp + 0x23]
inc esp
fisttp qword [0xcf0c2599]
push ebp
fcomp dword [edx + 1]
invalid

Function at 0x100627d5
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x28]
jne 0x10063850
sbb al, ah
inc al
sbb al, ch
mov al, byte [ebp + 4]
push 0xacf600b2
clc
cmp al, 0x1a
jmp loc.10003de2
Function at 0x1006288a
Capabilities:
Packed with generic packer

Disassembly:
jmp fcn.10006406
lea esp, [esp + 4]
jne 0x1005b7f8
sbb bx, bp
mov ebx, 0x2e0074
bt cx, cx
cmc
cmp dword [eax + 0xc], ebx
jmp 0x1004f4c2

Function at 0x10064053
Capabilities:
Packed with generic packer

Disassembly:
pushfd
test dh, ch
mov eax, 0x1003d2f0
setae dl
xchg bl, dl
shld bx, cx, 0xb
dec bh
mov ebx, dword [0x1003d330]
setb dl
stc
xor ecx, ecx
lea esp, [esp + 4]
not dl
jmp 0x100603e6
mov dl, 0x2d
pushal
mov dl, byte [eax + ecx]
call fcn.10003db9
pushal
push 0xd331430d
lea esp, [esp + 0x28]
jne fcn.100604f5
pushfd
xor al, ch
mov al, byte [ebp + 1]
call fcn.10059cff
popfd
mov ch, 7
mov ch, dl
pop edi
mov ebx, esp
sub dword [edi - 0x35617b58], edi
mov byte [0x293812e2], al
mov bl, 0x2c
scasb al, byte es:[edi]
mov bh, 0x12
mov eax, 0x90264fb4
sahf
push ebx
daa
xchg dword [edi + 0x7a], ebx
popal
ror byte [ecx - 8], cl
bound esi, qword [ebx]
dec edi
push edi
jbe 0x10060441
pop esp
shl dword [ebp + 0x5f], 0xd4
invalid
in eax, dx
dec edi
jmp 0x69084354
pushal
cmp byte [0x1003ccd0], 0x88
mov byte [esp], 0x62
adc byte [eax + 0x622404c6], cl
lea esp, [esp + 0x24]
jne 0x1005b7f8
test dword [edi - 0x63000089], ecx
invalid
pushfd
mov dword [esp], eax
call fcn.1005216f
or dword [esi], edi
or ah, cl
aad 0x5f
stosb byte es:[edi], al
loopne 0x10064064
je 0x10064092
dec esi
js 0x10064076
or ebp, 0x65
in al, 0xec
invalid
out dx, al
inc ebp
jl 0x100640b0
jp 0x10064065
cmp byte [ecx + ecx*4 - 0x76], cl
mov eax, dword [0xff59f7dc]
in eax, 0xb8
inc eax
and esi, edx
dec ecx
jg 0x10064059
xor byte [0xeb710850], ah
xor al, bh
clc
xor eax, 0x89e621cc
invalid

Function at 0x100648a0
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp + 4], esp
pushfd
mov word [esp + 0x10], di
lea esp, [esp + 0x3c]
jne 0x1005b7f8
shr ah, cl
mov eax, dword [ebp + 0x14]
pushfd
clc
bt bp, 9
mov word [esp], bp
cmp eax, 0
mov byte [esp], dl
push 0xb748c3f2
jmp 0x1004fa61

Function at 0x10064d10
Capabilities:
Packed with generic packer

Disassembly:
mov byte [esp + 8], 0x35
lea esp, [esp + 0x30]
jne 0x1005b7f8
clc
call fcn.10059f2d
mov eax, 0xd5c1e318
pop edi
ret
Function at 0x401710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401729
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401764
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401760
lea ebx, [ebx]
cmp esi, eax
jae 0x401764
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401750
cmp esi, eax
jb 0x40176a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x402a00
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x402a1e
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
push esi
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x402a45
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x402a68
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea ecx, [esp + 0xc]
push ecx
push esi
call ebx
test eax, eax
je 0x402a9a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x14], 2
jne 0x402a99
push 0x64
call ebp
lea edx, [esp + 0x10]
push edx
push esi
call ebx
test eax, eax
jne 0x402a82
pop ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret

Function at 0x402ac0
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x402ade
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
push esi
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x402b05
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
lea ecx, [esp + 8]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x402b2b
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
cmp dword [esp + 0xc], 3
jne 0x402b59
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x64
call ebx
lea edx, [esp + 0x10]
push edx
push esi
call ebp
test eax, eax
je 0x402b57
cmp dword [esp + 0x14], 3
je 0x402b40
pop ebp
pop ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret
Function at 0x402b70
Capabilities:
Delete service

Disassembly:
push esi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x402b85
pop esi
ret
mov eax, dword [esp + 8]
push edi
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x402ba9
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x402bc5
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
xor eax, eax
pop esi
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
ret

Function at 0x402cf0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
cmp dword [0x42ea38], 0
jne 0x402d4a
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402d1f
lea ecx, [esp]
push ecx
call eax
jmp 0x402d29
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp]
cmp ax, 9
mov ecx, 1
je 0x402d3e
cmp ax, 6
jne 0x402d44
mov dword [0x42ea34], ecx
mov dword [0x42ea38], ecx
mov eax, dword [0x42ea34]
add esp, 0x24
ret
Function at 0x402d60
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x420e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x42aaa0]
xor eax, esp
mov dword [esp + 0x324], eax
push ebp
push esi
push edi
mov eax, dword [0x42aaa0]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
mov eax, dword [esp + 0x348]
mov ebp, dword [esp + 0x34c]
lea edi, [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.00402be0
push ebp
mov dword [esp + 0x344], 0
call fcn.00402ac0
push ebp
call fcn.00402b70
add esp, 8
push ebx
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 4
lea esi, [esp + eax + 0x124]
push str..sys
push esi
call fcn.0041011c
add esp, 0xc
test eax, eax
jne 0x402e09
mov byte [esi], al
call fcn.00402cf0
mov ecx, dword [esp + 0x10]
test eax, eax
lea eax, [esp + 0x124]
push eax
lea edx, [esp + 0x230]
push ecx
jne 0x402e2d
push str._s_s.sys
jmp 0x402e32
push str._sx64_s.sys
push edx
call fcn.0040efed
add esp, 0x10
push 0x104
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x1c]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402e52
mov ecx, dword [str.System32Drivers_]
mov edx, dword [0x425fac]
mov dword [eax], ecx
mov ecx, dword [0x425fb0]
mov dword [eax + 4], edx
mov edx, dword [0x425fb4]
mov dword [eax + 8], ecx
mov cx, word [0x425fb8]
mov dword [eax + 0xc], edx
mov dl, byte [0x425fba]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
mov eax, ebx
mov ecx, ebx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402e97
lea edi, [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x402eb0
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402eb0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
lea eax, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x402f00
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, ebp
call fcn.00402570
add esp, 8
test eax, eax
jne 0x402f19
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x344], 0xffffffff
call fcn.00402c70
xor eax, eax
jmp 0x402f6d
push ebp
call fcn.00402a00
add esp, 4
test eax, eax
jne 0x402f53
push ebp
call fcn.00402b70
add esp, 4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x344], 0xffffffff
call fcn.00402c70
xor eax, eax
jmp 0x402f6d
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x344], 0xffffffff
call fcn.00402c70
mov eax, 1
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.0040e571
add esp, 0x334
ret
Function at 0x402fa0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x11c
mov eax, dword [0x42aaa0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
lea edi, [esp + 8]
mov esi, ecx
call fcn.00402be0
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x10]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402fd8
mov ecx, dword [str.System32Drivers_]
mov edx, dword [0x425fac]
mov dword [eax], ecx
mov ecx, dword [0x425fb0]
mov dword [eax + 4], edx
mov edx, dword [0x425fb4]
mov dword [eax + 8], ecx
mov cx, word [0x425fb8]
mov dword [eax + 0xc], edx
mov dl, byte [0x425fba]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
mov eax, esi
mov ecx, esi
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403020
lea edi, [esp + 0x10]
sub eax, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403032
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00402ac0
push ebx
call fcn.00402b70
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
push ecx
call fcn.00402c70
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040e571
add esp, 0x11c
ret

Function at 0x40bcb1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40bcdf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40bcfd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040bc1b
jmp 0x40bcfd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40bcfd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040bc1b
test edi, edi
mov eax, edi
jne 0x40bce7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x42daec]
test ecx, ecx
je 0x40bdc0
jmp 0x40bcb0
ret 8

Function at 0x40e571
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42aaa0]
jne 0x40e57b
repz ret
jmp fcn.004132ff