joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457cf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
or ebp, 0xffffffff
jmp 0x457d12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457d19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457d08
mov eax, 1
add ebx, ebx
jne 0x457d2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457d20
jne 0x457d3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x457d20
xor ecx, ecx
sub eax, 3
jb 0x457d50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x457dc2
mov ebp, eax
add ebx, ebx
jne 0x457d5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x457d68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x457d8c
inc ecx
add ebx, ebx
jne 0x457d78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x457d6d
jne 0x457d89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x457d6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x457dac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x457d9d
jmp 0x457d0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x457dac
add edi, ecx
jmp 0x457d0e
pop esi
mov edi, esi
mov ecx, 0x478
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x457dca
cmp byte [edi], 6
jne 0x457dca
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 0x457dcf
lea edi, [esi + 0x55000]
mov eax, dword [edi]
or eax, eax
je 0x457e3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x599f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x59a64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x457dfc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x59a6c]
or eax, eax
je 0x457e38
mov dword [ebx], eax
add ebx, 4
jmp 0x457e19
call dword [esi + 0x59a68]
mov ebp, dword [esi + 0x59a70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x457e72
sub esp, 0xffffff80
jmp 0x406dc0

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 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.10038790
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10036873
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d2a11
call fcn.100cece0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100dee40
mov dword [esi + 4], 0x100dee30
lea ecx, [esi + 0x158]
mov dword [ebp - 4], 0xf
call fcn.100c98e0
mov eax, dword [esi + 0x85c]
test eax, eax
je 0x100368b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x850]
call fcn.100034b3
mov eax, dword [esi + 0x154]
pop ecx
test eax, eax
mov byte [ebp - 4], 0xd
je 0x100368d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x100368e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x144]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100368fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x128]
call fcn.100034b3
push dword [esi + 0x11c]
call fcn.100034b3
push dword [esi + 0x110]
call fcn.100034b3
mov eax, dword [esi + 0xf8]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 7
je 0x10036933
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7c]
call fcn.100034b3
pop ecx
mov byte [ebp - 4], 5
lea ecx, [esi + 0x5c]
call fcn.10036984
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.10036984
push dword [esi + 0x30]
call fcn.100034b3
push dword [esi + 0x24]
call fcn.100034b3
push dword [esi + 0x18]
call fcn.100034b3
push dword [esi + 0xc]
call fcn.100034b3
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x10038790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1003879f
pop dword [ebp - 0x18]
mov eax, 0xaf204a33
sub eax, 0x9f1cc294
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x47be6
push 0
mov eax, 0xf4b3e973
sub eax, 0xe4a6594b
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x205a94f2
sub ecx, 0x205a3d63
xor esi, esi
add esi, eax
mov edx, 0x70d625a6
add edx, 0x9f3bf85a
add edx, dword [ebp - 0x18]
mov ebx, 0x358bb432
add dword [ebp - 8], ecx
mov edi, dword [edx]
xor dword [ebp - 4], edx
xor edi, ebx
xor dword [ebp - 8], 0x8d07b5cf
mov dword [esi], edi
add esi, 4
add edx, 0x73b006fc
add edx, 0x8c4ff908
loop 0x100387fa
add eax, 0x1510f
mov ebx, eax
add eax, 0xc67fde7e
add eax, 0x39802187
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x1007f713
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d7204
call fcn.100cece0
sub esp, 0x64
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
push esi
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
mov edx, ebx
sete al
mov byte [esi + 0x68], al
call fcn.1007f8eb
xor edi, edi
cmp eax, edi
jne 0x1007f8da
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007f76b
push 1
pop eax
jmp 0x1007f76d
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.100786d5
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007f8bf
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
cmp word [ebx + 0x20], 1
mov dword [ebp - 0x1c], eax
jne 0x1007f892
cmp word [eax + 0x20], 1
jne 0x1007f892
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.10080f40
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.10038790
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
push esi
push ebx
push edi
push dword [ebp + 8]
call fcn.1007e9a8
test eax, eax
jne 0x1007f8aa
add edi, 0x2c
push 0x14
lea eax, [ebp - 0x30]
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007f826
cmp byte [ebx + 0x2c], 0
je 0x1007f8c5
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007f8c5
inc eax
cmp eax, 0x14
jb 0x1007f816
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007f83e
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.10080ecb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.10038790
test eax, eax
jne 0x1007f8aa
cmp byte [ebp + 0x17], al
je 0x1007f892
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007f8a6
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007f8a6
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007f892
cmp dword [eax + 0x24], 1
jne 0x1007f892
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007f88a
test al, al
je 0x1007f8c5
test al, al
je 0x1007f892
test cl, cl
je 0x1007f8ae
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007f8bf
jmp 0x1007f792
xor cl, cl
jmp 0x1007f86a
mov esi, eax
jmp 0x1007f8cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
push 1
pop eax
jmp 0x1007f8da
cmp byte [ebp + 0x17], 0
je 0x1007f8ca
push 1
pop esi
jmp 0x1007f8cc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x1008095a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov eax, 0x100d729c
call fcn.100cece0
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.CREATIONTIME
mov ecx, edi
lea edx, [esi + 4]
call fcn.10080ade
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.10080ade
mov byte [esi + 1], al
lea eax, [ebp - 0x18]
push str.NAME
push eax
mov ecx, edi
call fcn.10038790
and dword [ebp - 4], 0
lea edx, [esi + 0x14]
mov ecx, eax
call fcn.10038790
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov byte [esi + 2], al
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.DIRCOUNT
push eax
mov ecx, edi
call fcn.10038790
lea edx, [esi + 0x20]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.10038790
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.FILECOUNT
push eax
mov ecx, edi
call fcn.10038790
lea edx, [esi + 0x28]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10038790
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x24]
mov dword [esp], str.INDEX
push eax
mov ecx, edi
call fcn.10038790
lea edx, [esi + 0x30]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.10038790
push dword [ebp - 0x24]
mov byte [esi + 3], al
call fcn.100034b3
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10080f88
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d731b
call fcn.100cece0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100851fe
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100d78af
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ax, word [edi]
lea ecx, [esi + 0x24]
mov word [esi], ax
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call fcn.10001da4
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
call fcn.10085281
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100c1f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100c1fcb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100c200c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100c1ff1
mov ecx, ebx
call fcn.100c1c50
add ebx, 0x28
dec ebp
jne 0x100c1fe5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100c2007
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100c1b20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100c20b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x20]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x1c]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
push ebp
call fcn.10038790
mov ebx, eax
cmp ebx, edi
je 0x100c2084
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100c20e0
cmp ebx, edi
jle 0x100c207f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100c2084
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100c2096
cmp dword [esi + 0x40], edi
jne 0x100c2096
cmp dword [esi + 0x3c], edi
jne 0x100c2096
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x30003f49
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x30007ff0
call fcn.30133000
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x3000a288
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x30003ce8
cmp eax, esi
jne 0x30003cdb
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30003ceb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30003cc2
xor esi, esi
inc esi
mov eax, dword [0x3000a284]
cmp eax, esi
jne 0x30003cfe
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30003d2d
mov eax, dword [0x3000a284]
test eax, eax
jne 0x30003d27
mov dword [0x3000a284], esi
push 0x300011a4
push 0x3000119c
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30003d2d
jmp 0x30003e55
mov dword [0x300097bc], esi
mov eax, dword [0x3000a284]
cmp eax, esi
jne 0x30003d51
push 0x30001198
push 0x30001180
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3000a284], 2
test ebx, ebx
jne 0x30003d5d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3000a294], 0
je 0x30003d81
push 0x3000a294
call fcn.30004210
pop ecx
test eax, eax
je 0x30003d81
push 0
push 2
push 0
call dword [0x3000a294]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30003ddd
test al, al
je 0x30003d9b
cmp dword [ebp - 0x1c], 0
jne 0x30003ddd
mov al, byte [esi]
test al, al
je 0x30003dab
cmp al, 0x20
ja 0x30003dab
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30003d9b
test byte [ebp - 0x3c], 1
je 0x30003db7
movzx eax, word [ebp - 0x38]
jmp 0x30003dba
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x300097b8], eax
cmp dword [0x300097ac], 0
jne 0x30003e31
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x30003dec
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30003dff
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x30003d88
cmp dword [0x300097bc], 0
jne 0x30003e40
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x300097b8]
jmp 0x30003e61
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.300042cd
ret
call fcn.30003b71
jmp 0x30003c88
Function at 0x40b080
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ebp - 4]
mov edi, dword [esi - 0x763ed4c1]
push es
je 0x40b02a
mov dword [ebp + 8], 0
mov eax, dword [ebx + 0x58]
push eax
pop ds
or eax, 0xca1cadf3
inc ebp
hlt
push ebp
mov ebp, esp
push esi
mov ebp, dword [eax + 0x7d975708]
jg 0x40b017
inc esi
adc byte [ebx - 0x3edfebb2], cl
mov dword [ebp + 0x10], 0xcf620000
mov dword [0x8468a71], eax
test al, al
je 0x40b10d
mov edx, dword [esi + 4]
lahf
dec ebp
or byte [edx], ch
push ecx
push 0xa
push 0xffffffffffffffb0
push 0x61
push es
dec ebp
or al, 0xc0
inc eax
add byte [ebp + 0x3a], ch
jne 0x40b0f2
invalid
mov eax, dword [ebp + 8]
and eax, 0x8b0e75c0
push ebp
adc al, 0x5f
pop esi
pop edi
add bl, byte [ebp + 0xd7]
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40b181
mov bl, byte [edx]
or byte [ecx + ecx*8 + 0x4e8b1c75], al
xor al, 0x89
dec eax
or byte [ebx + 0x568b5083], bh
push esp
mov ecx, 0x78bf0020
call fcn.0040b810
mov edx, dword [esi + 0xc]
loopne 0x40b178
or al, 0x8b
inc esi
or al, 0x8b
push ebp
dec edx
push ebx
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [esi - 0x72]
push ecx
push edi
push edx
sub eax, 0xc01015ff
inc eax
test ax, ax
je 0x40b15a
sbb al, 0x26
imul ebp, dword [ebx], 1
add byte [edx], bh
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call edi
test dword [eax], edx
je 0x4540b285
test byte [ebx], bl
add dword [eax], eax
inc ebp
xlatb
xlatb
add eax, 0x2bfc80
cmp eax, 0x4baa265
jne 0x40b1ec
jo 0x40b17a
add byte [eax], al
mov ebx, dword [0xd240c09c]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ebx, ebx
jl 0x40b1a2
ror byte [ebx + 0x468b144e], cl
adc byte [ebp - 0x3ae98325], al
add al, 0x8d
sal byte [esi + 0x10], 0x6a
lds eax, [ecx*4 + 0x6a1076c0]
add byte [eax - 0x18], ch
add eax, esp
add byte [ecx + 0x50], dl
call 0x1540b590
jmp 0x40b1af
and eax, ecx
adc dword [ecx + 0xb0475ff], 0xffffffc0
jmp 0x40b165
mov ecx, dword [esi + 0x27]
push eax
mov edx, dword [ecx + 0x4b]
xchg esi, eax
call ebx
mov edi, eax
cmp edi, 0x6c
int3
popal
idiv edi
inc dword [ebx + 0x60a30cc4]
or dword [ecx - 0x5f], eax
test eax, eax
je 0x40b1b2
push ebx
call eax
jmp 0x40b1db
Function at 0x40238f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x208
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x20c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
mov ebp, 0x100
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov ecx, edi
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv dword [esp + 0x228]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x114], al
inc ecx
cmp ecx, ebp
jl 0x4023c2
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x14]
movzx eax, byte [esp + esi + 0x114]
add eax, ebx
movzx ecx, dl
add ecx, eax
mov ebx, ecx
and ebx, 0x800000ff
jns 0x402408
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x14]
mov byte [esp + esi + 0x14], al
inc esi
mov byte [esp + ebx + 0x14], dl
cmp esi, ebp
jl 0x4023e3
mov ebx, edi
mov ebp, edi
cmp dword [esp + 0x220], ebx
jle 0x402494
inc edi
and edi, 0x800000ff
jns 0x402437
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x14]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x402450
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x14]
mov byte [esp + edi + 0x14], al
push ecx
mov byte [esp + ebx + 0x18], cl
mov ecx, 0x42e098
mov dword [esp], 0x40495270
call fcn.00402081
push eax
call fcn.004019ae
movzx eax, byte [esp + edi + 0x18]
add eax, esi
pop ecx
mov ecx, dword [esp + 0x10]
movzx eax, al
mov al, byte [esp + eax + 0x14]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x220]
jl 0x402426
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040614a
add esp, 0x208
ret

Function at 0x403062
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x40309f
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x15
push 0
mov byte [edi + esi], al
call dword [sym.imp.USER32.DLL_OpenIcon]
mov al, byte [edi + esi]
sub al, 0x57
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x403070
pop edi
pop esi
ret

Function at 0x403d0a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x40
mov edi, 0x4ac
mov esi, 0x47fc20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
push edi
push esi
call fcn.00403062
pop ecx
pop ecx
call fcn.00403048
mov edx, 0x47fc20
add edx, 0x188
mov esi, 0x42f020
push esi
call edx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4068f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x406936
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406936
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406936
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406936
cmp dword [ecx + 0x74], 0xe
jbe 0x406936
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret