joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4130b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov ebx, 4
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ebx
jmp 0x4130d0
movzx eax, byte [edi + ebx + 0x304a0]
mov esi, 1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov edx, eax
shr ecx, 1
and edx, 1
mov dword [ebp + 8], 0
dec ecx
or edx, 2
shl edx, cl
mov eax, ebx
sub eax, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x41314d
mov ebx, eax
lea esp, [esp]
mov edx, ebx
mov ecx, esi
sub ecx, dword [ebp - 0x14]
and edx, 1
add ecx, dword [ebp - 0x10]
mov eax, edx
neg eax
shr ebx, 1
and eax, 0x7f0
add esi, esi
or esi, edx
xor eax, dword [edi + ecx*4 + 0x32e6c]
mov ecx, dword [ebp + 8]
shr eax, 4
add ecx, dword [edi + eax*4 + 0x30ca0]
dec dword [ebp - 4]
mov dword [ebp + 8], ecx
jne 0x413110
mov ebx, dword [ebp - 8]
jmp 0x41314f
xor ecx, ecx
mov dword [ebp + ebx*4 - 0x214], ecx
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, 0x80
jb 0x4130d0
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 4
sub eax, edi
lea edx, [edi + 0x31b58]
sub eax, 0x31b50
mov dword [ebp + 8], edx
lea esi, [edi + 0x31750]
mov dword [ebp - 8], eax
lea esp, [esp]
xor ebx, ebx
cmp dword [edi + 0x32394], ebx
jbe 0x4131e5
lea ebx, [ebx]
mov eax, ebx
xor edx, edx
or eax, 0x40
cmp eax, 1
je 0x4131d6
lea esp, [esp]
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0x7f0
xor eax, dword [esi + ecx*4 + 0x1320]
shr eax, 4
add edx, dword [edi + eax*4 + 0x30ca0]
mov eax, ecx
cmp eax, 1
jne 0x4131b0
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, dword [edi + 0x32394]
jb 0x4131a0
mov edx, dword [ebp + 8]
mov ecx, 0xe
cmp dword [edi + 0x32394], ecx
jbe 0x413208
mov eax, ecx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32394]
jb 0x4131f2
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 8]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
lea esp, [esp]
movzx eax, byte [edi + ecx + 0x304a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [ebx + edx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x413230
mov edx, dword [ebp + 8]
sub ebx, 0x200
add edx, 0x200
mov dword [ebp - 8], ebx
add esi, 0x100
mov dword [ebp + 8], edx
dec dword [ebp - 4]
jne 0x413190
mov dword [edi + 0x3c960], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebx]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [edi + eax*4]
mov edx, dword [edi + ecx*4]
mov ecx, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [edi + ecx*4]
mov ecx, dword [ebp - 4]
add eax, edx
xor esi, esi
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], esi
cmp esi, dword [ebp + 0x10]
jae 0x414c4a
mov edx, esi
xor eax, eax
or edx, 8
cmp edx, 1
je 0x414b6a
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, edx
and edx, 1
shr ecx, 1
neg edx
and edx, 0x7f0
lea eax, [ecx + eax*8]
xor edx, dword [ebx + eax*4 + 8]
shr edx, 4
add esi, dword [edi + edx*4]
mov edx, ecx
cmp edx, 1
jne 0x414b38
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add eax, ecx
mov dword [edx + esi*4], eax
inc esi
mov dword [ebp + 8], esi
cmp esi, 8
jb 0x414b21
cmp esi, 0x10
jae 0x414beb
lea ecx, [esi - 8]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp + 0x10]
jae 0x414c4a
mov edx, ecx
xor eax, eax
or edx, 8
cmp edx, 1
je 0x414bd5
mov esi, eax
lea ecx, [ecx]
mov eax, dword [ebp + 0xc]
mov ecx, edx
and edx, 1
shr ecx, 1
neg edx
and edx, 0x7f0
lea eax, [ecx + eax*8]
xor edx, dword [ebx + eax*4 + 0x208]
shr edx, 4
add esi, dword [edi + edx*4]
mov edx, ecx
cmp edx, 1
jne 0x414ba0
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
inc ecx
add eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [edx + esi*4], eax
inc esi
mov dword [ebp + 8], esi
cmp esi, 0x10
jb 0x414b86
cmp esi, dword [ebp + 0x10]
jae 0x414c4a
mov ecx, dword [ebp + 0x14]
lea eax, [esi - 0x10]
mov dword [ebp + 8], eax
lea esp, [esp]
or eax, 0x100
xor edx, edx
cmp eax, 1
je 0x414c35
lea esp, [esp]
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0x7f0
xor eax, dword [ebx + ecx*4 + 0x408]
shr eax, 4
add edx, dword [edi + eax*4]
mov eax, ecx
cmp eax, 1
jne 0x414c10
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp esi, dword [ebp + 0x10]
jb 0x414c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
or ecx, 0x100
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov edx, ecx
shr esi, 7
add ecx, ecx
and esi, 1
shr edx, 8
neg esi
and esi, 0x7f0
xor esi, dword [ebx + edx*4]
shr esi, 4
add eax, dword [edi + esi*4]
cmp ecx, 0x10000
jb 0x414df7
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x414e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov eax, esi
and eax, edi
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 8]
add eax, esi
mov edx, ecx
shr edx, 8
add edx, eax
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
neg eax
and eax, 0x7f0
xor eax, dword [edi + edx*4]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
shr eax, 4
add ebx, dword [edx + eax*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x414e45
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x419820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x30], 0
lea esi, [eax + 0x70]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], 0
lea ecx, [ecx]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
dec ecx
shr eax, 1
not ecx
inc edx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x419860
pop esi
pop ebp
ret
Function at 0x41c160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x41c176
jmp dword [edi*4 + 0x41c304]
mov ecx, esi
and ecx, 3
sub edi, ecx
dec ecx
je 0x41c1b3
dec ecx
je 0x41c1a0
dec ecx
jne 0x41c1c6
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x41c247
nop
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x43cb40]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
dec edx
jne 0x41c1d0
and edi, 7
jmp 0x41c171
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x43cb40]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43cb40]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x434eef
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4509c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042e12d
mov dword [ebp - 0x14], eax
cmp dword [0x4319ebc], esi
jne 0x434fe2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x434f6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4350c2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4350c2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4350c2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4319ebc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4319ec0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4319ec4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4319ecc], eax
test eax, eax
je 0x434fdf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4319ec8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x435007
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x434ffa
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43501c
push 4
pop eax
jmp 0x4350c4
cmp dword [ebp - 0x14], esi
je 0x43501c
push dword [0x4319ebc]
call dword [0x44b004]
push 3
jmp 0x435001
mov eax, dword [0x4319ec8]
mov ebx, dword [0x44b004]
cmp eax, edi
je 0x43507a
cmp dword [0x4319ecc], edi
je 0x43507a
push eax
call ebx
push dword [0x4319ecc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43507a
test eax, eax
je 0x43507a
call ecx
test eax, eax
je 0x43506f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43506f
test byte [ebp - 8], 1
jne 0x43507a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4350aa
mov eax, dword [0x4319ec0]
cmp eax, edi
je 0x4350a7
push eax
call ebx
test eax, eax
je 0x4350a7
call eax
mov esi, eax
test esi, esi
je 0x4350a7
mov eax, dword [0x4319ec4]
cmp eax, edi
je 0x4350a7
push eax
call ebx
test eax, eax
je 0x4350a7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4319ebc]
call ebx
test eax, eax
je 0x4350c2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4350c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042711a
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x27f764c7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x728d514d
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x438c7f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
pop esi
or ecx, eax
dec ecx
call fcn.00438cb4
sub eax, 0x24244c3d
xor dword [ebx], esi
add ecx, ecx
inc ebx
and ecx, eax
cmp ebx, edx
jne fcn.00438c7f
sub ecx, ecx
ret
Function at 0x402b70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x458008], 0x8088405
inc edx
mov dword [ebx + 0x458008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402fc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x458024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403060
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403040
xor eax, eax
push ebp
push 0x403039
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40307c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403040
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x458024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x458024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d24
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x403d85
cmp word [0x45a21c], 0xd7b2
jne 0x403d4d
cmp dword [0x45a224], 0
jbe 0x403d4d
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x458070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403dac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458034], 0
jne 0x403da1
push 0
push 0x458068
push 0x458070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405130
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405360
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405360
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40537c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40523c
xor eax, eax
push ebp
push 0x405235
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404f78
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40521a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40539c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40521a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40523c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405356
cmp byte [ebp - 0xd], 0
jne 0x405283
cmp byte [ebp - 0x12], 0
je 0x405356
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40529c
dec ebx
cmp byte [ebx], 0x2e
je 0x4052ab
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40529b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405356
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4052e8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405356
cmp byte [ebp - 0xd], 0
je 0x405356
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405356
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405a28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405a8e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404110
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a78
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a95
lea eax, [ebp - 0x10]
call fcn.00403ea0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404360
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4082c9
test al, 0x10
jne 0x4082cd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ad4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ad85
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f90
jmp 0x40ad8e
mov eax, ebx
mov edx, esi
call fcn.00403ef4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ad98
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40adb9
mov al, byte [esp]
jmp 0x40adbb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b440
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b2b8
mov eax, dword [0x459118]
cmp byte [eax], 0
je 0x40b4bc
mov eax, dword [0x458f30]
call fcn.004029dc
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408484
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b504
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b4f2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458edc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00404f3c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret