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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, eax
push edi
mov edi, ecx
mov ecx, ebx
cmp ebx, dword [ebp + 8]
jae 0x10008f26
push 0x5a
xor edx, edx
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
je 0x10008f21
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x10008f05
jmp 0x10008f26
sub ecx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.10009396
xor esi, esi
pop ecx
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x10008f41
mov eax, 0x30de450
jmp 0x10008f73
cmp dword [ebp - 4], esi
jbe 0x10008f70
mov dword [ebp + 8], ebx
sub dword [ebp + 8], eax
add edi, ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add ecx, esi
add eax, ecx
xor edx, edx
push 0x5a
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [edi + esi]
inc esi
mov byte [ecx], al
cmp esi, dword [ebp - 4]
jb 0x10008f4e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10008f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
mov edi, eax
mov ecx, esi
cmp esi, dword [ebp + 8]
jae 0x10008fac
push 0x5a
xor edx, edx
mov eax, ecx
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
je 0x10008fa7
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x10008f8b
jmp 0x10008fac
sub ecx, esi
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
lea eax, [ebx + ebx + 2]
push eax
call fcn.10009396
pop ecx
mov dword [ebp + 8], eax
test eax, eax
jne 0x10008fc8
mov eax, 0x30de454
jmp 0x10008ff3
xor ecx, ecx
test ebx, ebx
je 0x10008ff3
add edi, esi
xor edx, edx
push 0x5a
lea eax, [ecx + esi]
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
movzx edx, al
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], dx
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x10008fd0
pop edi
pop ebx
leave
ret

Function at 0x100095a5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi]
inc eax
push eax
call fcn.10009396
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x100095d1
cmp dword [esi], ecx
jbe 0x100095d1
mov edx, ecx
and edx, 3
mov dl, byte [edx + esi + 0x108]
xor dl, byte [esi + ecx + 4]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esi]
jb 0x100095b9
ret
Function at 0x1000bdc9
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x1000be9f
push esi
push edi
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x1000be9d
xor esi, esi
xor edx, edx
mov eax, dword [ebp + 8]
mov al, byte [ebx + eax]
lea ecx, [ebp + edx - 4]
mov byte [ecx], al
cmp ebx, dword [ebp + 0xc]
jae 0x1000be08
inc esi
jmp 0x1000be0b
mov byte [ecx], 0
inc ebx
inc edx
cmp edx, 3
jl 0x1000bdf4
test esi, esi
je 0x1000be91
movzx ecx, byte [ebp - 4]
movzx edx, byte [ebp - 3]
mov eax, ecx
shr eax, 2
mov al, byte [eax + 0x30db298]
mov byte [ebp - 8], al
and ecx, 3
mov eax, edx
shr eax, 4
shl ecx, 4
or eax, ecx
mov al, byte [eax + 0x30db298]
mov byte [ebp - 7], al
cmp esi, 1
jle 0x1000be61
movzx eax, byte [ebp - 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or eax, edx
mov al, byte [eax + 0x30db298]
mov byte [ebp - 6], al
jmp 0x1000be65
mov byte [ebp - 6], 0x3d
cmp esi, 2
jle 0x1000be7c
movzx eax, byte [ebp - 2]
and eax, 0x3f
mov al, byte [eax + 0x30db298]
mov byte [ebp - 5], al
jmp 0x1000be80
mov byte [ebp - 5], 0x3d
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add dword [ebp - 0xc], 4
lea esi, [ebp - 8]
lea edi, [edi + eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
cmp ebx, dword [ebp + 0xc]
jb 0x1000bde2
pop edi
pop esi
pop ebx
cmp ecx, dword [ebp + 0x14]
jae 0x1000beac
mov eax, dword [ebp + 0x10]
mov byte [ecx + eax], 0
mov eax, ecx
leave
ret

Function at 0x1000d4c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x1000d4d5
xor eax, eax
pop ebp
ret
jbe 0x1000d504
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x30db258]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x30db258]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x1000d4d7
not eax
pop ebp
ret
Function at 0x1000e69d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x1000e6b7
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
lea esi, [eax + ecx]
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [esi + 0x20]
add eax, ecx
add edi, ecx
add ebx, ecx
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x1000e795
jmp 0x1000e6e2
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
add eax, ecx
push eax
mov dword [ebp - 8], eax
call dword [0x30d7088]
push eax
push dword [ebp - 8]
xor eax, eax
call fcn.1000d4c5
xor eax, 0x218fe95b
pop ecx
pop ecx
cmp eax, dword [ebp + 0xc]
je 0x1000e718
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x1000e6df
jmp 0x1000e795
mov eax, dword [ebp - 4]
movzx eax, word [ebx + eax*2]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
cmp eax, esi
jb 0x1000e797
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x7c]
add ecx, esi
cmp eax, ecx
jae 0x1000e797
lea esi, [ebp - 0x50]
xor ecx, ecx
mov ebx, eax
mov edi, eax
sub esi, eax
mov dl, byte [edi]
cmp dl, 0x2e
je 0x1000e758
test dl, dl
je 0x1000e758
inc ecx
mov byte [esi + edi], dl
inc edi
cmp ecx, 0x40
jb 0x1000e743
cmp byte [eax + ecx], 0
mov byte [ebp + ecx - 0x50], 0x2e
mov byte [ebp + ecx - 0x4f], 0x64
mov byte [ebp + ecx - 0x4e], 0x6c
mov byte [ebp + ecx - 0x4d], 0x6c
mov byte [ebp + ecx - 0x4c], 0
je 0x1000e77b
lea ebx, [eax + ecx + 1]
lea eax, [ebp - 0x50]
push eax
call dword [0x30d70f8]
test eax, eax
je 0x1000e795
push ebx
push eax
call dword [0x30d70c4]
test eax, eax
jne 0x1000e797
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000e79c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
sub esp, 0xc
test eax, eax
jne 0x1000e7b2
leave
ret
and dword [ebp - 4], 0
push ebx
add eax, edx
mov ebx, dword [eax + 0x24]
mov ecx, dword [eax + 0x1c]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edx
add esi, edx
add ebx, edx
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000e7e1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [esi + eax*4]
mov edi, dword [ebp + 0xc]
add eax, edx
push eax
call fcn.1000a9d8
pop ecx
test eax, eax
je 0x1000e804
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x1000e7de
jmp 0x1000e7d7
mov eax, dword [ebp - 4]
movzx eax, word [ebx + eax*2]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
jmp 0x1000e7d9
Function at 0x1000f120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x30db600
call dword [0x30d7088]
push 0xf
pop ecx
cmp eax, ecx
ja 0x1000f13a
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x1000f148
lea edx, [eax + 0x41]
inc eax
cmp eax, ecx
jb 0x1000f140
mov al, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], ecx
jle 0x1000f1da
push ebx
push edi
movzx eax, al
movzx edi, dl
inc eax
and eax, 0x800000ff
jns 0x1000f175
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 2], al
movzx eax, al
mov dl, byte [eax + esi]
movzx ebx, dl
add ebx, edi
and ebx, 0x800000ff
jns 0x1000f193
dec ebx
or ebx, 0xffffff00
inc ebx
add ecx, dword [ebp + 8]
movzx edi, bl
mov byte [ebp - 1], bl
mov bl, byte [edi + esi]
mov byte [eax + esi], bl
mov byte [edi + esi], dl
movzx ebx, byte [eax + esi]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x1000f1be
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edx, bl
mov dl, byte [edx + esi]
xor byte [ecx], dl
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp + 0xc]
jl 0x1000f166
mov dl, byte [ebp - 1]
mov al, byte [ebp - 2]
pop edi
pop ebx
mov byte [esi + 0x100], al
mov byte [esi + 0x101], dl
leave
ret

Function at 0x1000fa0d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x5c]
mov byte [ecx + eax + 0x1c], 0x80
inc dword [eax + 0x5c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x5c]
jle 0x1000fa57
jmp 0x1000fa2d
mov byte [ecx + eax + 0x1c], 0
inc dword [eax + 0x5c]
mov ecx, dword [eax + 0x5c]
cmp ecx, 0x40
jl 0x1000fa22
call fcn.1000f855
jmp 0x1000fa44
mov ecx, dword [eax + 0x5c]
mov byte [eax + ecx + 0x1c], 0
inc dword [eax + 0x5c]
cmp dword [eax + 0x5c], 0x38
jl 0x1000fa39
jmp 0x1000fa5c
mov byte [ecx + eax + 0x1c], 0
inc dword [eax + 0x5c]
mov ecx, dword [eax + 0x5c]
cmp ecx, 0x38
jl 0x1000fa4c
mov cl, byte [eax + 0x1b]
mov byte [eax + 0x54], cl
mov cl, byte [eax + 0x1a]
mov byte [eax + 0x55], cl
mov cl, byte [eax + 0x19]
mov byte [eax + 0x56], cl
mov cl, byte [eax + 0x18]
mov byte [eax + 0x57], cl
mov cl, byte [eax + 0x17]
mov byte [eax + 0x58], cl
mov cl, byte [eax + 0x16]
mov byte [eax + 0x59], cl
mov cl, byte [eax + 0x15]
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5b], cl
jmp fcn.1000f855
Function at 0x1000fa91
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push esi
push edi
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0xc3d2e1f0
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0xc], eax
mov esi, ecx
cmp eax, edi
je 0x1000fb34
dec dword [esp + 0xc]
cmp dword [esp + 0x74], edi
jne 0x1000fb45
mov ecx, dword [esp + 0x6c]
mov al, byte [esi]
mov byte [esp + ecx + 0x2c], al
inc dword [esp + 0x6c]
add dword [esp + 0x24], 8
jne 0x1000fb11
inc dword [esp + 0x28]
jne 0x1000fb11
mov dword [esp + 0x74], 1
cmp dword [esp + 0x6c], 0x40
jne 0x1000fb21
lea eax, [esp + 0x10]
call fcn.1000f855
inc esi
cmp dword [esp + 0xc], edi
jne 0x1000fae4
cmp dword [esp + 0x74], edi
jne 0x1000fb45
cmp dword [esp + 0x70], edi
jne 0x1000fb45
lea eax, [esp + 0x10]
call fcn.1000fa0d
mov dword [esp + 0x70], 1
lea ecx, [esp + 0x11]
lea esi, [esp + 0x10]
sub ecx, ebx
lea eax, [ebx + 2]
sub esi, ebx
mov dl, byte [ecx + eax]
mov byte [eax - 2], dl
mov dl, byte [esi + eax]
mov byte [eax - 1], dl
mov dl, byte [esp + edi*4 + 0x11]
mov byte [eax], dl
mov dl, byte [esp + edi*4 + 0x10]
mov byte [eax + 1], dl
inc edi
add eax, 4
cmp edi, 5
jb 0x1000fb54
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100151c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
push ebx
lea ebx, [edx + eax - 0x21524111]
push esi
mov eax, ebx
push edi
mov esi, ebx
mov dword [ebp - 4], eax
cmp edx, 0xc
jbe 0x100152bb
lea eax, [edx - 0xd]
push 0xc
xor edx, edx
pop edi
div edi
inc eax
mov dword [ebp - 8], eax
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 6]
movzx edi, byte [ecx + 4]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 5]
add edi, esi
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 0xa]
shl eax, 8
add edi, eax
movzx eax, byte [ecx + 0xb]
movzx esi, byte [ecx + 3]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 9]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 8]
add edx, ebx
movzx ebx, byte [ecx + 2]
shl esi, 8
add esi, ebx
movzx ebx, byte [ecx + 1]
shl esi, 8
add esi, ebx
movzx ebx, byte [ecx]
shl esi, 8
add esi, ebx
shl eax, 8
add eax, edx
sub esi, eax
add esi, dword [ebp - 4]
mov edx, eax
rol edx, 4
xor edx, esi
add eax, edi
sub edi, edx
mov esi, edx
rol esi, 6
xor esi, edi
add edx, eax
sub eax, esi
mov edi, esi
add esi, edx
rol edi, 8
xor edi, eax
sub edx, edi
mov eax, edi
rol eax, 0x10
xor eax, edx
add edi, esi
sub esi, eax
mov edx, eax
ror edx, 0xd
xor esi, edx
mov edx, dword [ebp + 8]
add eax, edi
mov ebx, esi
sub edi, esi
rol ebx, 4
sub edx, 0xc
xor ebx, edi
add esi, eax
add ecx, 0xc
dec dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
jne 0x100151f9
cmp edx, 0xc
ja 0x10015324
jmp dword [edx*4 + 0x30d4775]
xor ebx, esi
mov ecx, esi
rol ecx, 0xe
sub ebx, ecx
mov edx, ebx
rol edx, 0xb
mov ecx, ebx
xor ecx, eax
sub ecx, edx
xor esi, ecx
mov eax, ecx
ror eax, 7
sub esi, eax
xor ebx, esi
mov eax, esi
rol eax, 0x10
sub ebx, eax
mov eax, ebx
mov edi, eax
mov edx, eax
xor edx, ecx
rol edi, 4
sub edx, edi
mov ecx, edx
rol ecx, 0xe
xor esi, edx
sub esi, ecx
mov ecx, esi
ror ecx, 8
xor eax, esi
sub eax, ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10015948
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov dword [eax], ecx
mov dword [eax + 0x9c0], 1
push edi
mov edx, dword [eax + 0x9c0]
lea ecx, [eax + edx*4]
mov esi, dword [ecx - 4]
mov edi, esi
shr edi, 0x1e
xor edi, esi
imul edi, edi, 0x6c078965
add edi, edx
mov dword [ecx], edi
inc dword [eax + 0x9c0]
cmp dword [eax + 0x9c0], 0x270
jl 0x1001595f
pop edi
pop esi
pop ebp
ret
Function at 0x10015992
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x9c0], 0x270
jl 0x10015a44
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x7fffffff
mov eax, dword [ecx + esi*4 + 4]
lea edx, [ecx + esi*4]
xor eax, dword [edx]
and eax, edi
xor eax, dword [edx]
mov ebx, eax
shr eax, 1
and ebx, 1
xor eax, dword [ebx*4 + 0x30dd02c]
xor eax, dword [ecx + esi*4 + 0x634]
inc esi
mov dword [edx], eax
cmp esi, 0xe3
jl 0x100159b2
jmp 0x10015a06
mov eax, dword [ecx + esi*4 + 4]
lea edx, [ecx + esi*4]
xor eax, dword [edx]
and eax, edi
xor eax, dword [edx]
mov ebx, eax
shr eax, 1
and ebx, 1
xor eax, dword [ebx*4 + 0x30dd02c]
xor eax, dword [ecx + esi*4 - 0x38c]
inc esi
mov dword [edx], eax
cmp esi, 0x26f
jl 0x100159e1
mov eax, dword [ecx + 0x9bc]
xor eax, dword [ecx]
and eax, edi
xor eax, dword [ecx + 0x9bc]
pop edi
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x30dd02c]
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
and dword [ecx + 0x9c0], 0
pop esi
mov dword [ecx + 0x9bc], edx
pop ebx
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop ebp
ret
Function at 0x403304
Capabilities:
Query or enumerate registry value

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

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46904c], 0
je 0x4040f9
cmp word [0x469220], 0xd7b2
jne 0x4040c1
cmp dword [0x469228], 0
jbe 0x4040c1
mov eax, 0x46921c
call dword [0x469238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46706c
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 0x404120
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x467030], 0
jne 0x404115
push 0
push 0x467064
push 0x46706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e8c
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 0x405ef2
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.0040448c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405edc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ef9
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

Function at 0x40b1d0
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 0x40b209
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040430c
jmp 0x40b212
mov eax, ebx
mov edx, esi
call fcn.00404270
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b8d4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b73c
mov eax, dword [0x468940]
cmp byte [eax], 0
je 0x40b950
mov eax, dword [0x468764]
call fcn.00402d34
call fcn.00402bb4
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.004089c0
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 0x40b998
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b986
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x468718]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469668]
call fcn.004052dc
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 0x40c1f4
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 0x40c2ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.0040472c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c2b4
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c2ad
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.004046dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c297
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c2dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c297
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 0x40c2b4
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2d1
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40c830
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 0x40c894
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.0040448c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c89b
lea eax, [ebp - 0xc]
call fcn.0040421c
ret
Function at 0x41ab5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x469888
cmp dword [esi], 0
jne 0x41ac02
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x469884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4673ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41ab34
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041ab54
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041ab54
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41abc9
mov eax, dword [ebp - 8]
mov dword [0x469884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41c148
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 0x41c14e
ret

Function at 0x41e614
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 0x41e665
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e64c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e63c
jmp 0x41e665
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 0x41e64d
pop ebx
mov esp, ebp
pop ebp
ret