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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x14
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xaaa095
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xaaa080
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xaaa080
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xaaa0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 7
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0xaaa124
lea esi, [esp + 0xc]
sub esi, eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0xaaa110
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xaaa130
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xaaa170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xaaa1c5
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xaaa1b0
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xaaa1b0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaaa200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 9
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xaaa255
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xaaa240
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xaaa240
lea eax, [esp + 0xc]
push 0
push eax
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00aa9390
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push ecx
push edx
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xaaa290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x46
lea edi, [esp + 0x20]
push 0x27
rep stosd dword es:[edi], eax
call fcn.00aa9070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0xaaa2e4
lea esi, [esp + 0xc]
sub esi, eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0xaaa2d0
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xaaa2f0
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xaaa330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x26
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xaaa385
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xaaa370
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xaaa370
lea eax, [esp + 0xc]
push 0
push eax
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00aa9390
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push ecx
push edx
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaaa3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xf
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0xaaa414
lea esi, [esp + 0xc]
sub esi, eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0xaaa400
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xaaa420
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xaaa460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x21
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0xaaa4b4
lea esi, [esp + 0xc]
sub esi, eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0xaaa4a0
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xaaa4c0
sub eax, edx
mov byte [esp + eax + 0xb], bl
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xaaa500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x29
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0xc], cl
je 0xaaa555
lea esi, [esp + 0xc]
sub esi, eax
jmp 0xaaa540
mov cl, byte [eax + 1]
mov bl, byte [esi + eax]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, bl
test cl, cl
mov byte [esi + eax], dl
jne 0xaaa540
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + edi + 0x14], 0
call fcn.00aa9390
mov eax, dword [ebp + 8]
mov edx, ebx
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaaa590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x31
stosb byte es:[edi], al
call fcn.00aa9070
mov cl, byte [eax]
xor ebx, ebx
add esp, 4
xor edi, edi
cmp cl, bl
mov byte [esp + 0xc], cl
je 0xaaa5e4
lea esi, [esp + 0xc]
sub esi, eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
cmp cl, bl
mov byte [esi + eax], dl
jne 0xaaa5d0
lea eax, [esp + 0xc]
mov byte [esp + edi + 0xc], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xaaa5f0
sub eax, edx
mov byte [esp + eax + 0xb], bl
push ebx
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x28]
call fcn.00aa9390
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push ecx
push edx
call fcn.00aa9e60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaaa960
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x118
mov eax, dword [esp + 0x120]
push ebx
mov ebx, dword [eax]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push edi
push 0x16
call fcn.00aa9070
mov cl, byte [eax]
add esp, 4
xor edi, edi
test cl, cl
mov byte [esp + 0x10], cl
je 0xaaa9aa
lea esi, [esp + 0x10]
sub esi, eax
mov cl, byte [eax + 1]
inc edi
inc eax
mov dl, cl
dec dl
xor dl, byte [esi + eax - 1]
test cl, cl
mov byte [esi + eax], dl
jne 0xaaa996
mov byte [esp + edi + 0x10], 0
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0xaaa9c4
mov al, byte [esp + 0x24]
mov ebp, dword [ebx + 0x8c]
xor edi, edi
test al, al
lea esi, [esp + 0x24]
je 0xaaa9ff
xor eax, eax
mov al, byte [esi]
push eax
call ebp
test eax, eax
je 0xaaa9f2
add esi, 2
jmp 0xaaa9fa
cmp byte [esi], 0x5c
jne 0xaaa9f9
mov edi, esi
inc esi
cmp byte [esi], 0
jne 0xaaa9e2
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaaaa06
sub eax, edx
lea ecx, [esp + eax + 0x23]
cmp edi, ecx
je 0xaaaa2e
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaaaa20
sub eax, edx
mov byte [esp + eax + 0x24], 0x5c
mov eax, dword [esp + 0x138]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaaaa37
lea edi, [esp + 0x24]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xaaaa45
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x24]
mov ebp, dword [ebx + 0x8c]
xor edi, edi
test al, al
lea esi, [esp + 0x24]
je 0xaaaa8d
nop
xor edx, edx
mov dl, byte [esi]
push edx
call ebp
test eax, eax
je 0xaaaa80
add esi, 2
jmp 0xaaaa88
cmp byte [esi], 0x5c
jne 0xaaaa87
mov edi, esi
inc esi
cmp byte [esi], 0
jne 0xaaaa70
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaaaa94
sub eax, edx
lea eax, [esp + eax + 0x23]
cmp edi, eax
je 0xaaaabe
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaaaab0
sub eax, edx
mov byte [esp + eax + 0x24], 0x5c
lea eax, [esp + 0x10]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaaaac4
lea edi, [esp + 0x24]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xaaaad2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x10000000
push 2
push 0
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 0xc0000000
lea ecx, [esp + 0x3c]
push ecx
call dword [ebx + 0x10]
cmp eax, 0xffffffff
mov edx, dword [esp + 0x12c]
mov dword [edx + 0x2c], eax
jne 0xaaab38
lea eax, [esp + 0x24]
push eax
call dword [ebx + 0x78]
mov ecx, dword [esp + 0x134]
push eax
push ecx
call fcn.00aaa0d0
add esp, 0xc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x118
ret
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0x118
ret
Function at 0xaabbe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [ebp]
push esi
push edi
push 0x33
xor esi, esi
call fcn.00aa9070
mov dl, byte [eax]
mov byte [esp + 0x14], dl
mov dl, byte [eax]
add esp, 4
xor ecx, ecx
test dl, dl
je 0xaabc23
lea edi, [esp + 0x10]
sub edi, eax
mov edi, edi
mov dl, byte [eax + 1]
inc ecx
inc eax
dec dl
xor dl, byte [edi + eax - 1]
mov byte [edi + eax], dl
cmp byte [eax], 0
jne 0xaabc10
lea eax, [esp + 0x10]
push eax
push 0
push 0
mov byte [esp + ecx + 0x1c], 0
call dword [ebx + 0x50]
mov edi, eax
test edi, edi
jne 0xaabc52
call dword [ebx + 0x78]
push eax
push ebp
call fcn.00aaa590
add esp, 8
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x14
ret
push 0xffffffffffffffff
push edi
call dword [ebx + 0x74]
test eax, eax
je 0xaabc81
cmp eax, 0xffffffff
jne 0xaabcca
call dword [ebx + 0x78]
push eax
push ebp
call fcn.00aaa590
add esp, 8
push edi
call dword [ebx + 0x60]
push edi
call dword [ebx + 0x1c]
pop edi
mov ax, si
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov edx, dword [esp + 0x3c]
mov eax, ebp
call fcn.00aabad0
add esp, 0x14
mov esi, eax
cmp si, 1
jne 0xaabcca
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push ebp
push edx
call fcn.00aaab50
add esp, 0x10
mov esi, eax
push edi
call dword [ebx + 0x60]
push edi
call dword [ebx + 0x1c]
pop edi
mov ax, si
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2f1f0098
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x652d7f33
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402dcc
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.00404498
test esi, esi
jne 0x402e02
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.00404588
jmp 0x402e20
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402c80
mov edi, eax
test esi, esi
je 0x402e20
cmp dword [ebx], 0
je 0x402e20
dec esi
jmp 0x402e09
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030dc
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403534
Capabilities:
Query or enumerate registry value

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

Function at 0x404298
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47e04c], 0
je 0x4042f9
cmp word [0x47e220], 0xd7b2
jne 0x4042c1
cmp dword [0x47e228], 0
jbe 0x4042c1
mov eax, 0x47e21c
call dword [0x47e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47b070
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 0x404320
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47b034], 0
jne 0x404315
push 0
push 0x47b068
push 0x47b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40444c
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.004029dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47e04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404414
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405b54
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 0x405d84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405bd7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d84
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405bd7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405da0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c60
xor eax, eax
push ebp
push 0x405c59
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040599c
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 0x405c3e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405dc0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c3e
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 0x405c60
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 0x405d7a
cmp byte [ebp - 0xd], 0
jne 0x405ca7
cmp byte [ebp - 0x12], 0
je 0x405d7a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405cc0
dec ebx
cmp byte [ebx], 0x2e
je 0x405ccf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405cbf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d7a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d0c
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 0x405d7a
cmp byte [ebp - 0xd], 0
je 0x405d7a
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 0x405d7a
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 0x405c60
Capabilities:
Get geographical location

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 0x405d84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405bd7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d84
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405bd7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405da0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c60
xor eax, eax
push ebp
push 0x405c59
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040599c
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 0x405c3e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405dc0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c3e
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 0x405c60
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 0x405d7a
cmp byte [ebp - 0xd], 0
jne 0x405ca7
cmp byte [ebp - 0x12], 0
je 0x405d7a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405cc0
dec ebx
cmp byte [ebx], 0x2e
je 0x405ccf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405cbf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d7a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d0c
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 0x405d7a
cmp byte [ebp - 0xd], 0
je 0x405d7a
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 0x405d7a
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