joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd4e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x55406c]
xor eax, esp
mov dword [esp + 0x414], eax
push edi
mov edi, dword [esp + 0x424]
lea eax, [esp + 8]
push 0x410
push 0
push eax
call fcn.004da870
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x424]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4fd552
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4fd56a
mov eax, dword [esp + 4]
test eax, eax
je 0x4fd552
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop edi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004c23b5
add esp, 0x418
ret
lea edx, [esp + 8]
push esi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4fd572
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00406aa0
mov eax, dword [esp + 8]
pop esi
test eax, eax
je 0x4fd59e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x418]
mov al, 1
pop edi
xor ecx, esp
call fcn.004c23b5
add esp, 0x418
ret

Function at 0x4fda10
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x55406c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x554970], 0
jne 0x4fda92
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004da870
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fda73
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x554960
call fcn.00406aa0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004c23b5
add esp, 0x214
ret
Function at 0x4fdb40
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x519808
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x55406c]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x55880c]
test eax, eax
jle 0x4fdb91
inc eax
mov dword [0x55880c], eax
mov al, 1
jmp 0x4fdc83
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
xor bh, bh
mov dword [ebp - 0x14], 0
call fcn.00421710
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.004225c0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00421790
test bl, bl
je 0x4fdc73
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4fdc73
push str.ImpersonateLoggedOnUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x4fdc6c
inc dword [0x55880c]
mov eax, dword [edi]
test eax, eax
je 0x4fdc16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov bh, 1
mov dword [edi], eax
cmp dword [0x554988], 0
mov dword [ebp - 0x10], 0
jne 0x4fdc6c
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.004da870
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x554978
mov word [ebp + 0x206], ax
lea eax, [ebp]
push eax
call fcn.00406740
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4fdc81
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004c23b5
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x402f70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sbb eax, 0x54
rcl edx, 0x9b
ror eax, 0x3b
rcr edx, 0xf3
ror edi, 0x3b
imul esi
rol edx, 0xa2
or edx, 0xfa
rol eax, 0xc1
bswap esi
imul ebx
not esi
sbb ebx, 0xc1
not edi
rcr edi, 0xe
sbb eax, 0xe
dec eax
neg edi
or esi, 0x8b
dec ebx
not ebx
mov edi, 0x61
add esi, 0x8f
rol edi, 0xee
rcl esi, 0xe0
dec eax
bswap esi
mov ebx, 0x91
rcr edi, 0x4a
sbb eax, 0xb3
dec edi
inc esi
not esi
imul eax
bswap edx
neg edi
inc edi
rcl edi, 0x57
ror edi, 0xb1
rcl esi, 0xd5
dec ebx
mov eax, 0xe2
neg esi
rcr eax, 0xb2
inc edi
bswap esi
imul ebx
sbb edi, 0xf9
mov ebx, 0x38
or ebx, 0xa3
xor ecx, ecx
xor edi, edi
bswap edx
dec ebx
bswap esi
inc edx
inc eax
not edx
imul ebx
rcl esi, 0x12
inc esi
inc edi
sbb edx, 0x20
and eax, 0x54
ror ebx, 0xbf
sub eax, 0xb1
inc esi
sbb ebx, 0xbf
or ebx, 0x5b
dec esi
imul edx
neg esi
inc edi
imul edx
dec ebx
add esi, 8
add edx, 0x11
ror eax, 2
neg edx
sub ebx, 0x78
dec eax
bswap edi
rcl esi, 0x89
dec eax
inc edi
dec esi
imul edx
add eax, 0x1d
add edx, 0x11
sbb ebx, 0x88
bswap eax
neg eax
imul eax
inc eax
and edi, 0xc0
ror edx, 0x94
or ebx, 0x44
and esi, 0xe4
and edi, 0xcb
rol eax, 0xcf
dec eax
and edx, 0xc0
mov ecx, dword [ebp + 0xc]
dec ebx
sbb eax, 0x36
imul esi
not edi
ror edi, 0x92
rcr eax, 0xa2
add edx, 0xf4
ror eax, 0x18
imul esi
rol edi, 0xb2
rol edi, 0x95
inc edx
rcl edi, 0x61
neg eax
dec esi
imul esi
neg edx
neg edx
inc esi
or edi, 0x25
bswap ebx
neg edi
sub esi, 0xec
rcr edi, 0xd2
rcr ebx, 0x14
dec esi
rcl edx, 0x88
rcr ebx, 8
add eax, 0x6a
not edi
neg edi
rol edi, 0x31
neg edi
not edx
mov esi, 0xcd
neg edi
bswap ebx
imul ebx
add edi, 0xd8
ror edi, 6
imul esi
bswap eax
inc edx
sbb edx, 0xcd
sbb edx, 0xf
bswap edx
add edx, 0xde
and eax, 0x35
rcr ebx, 0x14
and edi, 0x2e
mov edi, dword [ebp + 8]
mov esi, ebx
mov ebx, eax
mov esi, eax
xor esi, esi
xor esi, esi
xor ebx, eax
mov ebx, esi
xor eax, eax
mov eax, esi
xor esi, ebx
mov ebx, ebx
xor esi, ebx
not byte [edi]
mov ebx, eax
xor esi, eax
xor ebx, eax
xor eax, esi
mov esi, ebx
xor esi, esi
xor eax, ebx
xor ebx, ebx
mov esi, eax
sub byte [edi], 0x36
xor eax, eax
xor esi, ebx
xor ebx, eax
mov ebx, eax
mov eax, eax
mov esi, ebx
xor esi, esi
xor eax, esi
xor esi, eax
add byte [edi], 0x87
xor esi, ebx
xor eax, esi
mov esi, ebx
xor ebx, ebx
xor ebx, ebx
xor ebx, ebx
xor esi, ebx
mov eax, ebx
xor esi, ebx
imul byte [edi]
inc edi
loop 0x403126
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ed17
Capabilities:
Parse pe header

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

Function at 0x4103bb
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 0x4103dc
jl 0x4103d3
test edi, edi
jne 0x4103dc
xor eax, eax
xor edx, edx
jmp 0x41049d
cmp dword [ebx + 0x38], 0
je 0x4103f1
push eax
push edi
push dword [ebp + 8]
call fcn.004104a3
jmp 0x41049d
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x410438
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x410438
cmp eax, edi
jb 0x410412
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00411410
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 0x41043e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x410492
mov ecx, ebx
call fcn.0040fbcf
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x41047d
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041a4a1
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 0x410492
jmp 0x410450
test edx, edx
je 0x410492
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041a4a1
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 0x41d8af
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432bd0
push 0x432bc8
push str.FlsAlloc
push 0x1e
call fcn.0041d71c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d8e3
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
jmp 0x41d8e9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d92d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432be0
push 0x432bd8
push str.FlsGetValue
push 0x20
call fcn.0041d71c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d964
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x420a8c
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 0x420b29
push ebx
push esi
call fcn.00420a55
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.0042099e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x420ad6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420b28
push edi
push eax
call fcn.0041e74c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x420af6
call fcn.0041dc05
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420b27
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042099e
add esp, 0x20
test eax, eax
jne 0x420b15
push edi
call fcn.0041dc05
jmp 0x420b1d
push ebx
call fcn.0041dc05
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 0x425023
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424e94

Function at 0x42541d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cb10
mov eax, dword [0x49aed8]
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.0041f581
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42545f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4255bb
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c940
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 + 0x49c638]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00426414
mov ecx, dword [esi*4 + 0x49c638]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4255b4
cmp eax, dword [edi + ecx + 0x24]
jne 0x4255b4
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4255b4
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00426414
add esp, 0x14
test edx, edx
jl 0x4255b4
jg 0x42552a
test eax, eax
jb 0x4255b4
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4255b4
jl 0x425544
cmp dword [ebp - 0x1008], eax
ja 0x4255b4
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x425562
test ebx, ebx
je 0x42559b
cmp ecx, edi
jae 0x42559b
mov al, byte [ecx]
cmp al, 0xd
jne 0x42557c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x425588
cmp byte [ecx + 1], 0xa
jne 0x425588
inc ecx
jmp 0x425588
movzx eax, al
movsx eax, byte [eax + 0x49b678]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x425562
cmp edx, ebx
jne 0x425562
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4255b9
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f156
leave
ret
Function at 0x4258b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x49c638]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4258f2
cmp byte [ebx], 0xa
jne 0x4258f2
or byte [eax + edi + 0x28], 4
jmp 0x4258f7
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4259f5
mov al, byte [edx]
cmp al, 0x1a
je 0x4259d7
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x425926
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x42594b
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x425955
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x425908
jmp 0x4259f5
push 0
lea eax, [ebp - 0xc]
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 0x4259d2
cmp dword [ebp - 0xc], 0
je 0x4259d2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x49c638]
test byte [eax + edi + 0x28], 0x48
je 0x4259ac
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425997
mov byte [esi], dl
jmp 0x4259a8
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x49c638]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4259f5
cmp byte [ebp - 1], 0xa
jne 0x4259bb
cmp esi, ebx
jne 0x4259bb
mov byte [esi], 0xa
jmp 0x4259f4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00426432
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4259f5
mov byte [esi], 0xd
jmp 0x4259f4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x49c638]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4259f1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4259f5
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4259fe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x49c638]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425a41
cmp word [esi], dx
jne 0x425a41
or byte [edi + eax + 0x28], 4
jmp 0x425a46
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425b99
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425b79
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425a88
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425abe
cmp eax, edx
jae 0x425aca
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x425a60
jmp 0x425b99
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425b75
cmp dword [ebp - 0x14], 0
je 0x425b75
mov eax, dword [ebx*4 + 0x49c638]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425b4d
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425b16
mov word [esi], cx
jmp 0x425b49
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x49c638]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x49c638]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x49c638]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425b99
pop ebx
cmp word [ebp - 4], bx
jne 0x425b5e
cmp esi, dword [ebp + 0xc]
jne 0x425b5e
mov word [esi], bx
jmp 0x425b96
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00426432
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425b99
push 0xd
jmp 0x425b92
mov ecx, dword [ebx*4 + 0x49c638]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425b90
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425b99
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42c860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c88d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x421c70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00417fea
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x421ca8
xor eax, eax
jmp 0x421cd4
cmp esi, dword [ebp - 4]
je 0x421cd1
cmp dword [ebp + 0xc], 0
je 0x421cd1
push dword [edi + 0x9c]
call fcn.0042187e
push dword [edi + 0x9c]
mov esi, eax
call fcn.004126f6
pop ecx
pop ecx
cmp esi, eax
je 0x421ca4
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219
Function at 0x10030280
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1003044d
pushal
mov esi, section..data
lea edi, [esi - 0x1d000]
push edi
or ebp, 0xffffffff
jmp 0x100302aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100302b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100302a0
mov eax, 1
add ebx, ebx
jne 0x100302c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100302b8
jne 0x100302d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100302b8
xor ecx, ecx
sub eax, 3
jb 0x100302e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1003035a
mov ebp, eax
add ebx, ebx
jne 0x100302f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10030300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10030324
inc ecx
add ebx, ebx
jne 0x10030310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10030305
jne 0x10030321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10030305
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10030344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10030335
jmp 0x100302a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10030344
add edi, ecx
jmp 0x100302a6
pop esi
mov edi, esi
mov ecx, 0x43f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10030362
cmp byte [edi], 0xa
jne 0x10030362
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 0x10030367
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x100303df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3046c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x304ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10030394
mov ecx, edi
jns 0x100303c3
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 + 0x304f0]
or eax, eax
je 0x100303d9
mov dword [ebx], eax
add ebx, 4
jmp 0x100303b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10030410
cmp al, 0xef
ja 0x10030403
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100303e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100303f2
mov ebp, dword [esi + 0x304f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x10030444
sub esp, 0xffffff80
jmp 0x10002b3f
Function at 0x402170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x7c], edx
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x80]
mov dword [esi + 0x84], 0x408240
mov edi, dword fs:[0]
mov dword [esi + 0x80], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 0xc
mov dword [esi + 0xc], edx
add eax, 0x30
mov dword [esi + 0x10], eax
mov dword [esi + 0x78], ecx
mov byte [esi + 0x77], 1
mov byte [esi + 0x76], 1
mov dword [esi + 0x88], 1
mov eax, esp
mov dword [eax], 0x418d91
lea ecx, [esi + 0x5c]
call fcn.00408320
sub esp, 4
jmp 0x4021f5
mov byte [esi + 0x5b], 0
mov dword [esi + 0x88], 2
mov eax, esp
mov dword [eax], str.yuwpuvzoshrocikhjkrwbxlbm
lea ecx, [esi + 0x40]
call fcn.00408320
sub esp, 4
jmp 0x40221b
mov dword [esi + 0x3c], 0x9a4
mov dword [esi + 0x34], 0x40d064c0
mov dword [esi + 0x30], 0
mov dword [esi + 0x88], 3
mov eax, esp
mov dword [eax], str.uixfkz
lea ecx, [esi + 0x18]
call fcn.00408320
sub esp, 4
jmp 0x402252
mov dword [esi + 0x14], 0x260
lea ecx, [esi + 0x18]
call fcn.004083e0
lea ecx, [esi + 0x40]
call fcn.004083e0
lea ecx, [esi + 0x5c]
call fcn.004083e0
mov ecx, dword [esi + 0xc]
call fcn.004083e0
mov ecx, dword [esi + 0x10]
call fcn.004083e0
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
fld dword [0x418194]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x5c