joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441ba0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp + 4], 0x111e1f4c
mov dword [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
xor esi, 0xfb
lea ecx, [eax + eax]
mov edx, ecx
and edx, 8
sub edx, esi
xor dl, byte [esp + eax + 4]
add dl, 0xe7
mov byte [esp + eax + 4], dl
and ecx, 2
mov edx, ecx
and edx, eax
xor ecx, eax
xor ecx, 1
lea eax, [ecx + edx*2]
cmp eax, 8
jb case.default.0x441c02
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [esp + 0x24], 0
sete cl
jmp dword [ecx*4 + 0x44c954]
jmp dword [0x44c974]
mov edx, dword [eax + 0xc]
add edx, 0xc
mov dword [esp], 0
mov esi, dword [edx]
xor ecx, ecx
cmp esi, edx
setne cl
mov dword [esp + 0xc], edx
jmp dword [ecx*4 + 0x44c97c]
mov eax, dword [eax + 8]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
sbb al, 0x44
add bh, ah
sbb al, 0x44
add byte [ecx], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add bh, ah
sbb al, 0x44
add byte [ecx], al
add byte [eax], al
add byte [eax], dl
sbb al, 0x44
add byte [eax], dl
sbb al, 0x44
add byte [esi], dl
sbb al, 0x44
add byte [eax], dl
sbb al, 0x44
add cl, dl
sbb al, 0x44
add byte [edi + 0x1c], dl
inc esp
add byte [eax + 0x1c], al
inc esp
add byte [ebp + 0x1c], ch
inc esp
add byte [eax + 0x1c], al
inc esp
add dl, al
sbb al, 0x44
add cl, dl
sbb al, 0x44
add byte [edi + 0x1c], al
inc esp
add al, ah
sbb al, 0x44
add al, ah
sbb al, 0x44
add al, ah
sbb al, 0x44
add dl, ah
sbb al, 0x44
add byte [edx + 0x7700441d], al
sbb eax, 0x1d800044
inc esp
add byte [eax - 0x7dffbbe3], al
sbb eax, 0x1d800044
inc esp
add byte [ebx], dh
push ds
inc esp
add ch, dl
sbb eax, 0x1e130044
inc esp
add byte [ecx], ah
push ds
inc esp
add ch, al
sbb eax, 0x1e330044
inc esp
add bl, dl
sbb eax, 0x1e470044
inc esp
add byte [ecx], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add bl, dl
sbb eax, 0x1e980044
inc esp
add byte [eax + 0x700441e], dh
pop ds
inc esp
add ah, ch
push ds
inc esp
add al, dl
push ds
inc esp
add bl, bh
push ds
inc esp
add byte [edi], al
pop ds
inc esp
add ah, bl
push ds
inc esp
add byte [edi + ebx + 0x20220044], ch
pop ds
inc esp
add byte [edx], ah
and byte [eax + eax + 1], al
Function at 0x441e50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x999a9bac
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0xdb
xor dl, byte [esp + eax]
add dl, 0xb9
mov byte [esp + eax], dl
inc eax
cmp eax, 5
jne case.default.0x441e91
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x44c9f4]
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [edx]
xor ebx, ebx
cmp esi, edx
setne bl
jmp dword [ebx*4 + 0x44c9fc]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [edx]
xor ebx, ebx
cmp esi, edx
setne bl
jmp dword [ebx*4 + 0x44c9fc]
mov edi, 1
jmp dword [edi*4 + 0x44ca0c]
xor ebx, ebx
cmp dword [esi + 0x18], ecx
sete bl
jmp dword [ebx*4 + 0x44ca04]
mov eax, dword [esi + 0x30]
xor edi, edi
jmp dword [edi*4 + 0x44ca0c]
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x442040
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
mov dword [esp], 0x61660d33
mov byte [esp + 4], 0
mov ecx, esp
xor edx, edx
xor esi, esi
movzx ebx, byte [ecx]
mov ebp, edx
and ebp, 0xb18cd42e
mov edi, esi
xor edi, 0x273995e8
sub edi, ebp
inc edi
xor edi, ebx
mov ebp, 0x8d
sub ebp, edi
or ebp, 1
mov ebx, edi
or ebx, 1
add ebx, edi
add ebx, ebp
add bl, 0xe5
mov byte [ecx], bl
inc ecx
dec esi
add edx, 0xfffffffe
cmp esi, 0xfffffffb
jne 0x442060
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x44ca74]

Function at 0x442850
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x442870
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x44288b
mov eax, 0xffffffff
jmp 0x44288e
add eax, 0xa
push eax
call fcn.00408640
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebx, word [edi]
test bx, bx
je 0x4428d1
add edi, 2
nop
nop
nop
mov word [edx], bx
add edx, 2
movzx ebx, word [edi]
add edi, 2
test bx, bx
jne 0x4428c0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp + 8], dx
add ecx, edi
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x484b4a4d
xor ecx, ecx
nop
nop
mov edx, ecx
add dl, 0x13
xor dl, byte [esp + ecx]
add dl, 0xa1
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne 0x442940
mov esi, dword [esp]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x4429cc
xor edx, edx
mov edi, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xf6e92f34
je 0x44298a
mov ebx, edx
and ebx, 1
xor edx, 1
lea edx, [edx + ebx*2]
cmp edx, ecx
jb 0x442970
jmp 0x4429cc
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x4429cc
mov esi, esp
lea edx, [esp + 0x10]
push 0
push 0
push ebp
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x68]
push 0
push esi
push edx
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0x2c
push ecx
push dword [0x44f2bc]
mov edi, eax
call fcn.00440360
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.00408650
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4429e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x442a00
mov ebx, eax
sar ebx, 1
lea esi, [ebx + 4]
and eax, 2
mov ecx, esi
xor ecx, 1
add ecx, eax
jns 0x442a25
mov ecx, 0xffffffff
jmp 0x442a27
add ecx, ecx
push ecx
call fcn.00408640
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [ebp]
test dx, dx
je 0x442a72
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebp]
add ebp, 2
test dx, dx
jne 0x442a60
mov word [ecx], 0
mov ecx, esi
and ecx, 0xfffd
and ebx, 2
mov edx, ebx
xor edx, 2
imul edx, ecx
or esi, 2
imul esi, ebx
lea ecx, [esi + edx]
mov word [esp + 8], cx
lea ecx, [esi + edx]
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x484b4a4d
xor ecx, ecx
mov edx, ecx
add dl, 0x13
xor dl, byte [esp + ecx]
add dl, 0xa1
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne 0x442ae0
mov esi, dword [esp]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x442b54
xor edx, edx
mov ebx, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x3174e150
je 0x442b20
inc edx
cmp ecx, edx
jne 0x442b10
jmp 0x442b54
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x442b54
mov edx, esp
lea esi, [esp + 0x10]
push edi
push dword [esp + 0x4c]
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x18
push ecx
push dword [0x44f2bc]
mov edi, eax
call fcn.00440360
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.00408650
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x442b90
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x442bab
mov eax, 0xffffffff
jmp 0x442bae
add eax, 0xa
push eax
call fcn.00408640
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx edi, word [ebx]
test di, di
je 0x442bf1
add ebx, 2
nop
nop
nop
mov word [edx], di
add edx, 2
movzx edi, word [ebx]
add ebx, 2
test di, di
jne 0x442be0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp], dx
add ecx, edi
add ecx, 2
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x484b4a4d
xor ecx, ecx
nop
nop
nop
nop
mov edx, ecx
add dl, 0x13
xor dl, byte [esp + ecx + 0x20]
add dl, 0xa1
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 4
jne 0x442c60
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x442cc9
xor edx, edx
mov edi, dword [0x44f2b8]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x1ce638e1
je 0x442ca0
inc edx
cmp ecx, edx
jne 0x442c90
jmp 0x442cc9
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x442cc9
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x44f2bc]
mov edi, eax
call fcn.00440360
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.00408650
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x442cdf
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x442cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x484b4a4d
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x13
xor cl, byte [esp + eax]
add cl, 0xa1
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x442d10
mov eax, dword [esp]
mov edx, dword [0x44f2b4]
test edx, edx
je 0x442d78
xor ebx, ebx
mov ecx, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x442d50
inc ebx
cmp edx, ebx
jne 0x442d40
jmp 0x442d78
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x442d78
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x20
test edi, edi
je 0x442d82
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x442d8e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], 0x484b4a4d
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x13
xor bl, byte [esp + eax + 4]
add bl, 0xa1
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x442dc0
mov eax, dword [esp + 4]
mov ebx, dword [0x44f2b4]
test ebx, ebx
je 0x442e40
mov ecx, esi
xor ebp, ebp
mov edi, dword [0x44f2b8]
nop
nop
cmp dword [edi + ebp*8], 0x5b126fe8
je 0x442e0d
mov esi, ebp
and esi, 1
xor ebp, 1
lea ebp, [ebp + esi*2]
cmp ebp, ebx
jb 0x442df0
mov esi, ecx
jmp 0x442e40
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
mov esi, ecx
je 0x442e40
lea eax, [esp + 4]
push 0
push 0
push edx
push dword [esp + 0x30]
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x30
cmp eax, 0x103
jne 0x442eb9
mov dword [esp], 0x484b4a4d
xor eax, eax
mov ecx, eax
add cl, 0x13
xor cl, byte [esp + eax]
add cl, 0xa1
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x442e50
mov eax, dword [esp]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x442eb1
xor edx, edx
mov edi, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x442e90
inc edx
cmp ecx, edx
jne 0x442e80
jmp 0x442eb1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x442eb1
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x18
test eax, eax
js 0x442eb9
mov eax, dword [esp + 4]
test esi, esi
je 0x442ecc
xor ecx, ecx
cmp eax, 0xc0000011
je 0x442eca
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0x484b4a4d
xor eax, eax
nop
nop
nop
mov ebx, eax
add bl, 0x13
xor bl, byte [esp + eax + 4]
add bl, 0xa1
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x442f00
mov eax, dword [esp + 4]
mov ebx, dword [0x44f2b4]
test ebx, ebx
je 0x442f6e
xor ebp, ebp
mov edi, dword [0x44f2b8]
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xa2545bf7
je 0x442f40
inc ebp
cmp ebx, ebp
jne 0x442f30
jmp 0x442f6e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x442f6e
lea eax, [esp + 4]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 0x24
push ebx
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x30
cmp eax, 0x103
jne 0x442fe9
mov dword [esp], 0x484b4a4d
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x13
xor cl, byte [esp + eax]
add cl, 0xa1
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x442f80
mov eax, dword [esp]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x442fe1
xor edx, edx
mov edi, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x442fc0
inc edx
cmp ecx, edx
jne 0x442fb0
jmp 0x442fe1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x442fe1
push 0
push 0
push dword [esp + 0x28]
push 0xc
push ecx
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x18
test eax, eax
js 0x442fe9
mov eax, dword [esp + 4]
test esi, esi
je 0x442ff3
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x443000
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x443020
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 4], bp
add ecx, ebx
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x484b4a4d
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x13
xor cl, byte [esp + eax]
add cl, 0xa1
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x4430a0
mov eax, dword [esp]
mov edi, dword [0x44f2b4]
test edi, edi
je 0x443105
xor ebx, ebx
mov ebp, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x40915fe0
je 0x4430e1
inc ebx
cmp edi, ebx
jne 0x4430d0
jmp 0x443105
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x443105
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 0x10
push edi
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6db3008
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.06db4324
test esi, esi
jne 0x6db303e
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.06db4414
jmp 0x6db305c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.06db2f0c
mov edi, eax
test esi, esi
je 0x6db305c
cmp dword [ebx], 0
je 0x6db305c
dec esi
jmp 0x6db3045
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x6db36d4
Capabilities:
Query or enumerate registry value

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

Function at 0x6db41a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6de4044], 0
je 0x6db4205
cmp word [0x6de4218], 0xd7b2
jne 0x6db41cd
cmp dword [0x6de4220], 0
jbe 0x6db41cd
mov eax, 0x6de4214
call dword [0x6de4230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x6db422c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6dca024], 0
jne 0x6db4221
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x6db50c4
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 0x6db52f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x6db5147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x6db52f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x6db5147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x6db5310
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x6db51d0
xor eax, eax
push ebp
push 0x6db51c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.06db4f00
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 0x6db51ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x6db5330
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x6db51ae
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 0x6db51d0
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 0x6db52ea
cmp byte [ebp - 0xd], 0
jne 0x6db5217
cmp byte [ebp - 0x12], 0
je 0x6db52ea
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x6db5230
dec ebx
cmp byte [ebx], 0x2e
je 0x6db523f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x6db522f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x6db52ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x6db527c
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 0x6db52ea
cmp byte [ebp - 0xd], 0
je 0x6db52ea
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 0x6db52ea
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