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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
cmp esi, eax
jle 0x42a182
push 0x2d
push 0x495cd4
push 0x6e
push 0x79
push 4
call fcn.00434708
add esp, 0x14
xor eax, eax
jmp 0x42a2c4
cmp ebx, 0x29
jge 0x42a1a3
push 0x33
push 0x495cec
push 0x78
push 0x79
push 4
call fcn.00434708
add esp, 0x14
xor eax, eax
jmp 0x42a2c4
push 0x37
push 0x495d04
lea edx, [ebx - 0x14]
push edx
call fcn.004103a0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42a1db
push 0x3a
push 0x495d1c
push 0x41
push 0x79
push 4
call fcn.00434708
add esp, 0x14
xor eax, eax
jmp 0x42a2c4
mov byte [edi], 0
lea edx, [edi + 1]
mov dword [ebp - 8], edx
add edi, 0x15
mov dword [ebp - 4], edi
push 0
call fcn.004365b8
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00436468
add esp, 0x18
mov edi, ebx
sub edi, esi
mov eax, edi
add eax, 0xffffffd7
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
call fcn.00405430
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + edi - 0x15], 1
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
add edx, ebx
sub edx, esi
add edx, 0xffffffec
push edx
call fcn.004053c0
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.00433530
add esp, 8
test eax, eax
jg 0x42a259
xor eax, eax
jmp 0x42a2c4
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042a564
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x42a282
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x42a27b
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.0042a564
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, edx
lea edx, [ebp - 0x20]
xor eax, eax
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x14
jl 0x42a2a9
mov eax, dword [ebp - 0xc]
push eax
call fcn.00410560
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a2cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
dec eax
cmp eax, 0x29
jl 0x42a442
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x42a303
mov dword [ebp - 0xc], 1
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 4], ecx
lea ebx, [eax - 0x14]
push 0x7a
push 0x495d34
push ebx
call fcn.004103a0
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x42a345
push 0x7d
push 0x495d4c
push 0x41
push 0x7a
push 4
call fcn.00434708
add esp, 0x14
or eax, 0xffffffff
jmp 0x42a468
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.0042a564
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x42a378
mov ecx, eax
mov edi, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
inc eax
mov cl, byte [edi + ecx]
xor byte [edx], cl
inc edx
cmp eax, 0x14
jl 0x42a364
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.0042a564
mov edx, esi
add esp, 0x10
mov dword [ebp - 0x10], edx
xor eax, eax
mov ecx, dword [ebp - 4]
cmp ebx, eax
mov edx, ecx
jle 0x42a3a8
mov cl, byte [edx]
mov edi, dword [ebp - 0x10]
xor byte [edi], cl
inc eax
inc dword [ebp - 0x10]
inc edx
cmp ebx, eax
jg 0x42a398
push 0
call fcn.004365b8
push eax
lea eax, [ebp - 0x38]
push 0
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00436468
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.00405688
add esp, 0xc
test eax, eax
jne 0x42a442
cmp dword [ebp - 0xc], 0
jne 0x42a442
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x42a3f6
cmp byte [edx], 0
jne 0x42a3f6
inc eax
inc edx
cmp ebx, eax
jg 0x42a3eb
cmp byte [esi + eax], 1
jne 0x42a442
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x42a442
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x42a427
push 0x9b
push 0x495d64
push 0x6d
push 0x7a
push 4
call fcn.00434708
add esp, 0x14
or ebx, 0xffffffff
jmp 0x42a437
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004053c0
add esp, 0xc
push esi
call fcn.00410560
pop ecx
mov eax, ebx
jmp 0x42a468
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.00434708
add esp, 0x14
test esi, esi
je 0x42a465
push esi
call fcn.00410560
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a604
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x42a61f
mov cl, byte [eax]
cmp cl, 0x6a
je 0x42a640
cmp cl, 0x6b
je 0x42a640
push 0x72
push 0x495dac
push 0x89
push 0x80
push 4
call fcn.00434708
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
mov cl, byte [eax]
inc eax
cmp cl, 0x6b
jne 0x42a6b1
lea esi, [edx - 3]
xor ecx, ecx
cmp esi, ecx
jle 0x42a687
mov dl, byte [eax]
inc eax
cmp dl, 0xba
je 0x42a687
cmp dl, 0xbb
je 0x42a682
push 0x81
push 0x495dc4
push 0x8a
push 0x80
push 4
call fcn.00434708
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
inc ecx
cmp esi, ecx
jg 0x42a651
sub esi, ecx
test ecx, ecx
jne 0x42a6b4
push 0x8a
push 0x495ddc
push 0x8a
push 0x80
push 4
call fcn.00434708
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
lea esi, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x42a6de
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00434708
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
push esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004053c0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x433e5d
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov ebx, 0x10
call sub.KERNEL32.DLL_GetVersion
cmp eax, 0x80000000
jae 0x433f8f
call fcn.0040fd0c
test eax, eax
je 0x433f8f
push 0
push 0
push 0
push str.DISPLAY
call sub.GDI32.DLL_CreateDCA
mov esi, eax
push esi
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [esp], eax
push 8
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x10], eax
push 0xa
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x14], eax
push ebx
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov edi, eax
push edi
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [esp + 4], eax
lea edx, [esp + 0x18]
push edx
push 0x18
push edi
call sub.GDI32.DLL_GetObjectA
mov ecx, dword [esp + 0x24]
imul ecx, dword [esp + 0x20]
movzx eax, word [esp + 0x28]
imul ecx, eax
mov dword [esp + 8], ecx
push 0x2d5
push str..crypto_rand_rand_win.c
mov edx, dword [esp + 0x10]
push edx
call fcn.004103a0
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x433f69
xor ebp, ebp
jmp 0x433f54
push 0xcc0020
push ebp
push 0
push esi
push ebx
mov eax, dword [esp + 0x24]
push eax
push 0
push 0
mov edx, dword [esp + 0x20]
push edx
call sub.GDI32.DLL_BitBlt
mov ecx, dword [esp + 0xc]
push ecx
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.GDI32.DLL_GetBitmapBits
push 0
call fcn.004365b8
push eax
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [esp + 0x18]
push ecx
mov eax, dword [esp + 0x20]
push eax
call fcn.00436468
add esp, 0x18
push 0
push 0
push 0x14
lea edx, [esp + 0x3c]
push edx
call fcn.00433508
add esp, 0x10
add ebp, ebx
mov ecx, dword [esp + 0x14]
sub ecx, ebx
cmp ebp, ecx
jl 0x433ef1
mov eax, dword [esp + 0xc]
push eax
call fcn.00410560
pop ecx
mov edx, dword [esp + 4]
push edx
mov ecx, dword [esp + 4]
push ecx
call sub.GDI32.DLL_SelectObject
mov edi, eax
push edi
call sub.GDI32.DLL_DeleteObject
mov eax, dword [esp]
push eax
call sub.GDI32.DLL_DeleteDC
push esi
call sub.GDI32.DLL_DeleteDC
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4371ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
je 0x437205
cmp dword [esi + 8], 0
jne 0x43720c
xor eax, eax
jmp 0x4372ff
mov edx, dword [esi + 4]
and edx, 0x100
mov dword [ebp - 8], edx
mov eax, dword [esi]
test eax, eax
jne 0x437227
mov dword [ebp - 4], 1
jmp 0x437284
mov dword [ebp - 4], eax
xor eax, eax
mov edx, dword [esi + 8]
cmp dword [ebp - 8], 0
mov al, byte [edx]
jne 0x437245
cmp eax, 0x7f
jle 0x437245
mov ebx, 1
xor ecx, ecx
jmp 0x437281
cmp dword [ebp - 8], 0
je 0x437281
cmp eax, 0x80
jle 0x43725b
mov ebx, 1
mov cl, 0xff
jmp 0x437281
cmp eax, 0x80
jne 0x437281
mov eax, 1
mov edx, dword [esi + 8]
inc edx
jmp 0x43727d
cmp byte [edx], 0
je 0x43727b
mov ebx, 1
mov cl, 0xff
jmp 0x437281
inc eax
inc edx
cmp eax, dword [esi]
jl 0x43726d
add dword [ebp - 4], ebx
cmp dword [ebp + 0xc], 0
jne 0x43728f
mov eax, dword [ebp - 4]
jmp 0x4372ff
mov edx, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [edx]
je 0x43729b
mov byte [edx], cl
inc edx
cmp dword [esi], 0
jne 0x4372a5
mov byte [edx], 0
jmp 0x4372f4
cmp dword [ebp - 8], 0
jne 0x4372bd
mov eax, dword [esi]
push eax
mov ecx, dword [esi + 8]
push ecx
push edx
call fcn.004053c0
add esp, 0xc
jmp 0x4372f4
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add ecx, eax
mov ebx, eax
dec ebx
dec ecx
add edx, ebx
jmp 0x4372d2
mov byte [edx], 0
dec edx
dec ecx
dec eax
cmp byte [ecx], 0
je 0x4372cc
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
inc ebx
mov byte [edx], bl
dec edx
test eax, eax
jle 0x4372f4
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
mov byte [edx], bl
dec edx
test eax, eax
jg 0x4372e6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add dword [eax], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x437308
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x43731e
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x43733c
push 2
call fcn.0043b638
pop ecx
mov esi, eax
test eax, eax
jne 0x437333
xor eax, eax
jmp 0x437486
mov dword [esi + 4], 2
jmp 0x437341
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], eax
push 0xc7
push 0x4a6360
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.004103a0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x437378
mov eax, 0x41
jmp 0x437452
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp - 8]
jne 0x43738d
mov dword [esi + 4], 2
jmp 0x437422
test byte [ebx], 0x80
je 0x4373fb
mov dword [esi + 4], 0x102
cmp byte [ebx], 0xff
jne 0x4373a8
cmp dword [ebp + 0x10], 1
je 0x4373a8
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ebx, ecx
add edx, ecx
jmp 0x4373ba
mov byte [edx], 0
dec edx
dec eax
dec ebx
cmp byte [ebx], 0
jne 0x4373c3
test eax, eax
jne 0x4373b4
test eax, eax
jne 0x4373dc
mov edx, dword [ebp - 8]
mov byte [edx], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], 0
inc dword [ebp + 0x10]
jmp 0x437422
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
inc ecx
mov byte [edx], cl
dec edx
test eax, eax
jle 0x437422
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
mov byte [edx], cl
dec edx
test eax, eax
jg 0x4373eb
jmp 0x437422
mov dword [esi + 4], 2
cmp byte [ebx], 0
jne 0x437411
cmp dword [ebp + 0x10], 1
je 0x437411
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.004053c0
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x437430
push eax
call fcn.00410560
pop ecx
mov edx, dword [ebp - 8]
mov dword [esi + 8], edx
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
cmp dword [ebp + 8], 0
je 0x437446
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, esi
jmp 0x437486
push 0x103
push 0x4a6376
push eax
push 0xc2
push 0xd
call fcn.00434708
add esp, 0x14
test esi, esi
je 0x437484
cmp dword [ebp + 8], 0
je 0x43747d
mov edx, dword [ebp + 8]
cmp esi, dword [edx]
je 0x437484
push esi
call fcn.0043b688
pop ecx
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43ebf8
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x43ec67
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, 0xffffffff
test esi, esi
jg 0x43ec2f
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43f3c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x114]
push ecx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x43f45f
mov dword [ebp - 0xc], 0xc8
push str.HIDVid_3689Pid_8762
call fcn.004055b0
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0x4a84a6
call fcn.00405830
add esp, 0xc
test eax, eax
jne 0x43f45f
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x43f45c
mov ecx, dword [ebp + 0x10]
mov esi, str.__
mov edi, ecx
lea edx, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004054d4
add esp, 8
mov eax, 1
jmp 0x43f46a
inc dword [ebp - 0x10]
inc esi
test ebx, ebx
je 0x43f3df
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402af0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040470c
test esi, esi
jne 0x402b26
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004047fc
jmp 0x402b44
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a04
mov edi, eax
test esi, esi
je 0x402b44
cmp dword [ebx], 0
je 0x402b44
dec esi
jmp 0x402b2d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40374c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e3020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037c4
xor eax, eax
push ebp
push 0x4037bd
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 0x403800
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 0x4037c4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4e3020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e3020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40450c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e604c], 0
je 0x40456d
cmp word [0x4e6220], 0xd7b2
jne 0x404535
cmp dword [0x4e6228], 0
jbe 0x404535
mov eax, 0x4e621c
call dword [0x4e6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e3070
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 0x404594
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e3030], 0
jne 0x404589
push 0
push 0x4e3068
push 0x4e3070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4046c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027c8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404688
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406a28
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 0x406a8e
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.0040497c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031a8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a78
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a95
lea eax, [ebp - 0x10]
call fcn.0040470c
ret

Function at 0x40cb7c
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 0x40cbb5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047fc
jmp 0x40cbbe
mov eax, ebx
mov edx, esi
call fcn.00404760
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cbc8
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 0x40cbe9
mov al, byte [esp]
jmp 0x40cbeb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d270
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d0e8
mov eax, dword [0x4e541c]
cmp byte [eax], 0
je 0x40d2ec
mov eax, dword [0x4e4fc0]
call fcn.00402f60
call fcn.00402930
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.00409bd4
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 0x40d334
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d322
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e4f1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e6668]
call fcn.00405f3c
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
Function at 0x40dbf4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dcca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047a4
lea eax, [ebp - 8]
call fcn.00404c1c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bcc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dcb4
mov eax, ebx
call fcn.004027c8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dcad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bcc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dc97
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dcdc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dc97
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcb4
mov eax, dword [ebp - 0x10]
call fcn.004027e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcd1
lea eax, [ebp - 8]
call fcn.0040470c
ret

Function at 0x40e250
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e2b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040497c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409638
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2bb
lea eax, [ebp - 0xc]
call fcn.0040470c
ret

Function at 0x426a40
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00426898
dec esi
jne 0x426a62
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x427ba4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e688c
cmp dword [edi], 0
jne 0x427c20
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e6888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e36d0
mov ecx, 2
call fcn.004029c4
mov edx, 0x427b7c
lea eax, [esi + 5]
call fcn.00427b9c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00427b9c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x427bf5
mov dword [0x4e6888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4291e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4291ea
ret

Function at 0x42b95c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42b9ad
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42b994
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42b984
jmp 0x42b9ad
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42b995
pop ebx
mov esp, ebp
pop ebp
ret