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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040500c
xor eax, eax
push ebp
push 0x4e3132
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 0x30]
mov edx, dword [ebp - 4]
call fcn.00404ba0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
call fcn.0049c12c
mov esi, eax
mov eax, dword [edi + 0x2c]
call fcn.00403dc0
push 0x8c
push 0
push 0
mov ecx, 0x8c
mov dl, 1
mov eax, dword [0x469d58]
call fcn.0046aac0
mov dword [edi + 0x2c], eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, dword [edi + 0x10]
call fcn.004e217c
test esi, esi
je 0x4e30fa
mov eax, dword [esi + 0x24]
sar eax, 1
jns 0x4e30c5
adc eax, 0
mov edx, 0x46
sub edx, eax
push edx
mov ax, word [ebp - 8]
push eax
mov ax, word [ebp - 0xc]
push eax
mov eax, dword [esi + 0x20]
sar eax, 1
jns 0x4e30e1
adc eax, 0
mov ecx, 0x46
sub ecx, eax
mov edx, esi
mov eax, dword [edi + 0x2c]
call fcn.0046adb8
mov eax, dword [edi + 0x2c]
call fcn.0046bb9c
mov eax, dword [edi + 0x24]
shl eax, 5
add eax, 0x10
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x28]
shl eax, 3
lea eax, [eax + eax*2]
add eax, 0xc
mov dword [edi + 0x18], eax
mov byte [edi + 0x1c], bl
mov byte [edi + 4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3139
lea eax, [ebp - 4]
call fcn.00404b4c
ret
Function at 0x4e364c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x37]
push ecx
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop ecx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040500c
xor eax, eax
push ebp
push 0x4e3779
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x400], 1
lea eax, [ebx + 0x450]
mov edx, dword [ebp - 4]
call fcn.00404ba0
mov dword [ebx + 0x414], esi
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x418], eax
lea esi, [ebp - 0x37]
lea edi, [ebx + 0x41c]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x1c], 1
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x40], 0xffffffff
xor edx, edx
mov dl, byte [ebp - 0x36]
mov eax, dword [0x4f8488]
mov eax, dword [eax]
call fcn.0049c898
mov dword [ebx + 0x10], eax
mov byte [ebx + 0x30], 1
mov dword [ebx + 0x44], 0xffffffff
xor eax, eax
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e1a04]
call fcn.004e6138
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x70], 0
mov ax, word [ebp + 0x10]
mov word [ebx + 0x5c], ax
mov ax, word [ebp + 0xc]
mov word [ebx + 0x60], ax
cmp byte [0x4f7f8c], 0
je 0x4e3730
mov byte [ebx + 0x70], 1
jmp 0x4e3737
mov eax, ebx
call fcn.004e4d60
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x68], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x28]
call fcn.00404b4c
lea eax, [ebx + 0x54]
call fcn.00404b4c
mov eax, dword [ebx + 0x48]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3780
lea eax, [ebp - 4]
call fcn.00404b4c
ret
Function at 0x4ee1cc
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebx
push esi
add esp, 0xfffffe5c
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, 0x12
mov eax, esi
call fcn.00404b4c
mov eax, esp
xor ecx, ecx
mov edx, 0x14
call fcn.0040365c
push ebx
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x4ee217
mov edx, esi
mov eax, esp
call fcn.00409cdc
add esp, 0x1a4
pop esi
pop ebx
ret

Function at 0x4ef540
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040500c
xor eax, eax
push ebp
push 0x4ef65b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404ba0
lea eax, [ebp - 0x19c]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x4ef63e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x29c]
mov edx, dword [ebp - 4]
call fcn.00409b44
lea eax, [ebp - 0x29c]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ef62b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4ef62b
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ef62b
push ebx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x4ef670
call fcn.0040a1f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef645
call sub.wsock32.dll_WSACleanup
ret

Function at 0xa23c5c
Capabilities:
Encode data using xor

Disassembly:
xor byte [eax], dl
inc eax
cmp byte [eax], 0
jne fcn.00a23c5c
ret
Function at 0xa23c68
Capabilities:
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push edi
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 8], eax
sub eax, eax
push dword fs:[0x30]
pop dword [ebp - 4]
cmp dword [ebp - 4], 0x80000000
ja 0xa23d04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, dword [ebp - 0x10]
movzx esi, word [eax + 0x24]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov dword [edi], eax
test esi, esi
jbe 0xa23ce1
mov eax, dword [edi]
mov al, byte [eax]
mov ecx, eax
add cl, 0x9f
sub cl, 0x1a
jae 0xa23cc4
sub al, 0x20
mov ecx, edx
shr ecx, 0xd
and ecx, 0xffffffff
shl edx, 0x13
or ecx, edx
and eax, 0xff
add ecx, eax
mov edx, ecx
inc dword [edi]
dec esi
test esi, esi
ja 0xa23cb4
cmp edx, 0x6a4abc5b
jne 0xa23cf4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
jmp 0xa23d04
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0xa23c9f
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xa23d38
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0xa23e19
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0xa23e19
mov eax, dword [ebp - 0xc]
add eax, 0x78
cmp dword [eax], 0
je 0xa23e19
cmp dword [eax + 4], 0
je 0xa23e19
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x78]
mov eax, ebx
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x18], 0
je 0xa23e19
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x20]
add edx, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x24]
add edx, eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1c]
add edx, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jb 0xa23e19
inc edi
xor esi, esi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
add eax, ebx
call fcn.00a23d10
cmp eax, dword [ebp + 0xc]
jne 0xa23e15
cmp dword [ebp + 0x10], 0
je 0xa23e01
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + esi*2]
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x10]
push eax
push ebx
call dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0xa23e19
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + esi*2]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + eax*4]
add eax, ebx
mov dword [ebp - 4], eax
jmp 0xa23e19
inc esi
dec edi
jne 0xa23dcc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xa23e28
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp], edx
xor edx, edx
cmp dword [esp], 0
je 0xa23ecc
test ecx, ecx
je 0xa23ecc
shr ecx, 3
mov dword [esp + 4], ecx
cmp dword [esp + 4], 0
je 0xa23ecc
mov edx, dword [esp + 4]
dec edx
test edx, edx
jb 0xa23ec5
inc edx
mov dword [esp + 0xc], edx
mov edx, dword [esp]
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov edx, 0xc6ef3720
mov dword [esp + 8], 0x20
mov esi, ecx
shl esi, 4
add esi, dword [eax + 8]
lea edi, [edx + ecx]
xor esi, edi
mov edi, ecx
shr edi, 5
add edi, dword [eax + 0xc]
xor esi, edi
sub ebx, esi
mov esi, ebx
shl esi, 4
add esi, dword [eax]
lea edi, [edx + ebx]
xor esi, edi
mov edi, ebx
shr edi, 5
add edi, dword [eax + 4]
xor esi, edi
sub ecx, esi
sub edx, 0x9e3779b9
dec dword [esp + 8]
jne 0xa23e76
mov edx, dword [esp]
mov dword [edx], ecx
mov dword [edx + 4], ebx
add dword [esp], 8
dec dword [esp + 0xc]
jne 0xa23e61
mov edx, dword [esp + 4]
shl edx, 3
mov eax, edx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0xa23ed8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
xor ecx, ecx
mov dword [esp], ecx
test eax, eax
je 0xa23fe0
test edx, edx
je 0xa23fe0
mov ecx, edx
mov ebx, edx
and ebx, 3
mov dword [esp + 4], ebx
mov ebx, edx
shr ebx, 2
test ebx, ebx
jbe 0xa23f3f
mov edx, eax
movzx esi, byte [edx + 1]
shl esi, 8
movzx edi, byte [edx]
add esi, edi
add ecx, esi
movzx esi, byte [edx + 3]
shl esi, 8
movzx edx, byte [edx + 2]
add esi, edx
shl esi, 0xb
xor esi, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
add eax, 4
mov edx, ecx
shr edx, 0xb
add ecx, edx
dec ebx
test ebx, ebx
ja 0xa23f07
mov edx, dword [esp + 4]
sub edx, 1
jb 0xa23fb3
je 0xa23fa1
dec edx
je 0xa23f7f
dec edx
jne 0xa23fe0
mov edx, eax
xor ebx, ebx
mov bl, byte [edx + 1]
shl ebx, 8
movzx esi, byte [edx]
add ebx, esi
add ecx, ebx
mov ebx, ecx
shl ebx, 0x10
xor ecx, ebx
xor eax, eax
mov al, byte [edx + 2]
shl eax, 0x12
xor ecx, eax
mov eax, ecx
shr eax, 0xb
add ecx, eax
jmp 0xa23fb3
mov edx, eax
xor ebx, ebx
mov bl, byte [edx + 1]
shl ebx, 8
xor eax, eax
mov al, byte [edx]
add ebx, eax
add ecx, ebx
mov eax, ecx
shl eax, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
jmp 0xa23fb3
movzx eax, byte [eax]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
add ecx, eax
mov eax, ecx
shl eax, 3
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add ecx, eax
mov dword [esp], ecx
mov eax, dword [esp]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408e54
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x12f079c7
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6a487cf8
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x433005
Capabilities:
Check for software breakpoints
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x3e6d58f1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x20ae2c4b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x44bbb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x46000]
push edi
jmp 0x44bbca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44bbd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44bbc0
mov eax, 1
add ebx, ebx
jne 0x44bbe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44bbd8
jne 0x44bbf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44bbd8
xor ecx, ecx
sub eax, 3
jb 0x44bc08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44bc7a
mov ebp, eax
add ebx, ebx
jne 0x44bc13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44bc20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44bc44
inc ecx
add ebx, ebx
jne 0x44bc30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44bc25
jne 0x44bc41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44bc25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44bc64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44bc55
jmp 0x44bbc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44bc64
add edi, ecx
jmp 0x44bbc6
pop esi
mov edi, esi
mov ecx, 0x26d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44bc82
cmp byte [edi], 0
jne 0x44bc82
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 0x44bc87
lea edi, [esi + 0x49000]
mov eax, dword [edi]
or eax, eax
je 0x44bcff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x610f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x611b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44bcb4
mov ecx, edi
jns 0x44bce3
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 + 0x611b8]
or eax, eax
je 0x44bcf9
mov dword [ebx], eax
add ebx, 4
jmp 0x44bcd1
call dword [esi + 0x611b4]
mov ebp, dword [esi + 0x611bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x44bd33
sub esp, 0xffffff80
jmp 0x403235

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebx], 0x14
push esi
jmp 0x403b0e
mov edx, dword [0x410b8a]
or eax, dword [ecx]
mov edi, eax
shl dword [ecx + 0x38fa03d7], 0x88
lodsb al, byte [esi]
add al, byte [ecx]
call fcn.00406a00
mov dword [0x41cfa0], eax
mov dword [0x980bd9], edx
mov dword [esi], edx
xor byte [eax], cl
add byte [eax], al
mov edx, esi
movsb byte es:[edi], byte [esi]
or eax, dword [ecx]
mov ebp, ebx
xor byte [edi - 0x69317600], bh
push esp
or byte [eax], al
wait
mov dword [edi], eax
mov edi, ecx
xor al, 8
add byte [eax], al
mov dword [edi + 4], ecx
mov esi, esp
cwde
or byte [edx], cl
sub eax, 0x830868b
add byte [eax], al
jno 0x403b11
xor al, 8
int1
add byte [ebx], ch
stosb byte es:[edi], al
mov eax, dword [esi + 0x83c]
sbb eax, edx
daa
sar byte [edi + 0xa], 0x7c
mov ebx, 0x4fcc985
xor ebp, dword [edx + 0x4f89f233]
adc byte [ecx + 0x758bfea7], cl
in al, 8
retf
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x62cd2256
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3e250a62
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4030f1
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x40903c]
sub eax, 4
mov dword [0x409040], eax
mov eax, dword [0x40903c]
imul eax, dword [0x409040]
mov ecx, dword [0x409040]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x40903c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
push 0x410770
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0x78
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x403153
xor eax, eax
jmp 0x403333
mov eax, dword [0x409040]
shl eax, 3
mov dword [0x409040], eax
mov eax, dword [0x409040]
shl eax, 1
mov dword [0x40903c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [0x409040]
shl eax, 3
mov dword [0x409040], eax
mov eax, dword [0x40903c]
mov ecx, dword [0x409040]
lea eax, [ecx + eax - 9]
mov dword [0x40903c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x4031aa
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x4031b1
xor eax, eax
jmp 0x403333
mov eax, dword [0x409040]
imul eax, dword [0x409040]
sub eax, 3
mov dword [0x40903c], eax
push 0
push 0
push 0
jmp section..htext
leave
ret

Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret