joyce8/EMBER2024-capa huggingface dataset:
Function at 0x248232d
Capabilities:
Encode data using base64

Disassembly:
ror eax, 0x2a
not ecx
lea ecx, [ecx + eax*8 + 0x203098a5]
cwde
ror ecx, 2
dec dword [esp + edx + 4]
shl dx, 0x6a
xor ebx, ecx
inc byte [esp + edx*2 + 1]
neg dx
jae 0x2339470
jmp 0x23390c0
mov ebp, 0xd71b3c00
inc esp
movsx ebp, bp
inc edi
mov edx, dword [ecx + ebp*8 - 0x1e000]
btr ebp, ebp
inc ecx
movzx edx, ch
inc ebx
mov eax, dword [ebp + ecx - 0x3bfc]
push ebp
inc esi
movsx ebx, byte [esp + ebp*2 - 0x7800]
inc ebp
movzx esi, ch
dec edi
lea ecx, [ecx + ebp - 0x3bfc]
shr ebp, 0xab
dec eax
inc dword [esp + ebp - 0x1ae367]
inc esp
and edx, eax
inc ecx
not ebp
dec edx
lea ebx, [esi*2 - 0x51524257]
inc ecx
not edx
dec eax
shr edx, 0xfa
inc ebp
mov dword [ecx + ebp - 0x1ae367], edx
jne 0x13a79c6
dec eax
sar dword [esp + ebp*4 - 0x6b8d9c], 0x41
dec ebp
lea esp, [esp + ebp - 0x1ae36b]
inc dword [esp + edx*8 + 1]
dec esp
lea edi, [edx + ebp*2 - 0x19705762]
inc esi
mov ebp, dword [ebp - 0x1ae367]
dec esp
and esi, dword [esp + edx]
inc esp
movzx eax, dx
inc esp
xor ebp, edi
inc ecx
dec esi
inc ebp
lea ebp, [ebp + ebx*2 - 0x34931ff3]
or byte [esp + ebp*2 - 0x35c6c7], 0x39
inc esp
movzx edx, byte [esp + ebp*2 - 0x35c6cc]
inc cx
btr esi, 0x17
inc ecx
xor ebp, 0x2f98621e
dec ecx
sar ebx, 0xca
inc cx
sub ebx, edx
inc ecx
neg ebp
inc ecx
sar dl, 0xc1
inc dx
inc ecx
rol ebp, 1
inc esp
sub ebp, edx
dec ecx
rol eax, 0xf0
inc ecx
xor ch, dh
dec eax
adc dword [esp + ebp - 0x1ae318], 0x339a6728
dec eax
mov dword [esp + ebp*2 - 0x35c630], edi
inc ecx
movsx edi, dl
jg 0x12e289b
dec eax
neg ecx
pop ebp
pop ebp
jp fcn.0134864b
lea ebp, [ebp + edx*4 - 4]
shr word [esp + edx*8 + 5], 0xad
setns al
rol dword [esp + edx + 4], 0xc7
mov dword [edx + ebp], ecx
lea edi, [edi + edx - 4]
xor word [esp + edx + 5], 0xba6
cdq
push edx
mov ecx, dword [edi + edx]
sar eax, 1
xor ecx, ebx
mov word [esp + edx + 5], ax
add eax, 0xd23e2308
dec eax
inc ecx
btc edx, 0xf
lea eax, [eax*2 - 0x7aef57d8]
sbb ax, 0x7abb
rol ecx, 1
idiv dword [esp + edx - 0x7ff8]
sal edx, 0xaa
or al, 5
not ecx
xor dx, ax
inc ecx
push eax
cwd
not ecx
cwd
xchg dword [esp + edx - 0x1a50fffe], edx
lea ecx, [ecx + edx*2 + 0x1c171391]
ror word [esp + edx - 0xdfdf9], 0x2b
sub dword [esp + edx - 0xdfdf8], 0xca07bd92
xor ebx, ecx
div eax
add esi, ecx
cbw
pop edx
pop edx
pop ecx
pop edx
jmp fcn.0167909e
movzx eax, dl
ror ecx, 2
mov dword [esp + eax - 8], edx
push eax
mul eax
adc ecx, 0xe4181cb5
jmp 0x15570e0
Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.shell32.dll_ShellExecuteExW]
ret 4

Function at 0x405b23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x405b32
pop dword [ebp - 0x38]
mov eax, 0x185a5f59
sub eax, 0x181a0427
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xfaaf0bd3
add dword [ebp - 0x48], 0x53a33978
mov dword [ebp - 0x44], 0x44886bc2
add dword [ebp - 0x44], 0xedaae083
mov dword [ebp - 0x40], 0x569f6c9d
add dword [ebp - 0x40], 0xf5acd791
mov dword [ebp - 0x3c], 0x10452f3b
add dword [ebp - 0x3c], 0xefbad0c5
lea eax, [ebp - 0x48]
push eax
mov eax, 0x426cb7c7
sub eax, 0x422c374f
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x419e017f
add dword [ebp - 0x48], 0x32d467d7
mov dword [ebp - 0x44], 0x219ce21b
sub dword [ebp - 0x44], 0xe03080a6
mov dword [ebp - 0x40], 0x2931d159
sub dword [ebp - 0x40], 0xc5c264ed
mov dword [ebp - 0x3c], 0xaa2e1b11
add dword [ebp - 0x3c], 0x55d1e4ef
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x3d676c2
sub eax, 0x395f646
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x383ec
push 0
call eax
mov ecx, 0x4cf1
xor esi, esi
add esi, eax
mov edi, 0x367c3e6e
add edi, 0xc9c95392
add edi, dword [ebp - 0x38]
mov ebx, 0xc013b613
sub ebx, 0x918462b
add dword [ebp - 4], edx
mov edx, dword [edi]
add dword [ebp - 0x2c], 0x464c0327
xor edx, ebx
xor dword [ebp - 0x34], esi
mov dword [esi], edx
xor dword [ebp - 0x30], eax
add esi, 0xf6bb4c22
add esi, 0x944b3e2
add edi, 0x99acda91
add edi, 0x66532573
loop 0x405c50
add eax, 0x12697
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x25115891
sub ecx, 0x24d15891
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x405dee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406411
push esi
call fcn.00405d91
mov edi, eax
test edi, edi
jne 0x405e0f
xor eax, eax
jmp 0x405e67
push edi
call fcn.004066c0
test byte [0x434f1c], 0x80
je 0x405e2c
mov ax, word [edi]
test ax, ax
je 0x405e0b
cmp ax, 0x5c
je 0x405e0b
sub edi, esi
sar edi, 1
jmp 0x405e46
call fcn.0040676f
test eax, eax
je 0x405e40
test byte [eax], 0x10
je 0x405e0b
push esi
call fcn.00405d32
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e32
call fcn.00405ce6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405ee2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x10003e39
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10003e5a
jl 0x10003e51
test edi, edi
jne 0x10003e5a
xor eax, eax
xor edx, edx
jmp 0x10003f1b
cmp dword [ebx + 0x38], 0
je 0x10003e6f
push eax
push edi
push dword [ebp + 8]
call fcn.10003f21
jmp 0x10003f1b
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10003eb6
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x10003eb6
cmp eax, edi
jb 0x10003e90
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.10005c30
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x10003ebc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x10003f10
mov ecx, ebx
call fcn.100036d0
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x10003efb
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1000aac4
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x10003f10
jmp 0x10003ece
test edx, edx
je 0x10003f10
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1000aac4
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x1000bea2
Capabilities:
Parse pe header

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

Function at 0x100102db
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e4d8
push 0x1001e4d0
push str.FlsAlloc
push 0x1f
call fcn.100101a3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001030f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b130]
call esi
jmp 0x10010315
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10010359
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e4e8
push 0x1001e4e0
push str.FlsGetValue
push 0x21
call fcn.100101a3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010390
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10010398
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e4f0
push 0x1001e4e8
push str.FlsSetValue
push 0x22
call fcn.100101a3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100103d2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001b130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012774
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10005590
mov eax, dword [0x10025040]
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.1000dd06
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100127b6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10012912
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10019fe0
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 + 0x10026950]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10013771
mov ecx, dword [esi*4 + 0x10026950]
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 0x1001290b
cmp eax, dword [ecx + edi + 0x24]
jne 0x1001290b
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 0x1001290b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10013771
add esp, 0x14
test edx, edx
jl 0x1001290b
jg 0x10012881
test eax, eax
jb 0x1001290b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1001290b
jl 0x1001289b
cmp dword [ebp - 0x1008], eax
ja 0x1001290b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100128b9
test ebx, ebx
je 0x100128f2
cmp ecx, edi
jae 0x100128f2
mov al, byte [ecx]
cmp al, 0xd
jne 0x100128d3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100128df
cmp byte [ecx + 1], 0xa
jne 0x100128df
inc ecx
jmp 0x100128df
movzx eax, al
movsx eax, byte [eax + 0x10025300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100128b9
cmp edx, ebx
jne 0x100128b9
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10012910
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100046f4
leave
ret
Function at 0x10012c09
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 + 0x10026950]
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 0x10012c49
cmp byte [ebx], 0xa
jne 0x10012c49
or byte [edi + eax + 0x28], 4
jmp 0x10012c4e
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 0x10012d4d
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10012d30
inc eax
cmp dl, 0xd
je 0x10012c7a
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10012ca0
cmp eax, ecx
jae 0x10012cae
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 0x10012c62
jmp 0x10012d4d
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 0x10012d2b
cmp dword [ebp - 0x10], 0
je 0x10012d2b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10026950]
test byte [eax + edi + 0x28], 0x48
je 0x10012d05
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10012cf0
mov byte [esi], dl
jmp 0x10012d01
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10026950]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10012d4d
cmp byte [ebp - 1], 0xa
jne 0x10012d14
cmp esi, ebx
jne 0x10012d14
mov byte [esi], 0xa
jmp 0x10012d4c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1001378f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10012d4d
mov byte [esi], 0xd
jmp 0x10012d4c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10026950]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10012d4a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10012d4d
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10012d56
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 + 0x10026950]
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 0x10012d9c
cmp word [ebx], dx
jne 0x10012d9c
or byte [eax + edi + 0x28], 4
jmp 0x10012da1
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 0x10012f04
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 0x10012ee4
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10012de2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10012e18
cmp eax, edx
jae 0x10012e26
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 0x10012dbd
jmp 0x10012f04
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 0x10012edf
cmp dword [ebp - 0x18], 0
je 0x10012edf
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10026950]
test byte [eax + edi + 0x28], 0x48
je 0x10012eb5
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 0x10012e79
mov word [esi], cx
jmp 0x10012eb0
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10026950]
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 + 0x10026950]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10026950]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10012f04
pop eax
cmp word [ebp - 4], ax
jne 0x10012ec5
cmp esi, ebx
jne 0x10012ec5
mov word [esi], ax
jmp 0x10012f01
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1001378f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10012f04
push 0xd
pop eax
jmp 0x10012ec0
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10026950]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10012efe
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10012f04
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 0x10014f6f
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 0x1001500c
push ebx
push esi
call fcn.10014f38
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.10013d0d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10014fb9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001500b
push edi
push eax
call fcn.1000dac9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10014fd9
call fcn.1000da8f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001500a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10013d0d
add esp, 0x20
test eax, eax
jne 0x10014ff8
push edi
call fcn.1000da8f
jmp 0x10015000
push ebx
call fcn.1000da8f
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 0x1001750d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1000e1be
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 0x1001757c
cmp esi, dword [ebp - 4]
je 0x10017577
cmp dword [ebp + 0xc], 0
je 0x10017577
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10017554
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1001705f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1001757e
xor eax, eax
inc eax
jmp 0x1001757e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100175e3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10025040]
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.1000e1be
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.1000e1be
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 0x1001765a
cmp word [ecx], dx
je 0x1001765a
mov eax, dword [0x1001e954]
push edi
dec eax
push eax
push 0x1001e840
call fcn.10017582
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100176cd
cmp word [eax], dx
je 0x100176cd
mov eax, dword [edi]
test eax, eax
je 0x1001767e
cmp word [eax], dx
je 0x1001767e
lea eax, [ebp - 0x10]
push eax
call fcn.10016f65
jmp 0x10017687
lea eax, [ebp - 0x10]
push eax
call fcn.10017000
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100176f7
mov eax, dword [0x1001e83c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1001e530
call fcn.10017582
add esp, 0xc
test al, al
je 0x100176f7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100176c2
cmp word [eax], di
je 0x100176c2
lea eax, [ebp - 0x10]
push eax
call fcn.10016f65
pop ecx
jmp 0x100176f9
lea eax, [ebp - 0x10]
push eax
call fcn.10017000
jmp 0x100176bf
mov eax, dword [edi]
test eax, eax
je 0x100176e4
cmp word [eax], dx
je 0x100176e4
lea eax, [ebp - 0x10]
push eax
call fcn.10016f1a
pop ecx
jmp 0x100176f7
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 0x100177c2
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10017407
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100177c2
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100177c2
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100177c2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001774f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100104d8
test ebx, ebx
je 0x100177bd
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100104d8
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100177c2
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 0x100177c2
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10018bd2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100177c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100046f4
leave
ret
Function at 0x10019fa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10019fcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10019fcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x447c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
jmp 0x447caa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x447cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x447ca0
mov eax, 1
add ebx, ebx
jne 0x447cc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x447cb8
jne 0x447cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x447cb8
xor ecx, ecx
sub eax, 3
jb 0x447ce8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x447d5a
mov ebp, eax
add ebx, ebx
jne 0x447cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x447d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x447d24
inc ecx
add ebx, ebx
jne 0x447d10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x447d05
jne 0x447d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x447d05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x447d44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x447d35
jmp 0x447ca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x447d44
add edi, ecx
jmp 0x447ca6
pop esi
mov edi, esi
mov ecx, 0xcfd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x447d62
cmp byte [edi], 5
jne 0x447d62
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 0x447d67
lea edi, [esi + 0x43000]
mov eax, dword [edi]
or eax, eax
je 0x447ddf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x47c6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x47d30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x447d94
mov ecx, edi
jns 0x447dc3
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 + 0x47d38]
or eax, eax
je 0x447dd9
mov dword [ebx], eax
add ebx, 4
jmp 0x447db1
call dword [esi + 0x47d34]
mov ebp, dword [esi + 0x47d3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x447e13
sub esp, 0xffffff80
jmp 0x4158fc