joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d402c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x5d4049
add esp, 0xfffffff0
call fcn.00403ad4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x5d41e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005ca838
test al, al
jne 0x5d4086
mov ecx, 0x5d4218
mov dl, 1
mov eax, dword [0x5bef34]
call fcn.0040de34
call fcn.00404000
xor eax, eax
push ebp
push 0x5d40b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.005c92e4
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.005c91d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d40d2
mov eax, dword [ebp - 0x10]
mov edx, 0x5d4254
call fcn.00405084
je 0x5d40ef
mov eax, esi
mov edx, 0x5d4254
call fcn.00405084
jne 0x5d4113
mov eax, edi
mov edx, 0x5d4264
call fcn.00405084
je 0x5d4113
mov ecx, 0x5d423c
mov dl, 1
mov eax, dword [0x5bf1dc]
call fcn.0040de34
call fcn.00404000
mov eax, edi
xor edx, edx
call fcn.00405084
jne 0x5d4140
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405084
je 0x5d4140
mov ecx, 0x5d423c
mov dl, 1
mov eax, dword [0x5bf1dc]
call fcn.0040de34
call fcn.00404000
mov eax, dword [ebp - 0x10]
mov edx, 0x5d42a4
call fcn.00405084
jne 0x5d4173
mov eax, edi
mov edx, 0x5d42b0
call fcn.00405084
je 0x5d4173
mov ecx, 0x5d423c
mov dl, 1
mov eax, dword [0x5bf1dc]
call fcn.0040de34
call fcn.00404000
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.005d211c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404ddc
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404ddc
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404ddc
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404ddc
lea eax, [ebx + 8]
call fcn.00404da0
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x5d42fc]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d41ec
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404db8
ret
Function at 0x5d5ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x5d5afd
add esp, 0xfffffff0
call fcn.00403ad4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5d5c98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005ca838
test al, al
jne 0x5d5b3a
mov ecx, 0x5d5ccc
mov dl, 1
mov eax, dword [0x5bef34]
call fcn.0040de34
call fcn.00404000
xor eax, eax
push ebp
push 0x5d5b66
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.005c92e4
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.005c91d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5d5b86
mov eax, edi
xor edx, edx
call fcn.00405084
jne 0x5d5bb3
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405084
je 0x5d5bb3
mov ecx, 0x5d5cf0
mov dl, 1
mov eax, dword [0x5bf1dc]
call fcn.0040de34
call fcn.00404000
mov eax, dword [ebp - 0x10]
mov edx, 0x5d5d08
call fcn.00405084
jne 0x5d5be6
mov eax, edi
mov edx, 0x5d5d14
call fcn.00405084
je 0x5d5be6
mov ecx, 0x5d5cf0
mov dl, 1
mov eax, dword [0x5bf1dc]
call fcn.0040de34
call fcn.00404000
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.005d211c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404ddc
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404ddc
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404ddc
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404ddc
lea eax, [ebx + 8]
call fcn.00404da0
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41cea8]
call fcn.00403740
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41cea8]
call fcn.00403740
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41cea8]
call fcn.00403740
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x5d5d60]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5c1f58]
call fcn.005d1374
mov dword [ebx + 0x3c], eax
mov ax, word [0x5d5d64]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d5c9f
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404db8
ret
Function at 0x5d86f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x5d8716
add esp, 0xfffffff0
call fcn.00403ad4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x5d8881
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005ca838
test al, al
jne 0x5d8753
mov ecx, 0x5d88b4
mov dl, 1
mov eax, dword [0x5bef34]
call fcn.0040de34
call fcn.00404000
push dword [0x775f1c]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x775f1c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040503c
mov eax, dword [ebp - 0xc]
call fcn.005cb310
test al, al
jne 0x5d8825
push dword [0x775f18]
push dword [ebp + 8]
push dword [0x775f18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040503c
mov eax, dword [ebp - 0x14]
call fcn.005cb310
test al, al
jne 0x5d8825
push dword [0x775f1c]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x775f1c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040503c
mov eax, dword [ebp - 0x18]
call fcn.005cb428
test al, al
jne 0x5d8825
push dword [0x775f18]
push edi
push dword [0x775f18]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040503c
mov eax, dword [ebp - 0x20]
call fcn.005cb428
test al, al
jne 0x5d8825
mov ecx, 0x5d88b4
mov dl, 1
mov eax, dword [0x5bef34]
call fcn.0040de34
call fcn.00404000
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.005d211c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404ddc
lea eax, [ebx + 8]
call fcn.00404da0
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00404ddc
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00404ddc
mov byte [ebx + 0xc], 0xc
mov ax, word [0x5d88d0]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8888
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404db8
ret
Function at 0x669eb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042dda0
cmp ebx, dword [ebp - 8]
jge 0x669f17
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e1f4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e1f4
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042e220
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x669edd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x669f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042dda0
cmp ebx, dword [ebp - 8]
jge 0x669f83
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e1f4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e1f4
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042e220
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x669f49
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x713c08
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x713d43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x34], 0
jne 0x713c49
lea eax, [ebp - 0x10]
mov edx, 0x713d58
call fcn.0040471c
jmp 0x713c7d
lea eax, [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
call fcn.00430b3c
push eax
call fcn.00407484
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x713d68
call fcn.0040add0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x713c95
lea eax, [ebp - 0x14]
mov edx, 0x713d58
call fcn.0040471c
jmp 0x713cc9
lea eax, [ebp - 0x14]
push eax
push 0x64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
call fcn.00430b54
push eax
call fcn.00407484
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x713d68
call fcn.0040add0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
call fcn.00713190
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
mov eax, dword [eax*4 + 0x779a34]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x713d78
call fcn.0040add0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x713d4a
lea eax, [ebp - 0x40]
call fcn.00404684
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004046a8
ret
Function at 0x75df90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x75e1ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x75e1e0
mov eax, dword [0x77a9ac]
mov eax, dword [eax]
push dword [eax + 0xac]
push 0x75e24c
push 0x75e258
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00409b78
push dword [ebp - 0x1c]
push 0x75e27c
mov eax, dword [ebp - 4]
add eax, 0x330
mov edx, 6
call fcn.00404a14
mov eax, dword [0x77a9ac]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x304]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x330]
call fcn.00620288
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0056e120
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x5e8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x5f4]
mov eax, dword [eax + 0x30]
call fcn.004c588c
dec eax
test eax, eax
jl 0x75e193
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov edx, dword [0x59e8ec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00591af8
mov edx, dword [0x59e8ec]
call fcn.00403920
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x5f4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004b9c3c
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0xc]
sub eax, 1
jb 0x75e0c6
je 0x75e0f9
dec eax
je 0x75e129
dec eax
je 0x75e159
jmp 0x75e187
mov edx, 0x75e298
mov eax, dword [ebp - 0x14]
call fcn.00588d94
mov dl, 2
mov eax, dword [ebp - 0x14]
call fcn.00588e54
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00588d74
mov edx, 0x64
mov eax, dword [ebp - 0x14]
call fcn.0058903c
jmp 0x75e187
mov edx, 0x75e2a8
mov eax, dword [ebp - 0x14]
call fcn.00588d94
mov dl, 2
mov eax, dword [ebp - 0x14]
call fcn.00588e54
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00588d74
mov edx, 0x118
mov eax, dword [ebp - 0x14]
call fcn.0058903c
jmp 0x75e187
mov edx, 0x75e2bc
mov eax, dword [ebp - 0x14]
call fcn.00588d94
mov dl, 2
mov eax, dword [ebp - 0x14]
call fcn.00588e54
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00588d74
mov edx, 0xfa
mov eax, dword [ebp - 0x14]
call fcn.0058903c
jmp 0x75e187
mov edx, 0x75e2d4
mov eax, dword [ebp - 0x14]
call fcn.00588d94
mov dl, 2
mov eax, dword [ebp - 0x14]
call fcn.00588e54
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00588d74
mov edx, 0x64
mov eax, dword [ebp - 0x14]
call fcn.0058903c
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x75e05e
mov edx, 0x75e2e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00594200
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0056fb64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x75e1d1
lea eax, [ebp - 0x1c]
call fcn.00404684
ret
Function at 0x100430b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10043291
pushal
mov esi, section.UPX1
lea edi, [esi - 0x29000]
lea eax, [edi + 0x3ae78]
push dword [eax]
mov dword [eax], 0x3e65e11
push eax
push edi
or ebp, 0xffffffff
jmp 0x100430ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100430f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100430e0
mov eax, 1
add ebx, ebx
jne 0x10043103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100430f8
jne 0x10043114
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100430f8
xor ecx, ecx
sub eax, 3
jb 0x10043128
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004319a
mov ebp, eax
add ebx, ebx
jne 0x10043133
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10043140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10043164
inc ecx
add ebx, ebx
jne 0x10043150
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10043145
jne 0x10043161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10043145
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10043184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10043175
jmp 0x100430e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10043184
add edi, ecx
jmp 0x100430e6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xf26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100431a6
cmp byte [edi], 0x11
jne 0x100431a6
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100431ab
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x10043223
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x431dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4322c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100431d8
mov ecx, edi
jns 0x10043207
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x43230]
or eax, eax
je 0x1004321d
mov dword [ebx], eax
add ebx, 4
jmp 0x100431f5
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10043254
cmp al, 0xef
ja 0x10043247
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10043229
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10043236
mov ebp, dword [esi + 0x43234]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10043288
sub esp, 0xffffff80
jmp 0x10016e99
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x2840832
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2d8342a0
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402ce4
Capabilities:
Query or enumerate registry value

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

Function at 0x40377c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x414044], 0
je 0x4037dd
cmp word [0x414218], 0xd7b2
jne 0x4037a5
cmp dword [0x414220], 0
jbe 0x4037a5
mov eax, 0x414214
call dword [0x414230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41306c
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 0x403804
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x413030], 0
jne 0x4037f9
push 0
push 0x413064
push 0x41306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404ad0
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 0x404d00
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b53
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d00
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b53
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404d1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404bdc
xor eax, eax
push ebp
push 0x404bd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404918
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 0x404bba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404d3c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404bba
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 0x404bdc
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 0x404cf6
cmp byte [ebp - 0xd], 0
jne 0x404c23
cmp byte [ebp - 0x12], 0
je 0x404cf6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404c3c
dec ebx
cmp byte [ebx], 0x2e
je 0x404c4b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404c3b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404cf6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404c88
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 0x404cf6
cmp byte [ebp - 0xd], 0
je 0x404cf6
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 0x404cf6
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 0x4053c0
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 0x405426
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.00403b68
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004028d8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405410
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40542d
lea eax, [ebp - 0x10]
call fcn.004038f8
ret

Function at 0x4096f0
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 0x409729
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039e8
jmp 0x409732
mov eax, ebx
mov edx, esi
call fcn.0040394c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x409de4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409c5c
mov eax, dword [0x4134fc]
cmp byte [eax], 0
je 0x409e60
mov eax, dword [0x413420]
call fcn.00402854
call fcn.0040271c
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.00407080
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 0x409ea8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409e96
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4133fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414660]
call fcn.004048dc
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