joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53d380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ca018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x18], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 0x24]
movups xmm0, xmmword [eax]
mov esi, dword [ebx + 0x20]
movups xmmword [ebp - 0x14], xmm0
cmp esi, edi
je 0x53d3c6
nop
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004068b1
test al, al
jne 0x53d3c6
add esi, 0x70
cmp esi, edi
jne 0x53d3b0
cmp esi, dword [ebx + 0x24]
jne 0x53d3e3
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405a92
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x68]
cmp ecx, dword [ebp + 0xc]
jne 0x53d411
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x53d3f6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x53d409
mov eax, 1
jmp 0x53d420
shr eax, 3
and eax, 2
jmp 0x53d420
mov eax, 1
mov edx, 4
cmp ecx, eax
cmove eax, edx
test eax, eax
jne 0x53d42d
mov ecx, dword [ebp - 0x18]
mov byte [ebx + 0x1c], 1
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405a92
mov esp, ebp
pop ebp
ret 0xc
Function at 0x54dba0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e79a
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5ca018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x2c], 0
cmp dword [esi + 0x14], 8
jb 0x54dbe0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x54dc8b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x54dbf9
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402351
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
call fcn.00401b13
push eax
push 2
push 0x2f
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpadutil_file_filesystem_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::LoggingRemoveDirectoryImpl_const_class_base::FilePath__
lea ecx, [ebp - 0xe4]
call fcn.00405484
push str.RemoveDirectory
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], 3
call fcn.0040533a
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x54dc67
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.0040299b
add esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.004042b9
lea ecx, [ebp - 0x28]
call fcn.00405c40
xor al, al
jmp 0x54dc8d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405a92
mov esp, ebp
pop ebp
ret

Function at 0x551bb5
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5ca018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x5b0910
push esi
call fcn.00408db9
pop ecx
pop ecx
test eax, eax
jne 0x551be3
xor al, al
jmp 0x551c60
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0055170c
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x551c1d
push dword [ebp - 0x210]
call fcn.0040579f
xor al, al
jmp 0x551c5e
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x551c23
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x551c43
push edx
call fcn.00551a8d
pop ecx
test al, al
je 0x551c0e
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x551c51
mov bl, 1
push dword [ebp - 0x210]
call fcn.0040579f
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00405a92
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x419200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x419222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419218
mov eax, 1
add ebx, ebx
jne 0x41923b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419230
jne 0x41924c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419230
xor ecx, ecx
sub eax, 3
jb 0x419260
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4192d2
mov ebp, eax
add ebx, ebx
jne 0x41926b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41929c
inc ecx
add ebx, ebx
jne 0x419288
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41927d
jne 0x419299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41927d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4192bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4192ad
jmp 0x41921e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4192bc
add edi, ecx
jmp 0x41921e
pop esi
mov edi, esi
mov ecx, 0x156
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4192da
cmp byte [edi], 2
jne 0x4192da
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 eax, ebx
loop 0x4192df
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41934e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41930c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19c4c]
or eax, eax
je 0x419348
mov dword [ebx], eax
add ebx, 4
jmp 0x419329
call dword [esi + 0x19c50]
popal
jmp 0x403c73
Function at 0x8de2b8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de2be
pop ebp
sub ebp, 6
sub ebp, 0x4de2b8
jmp 0x8de31c
jmp 0x8de325
mov eax, 0x4de2b8
add eax, ebp
add eax, 0x93
mov ecx, 0x614
mov edx, 0xf91a5baa
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de33c
jmp 0x8de34f
shr dl, 0xc2
stosb byte es:[edi], al
mov edx, 0xaac2aaaa
xchg byte [edx + 0x55fa6a99], ch
aas
xchg esi, eax
mov ebp, esi
stosb byte es:[edi], al
cli
and dword [edi + 0x21], esp
and edx, dword [esi + 0x2baaaaaa]
imul edx, dword [edx - 0x56], 0xffffffaa
stosb byte es:[edi], al
test eax, 0xaaac1267
stosb byte es:[edi], al
stosb byte es:[edi], al
adc byte [edx + 0x5daaaaaa], al
dec eax
test eax, 0xa62b2162
stosb byte es:[edi], al
stosb byte es:[edi], al
stosb byte es:[edi], al
test eax, 0xd2c2fa6f
popfd
mov dword [0x1eac2aa], eax
out dx, al
stosb byte es:[edi], al
stosd dword es:[edi], eax
xchg byte [esi - 0x5555553e], cl
stosb byte es:[edi], al
inc edx
scasd eax, dword es:[edi]
stosb byte es:[edi], al
stosb byte es:[edi], al
stosb byte es:[edi], al
inc ebx
sub byte [edx + 0x27ffaaaa], 0xc6
mov gs, word [edx - 0x555dd0df]
stosb byte es:[edi], al
stosb byte es:[edi], al
and dword [edi], edi
cmpsb byte [esi], byte es:[edi]
stosb byte es:[edi], al
stosb byte es:[edi], al
stosb byte es:[edi], al
and dword [edi], esp
mov edx, 0x6baaaaaa
inc ebx
test al, 0x9b
test al, 0x29
push 0x2fa5e3ae
pop esi
push ebp
push ebp
push ebp
imul dword [eax - 0x5a]
stosb byte es:[edi], al
and dword [esi], esp
mov gs, word [esi - 0x3d555556]
rcr byte [ebp - 0x153d555d], cl
add esi, ebp
stosb byte es:[edi], al
stosd dword es:[edi], eax
xchg byte [esi - 0x5550bd05], cl
stosb byte es:[edi], al
stosb byte es:[edi], al
inc ebx
cdq
test al, 0xaa
stosb byte es:[edi], al
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40596d
pop dword [ebp - 0x40]
mov eax, 0x6874ec23
sub eax, 0x683492b6
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xb39ddcd1
add dword [ebp - 0x50], 0x9ab4687a
mov dword [ebp - 0x4c], 0x1e792ae1
sub dword [ebp - 0x4c], 0xec45de9c
mov dword [ebp - 0x48], 0xf9cc7a29
add dword [ebp - 0x48], 0x527fca05
mov dword [ebp - 0x44], 0x276281a1
add dword [ebp - 0x44], 0xd89d7e5f
lea eax, [ebp - 0x50]
push eax
mov eax, 0xc7864bd4
sub eax, 0xc745db74
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xd63d33c
add dword [ebp - 0x50], 0x670e961a
mov dword [ebp - 0x4c], 0xa5161bac
add dword [ebp - 0x4c], 0x9c5645c9
mov dword [ebp - 0x48], 0x37f3aa07
sub dword [ebp - 0x48], 0xd4843d9b
mov dword [ebp - 0x44], 0xf5590ab6
add dword [ebp - 0x44], 0xaa6f54a
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x399af491
sub eax, 0x395a8391
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa6f
push 0
call eax
mov ecx, 0x57be
mov ebx, eax
mov esi, 0x410000
add esi, dword [ebp - 0x40]
mov edx, 0x7570af4e
sub edx, 0x1c398acc
sub dword [ebp - 0x14], 0x45276cc6
mov edi, dword [esi]
sub dword [ebp - 0x1c], esi
xor edi, edx
add dword [ebp - 0x28], 0x7ddb9735
mov dword [ebx], edi
mov dword [ebp - 0x1c], 0x105b1ca
add ebx, 4
add esi, 0x7e9c1687
add esi, 0x8163e97d
loop 0x405a83
add eax, 0xe26d110a
sub eax, 0xe26bbf3f
mov ebx, eax
add eax, 5
mov ecx, 0xbbc7fbeb
add ecx, 0x44780415
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4030f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea edi, [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x40314e
mov eax, esi
je 0x40311a
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [esi + 0xb], 0
js 0x403168
mov word [esi], 0
mov byte [esi + 0xb], 0
cmp esi, edi
je 0x403138
cmp byte [esi + 0xb], 0
movzx eax, byte [edi + 0xb]
js 0x403178
test al, al
jns 0x403158
mov ecx, esi
push dword [edi + 4]
push dword [edi]
call fcn.00409cc0
cmp byte [edi + 0xb], 0
jns 0x403148
push dword [edi]
call fcn.0040b480
add esp, 4
pop esi
pop edi
pop ebp
ret 0xc
cmp dword [esi + 4], 0
je 0x40311a
mov eax, dword [esi]
jmp 0x403104
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [edi]
movsd qword [esi], xmm0
jmp 0x403138
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
jmp 0x40311a
test al, al
js 0x403183
and eax, 0x7f
mov edx, edi
jmp 0x403188
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, esi
push eax
push edx
call fcn.00409be0
jmp 0x403138
Function at 0x404bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x408ee0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x404c41
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x2c]
push esi
call fcn.0040a3a0
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x456ef8
call fcn.0040af50
mov esi, eax
mov edi, dword [ebp - 0x2c]
cmp edi, 0x456e08
je 0x404c94
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x404c94
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
xor eax, eax
dec eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi]
mov dl, byte [ebp + 0x18]
xor dl, 1
movzx edx, dl
mov edi, dword [ecx + edx*4 + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x2c]
push eax
call edi
movzx eax, byte [ebp - 0x21]
test al, al
js 0x404cd1
mov edx, eax
and edx, 0x7f
jmp 0x404cd4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test edx, edx
je 0x404ce8
test al, al
lea eax, [ebp - 0x2c]
cmovns ecx, eax
mov dword [ebp - 0x30], ecx
jmp 0x404d23
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x404d00
push ecx
call fcn.0040b480
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x404c37
mov esi, dword [ebp - 0x28]
mov edx, ecx
add edx, esi
mov esi, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x30], esi
cmp esi, edx
je 0x404ce8
cmp dword [ebp - 0x20], 0
je 0x404d59
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x404d62
lea edx, [ecx + 1]
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x18], edx
mov byte [ecx], al
movzx eax, byte [ebp - 0x21]
mov ecx, dword [ebp - 0x2c]
test al, al
js 0x404d11
mov esi, eax
and esi, 0x7f
lea edx, [ebp - 0x2c]
jmp 0x404d16
mov dword [ebp - 0x20], 0
jmp 0x404d44
movzx edi, al
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push edi
call esi
xor ecx, ecx
cmp eax, 0xffffffff
je 0x404d92
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
jmp 0x404d44
Function at 0x40b9b8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x40b9f7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b9f7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b9f7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b9f7
cmp dword [ecx + 0x74], 0xe
jbe 0x40b9f7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x420aa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420acd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420acd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x421bd5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4494a4
push 0x44949c
push 0x4494a4
push 0x1f
call fcn.00422088
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421c09
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x421c0f
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x421c53
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4494c8
push 0x4494c0
push 0x4494c8
push 0x21
call fcn.00422088
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421c8a
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]

Function at 0x421c92
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4494dc
push 0x4494d4
push 0x4494dc
push 0x22
call fcn.00422088
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421ccc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsSetValue]
Function at 0x4261df
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x454010]
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.0042141c
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.0042141c
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 0x426256
cmp word [ecx], dx
je 0x426256
mov eax, dword [0x449e94]
push edi
dec eax
push eax
push 0x449d80
call fcn.004263cf
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4262c9
cmp word [eax], dx
je 0x4262c9
mov eax, dword [edi]
test eax, eax
je 0x42627a
cmp word [eax], dx
je 0x42627a
lea eax, [ebp - 0x10]
push eax
call fcn.00426430
jmp 0x426283
lea eax, [ebp - 0x10]
push eax
call fcn.0042671e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4262f3
mov eax, dword [0x449d7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x449a70
call fcn.004263cf
add esp, 0xc
test al, al
je 0x4262f3
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4262be
cmp word [eax], di
je 0x4262be
lea eax, [ebp - 0x10]
push eax
call fcn.00426430
pop ecx
jmp 0x4262f5
lea eax, [ebp - 0x10]
push eax
call fcn.0042671e
jmp 0x4262bb
mov eax, dword [edi]
test eax, eax
je 0x4262e0
cmp word [eax], dx
je 0x4262e0
lea eax, [ebp - 0x10]
push eax
call fcn.00426852
pop ecx
jmp 0x4262f3
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 0x4263be
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00426944
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4263be
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.DLL_IsValidCodePage]
test eax, eax
je 0x4263be
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_IsValidLocale]
test eax, eax
je 0x4263be
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42634b
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00421ecb
test ebx, ebx
je 0x4263b9
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00421ecb
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x4263be
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 0x4263be
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041b94b
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4263c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bdb9
leave
ret
Function at 0x426a4a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042141c
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 0x426ab9
cmp esi, dword [ebp - 4]
je 0x426ab4
cmp dword [ebp + 0xc], 0
je 0x426ab4
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x426a91
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00426b13
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x426abb
xor eax, eax
inc eax
jmp 0x426abb
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x426e62
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x454010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x426ead
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00426fd8
test al, al
jne 0x426ea7
sub edx, 2
cmp edx, edi
jne 0x426e8d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x426ecf
lea eax, [edi + 2]
cmp edx, eax
je 0x426ecf
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00426dae
add esp, 0x10
jmp 0x426fc9
push esi
lea ecx, [ebp - 0x255]
call fcn.00426fd8
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x426f12
push dword [ebp - 0x25c]
jmp 0x426ebf
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x426f4f
cmp word [ebp - 0x226], 0
je 0x426f70
cmp word [ebp - 0x226], ax
jne 0x426f4f
cmp word [ebp - 0x224], 0
je 0x426f70
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00426dae
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x426fbc
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x426f29
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x426fa4
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x426fc9
push 0x426ffc
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042e210
add esp, 0x10
jmp 0x426f99
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bdb9
leave
ret
Function at 0x42790f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x427920
pop esi
ret
push ebx
push edi
push esi
call fcn.0042795d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004235a6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x427948
push ebx
push esi
push edi
call fcn.0040ea60
add esp, 0xc
push 0
call fcn.00420db4
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x427994
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042799f