joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435da6
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x435dd5
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.004152ce
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4

Function at 0x435dd9
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x435e28
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.004152ce
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x435ed1
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x435ef7
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00411b70
add esp, 0xc
jmp 0x435f0c
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00415db0
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push 0x4876d8
push ecx
mov byte [esp + 0x10], 0
call fcn.00415dd0
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8
Function at 0x443681
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call dword [0x482778]
cmp dword [esp + 0x14], 0
jne 0x4434d7
mov dword [esp + 0x14], 0x400
cmp dword [esp + 0x10], 0
je 0x443530
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043570b
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push edi
push ebx
call dword [0x482744]
test eax, eax
je 0x44355e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x443527
push eax
push edi
lea ecx, [esi + 0x44]
push ecx
call fcn.0043569d
mov eax, dword [esp + 0x10]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4434de
jmp 0x443530
push edi
call fcn.00411eef
add esp, 4
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x44354c
push edx
push 0xdeadbeef
push 0x21
push esi
call fcn.0044346a
pop edi
pop esi
pop ebx
ret 8
push 1
push 0
push 0
push esi
call fcn.0044346a
pop edi
pop esi
pop ebx
ret 8
push edi
call fcn.00411eef
add esp, 4
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044346a
pop edi
pop esi
pop ebx
ret 8
sub esp, 0x40c
push ebx
push esi
mov esi, dword [esp + 0x418]
mov eax, dword [esi + 0x34]
push edi
push 0x4876fc
push eax
mov dword [esp + 0x1c], 0x414e94
call fcn.00415a06
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x4435d7
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.0044346a
mov bl, al
lea eax, [esp + 0x10]
push eax
call fcn.004355b3
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x482744]
test eax, eax
je 0x443658
mov eax, dword [esp + 0xc]
test eax, eax
je 0x443628
push edi
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004152ce
mov eax, dword [esp + 0x1c]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4435df
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x44366e
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.0044346a
lea ecx, [esp + 0x10]
push ecx
mov bl, al
call fcn.004355b3
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044346a
lea edx, [esp + 0x10]
push edx
jmp 0x443643
push 1
push 0
push 0
push esi
call fcn.0044346a
lea edx, [esp + 0x10]
push edx
jmp 0x443643
mov eax, dword [esp + 4]
cmp byte [eax + 0x30], 0
mov ecx, dword [esp + 8]
je 0x44369c
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x44349d
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x44357c
Function at 0x444d9b
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
mov byte [0x497296], 0
test edi, edi
je 0x444de2
mov byte [0x497297], 1
call dword [0x482160]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
push 0x444078
push esi
push esi
mov dword [esp + 0x24], edi
call fcn.00414d5e
add esp, 0x18
mov esi, eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [0x482680]
mov edi, eax
test esi, esi
je 0x444e19
push 0xffffffffffffffff
push esi
mov byte [0x497297], 0
call dword [0x4822f8]
push esi
call dword [0x482308]
cmp byte [0x497296], 1
jne 0x444e2b
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x445c51
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041231a
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.00411b70
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x445cad
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x445ca4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
Function at 0x44bbdc
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x10]
push eax
call fcn.00443de0
mov ecx, dword [esp + 0xf4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00443d3a
xor esi, esi
test edi, edi
jbe 0x44bc2e
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call fcn.00443db2
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44bc1c
pop edi
pop esi
pop ebx
add esp, 0xdc
ret 0xc
Function at 0x452fce
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x430
push ebx
push ebp
push esi
mov esi, dword [esp + 0x440]
push edi
xor ebp, ebp
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00415db0
add esp, 0x10
push 0x18ee
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.0044bbdc
lea eax, [esp + 0x14]
push 0x487704
push eax
mov byte [esp + 0x20], 0
call fcn.00415dd0
add esp, 8
test eax, eax
jne 0x453162
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
inc ebp
call fcn.00415db0
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00415db0
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0044bbdc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
xor eax, eax
push edx
mov word [esp + ebx + 0x28], ax
call fcn.00412291
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.00415db0
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [esp + 0x40]
push 1
push eax
call fcn.00415db0
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.0044bbdc
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ecx
mov word [esp + ebx + 0x28], dx
call fcn.00412291
mov edi, dword [esp + 0x450]
lea edx, [esp + 0x238]
push edi
push edx
call fcn.00413fe4
add esp, 0x10
test eax, eax
je 0x453153
push 0x4876f8
push edi
call fcn.00413fe4
add esp, 8
test eax, eax
jne 0x453110
test ebp, ebp
je 0x453153
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.0041617c
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [esp + 0x24]
push 4
push edx
call fcn.00415db0
mov eax, dword [esp + 0x2c]
xor eax, 0x87bc
mov dword [esp + 0x2c], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.0041617c
add esp, 0x1c
jmp 0x452fe1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x430
ret 0xc
Function at 0x453174
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x694
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x6ac]
push esi
mov esi, dword [esp + 0x6a4]
mov edx, dword [esi + 4]
push edi
xor eax, eax
push ebx
mov word [esp + 0x50], ax
mov eax, dword [esi]
push edx
xor ecx, ecx
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov word [esp + 0x262], cx
mov dword [esp + 0x488], ebx
mov dword [esp + 0x2c], 1
call fcn.0041617c
mov edx, dword [esp + 0x6b8]
add esp, 0xc
lea ecx, [esp + 0x490]
push ecx
push edx
push esi
call fcn.00452fce
test eax, eax
je 0x45320c
lea eax, [ebx + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x1f]
push 1
push ecx
call fcn.00415db0
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.00415db0
mov ecx, dword [esi]
mov edi, dword [esp + 0x38]
push ecx
push 1
lea edx, [esp + 0x40]
push 4
push edx
xor edi, 0x87bc
call fcn.00415db0
mov ecx, dword [esi]
mov eax, dword [esp + 0x48]
push ecx
push 1
lea edx, [esp + 0x50]
xor eax, 0x87bc
push 4
push edx
mov dword [ebp], eax
call fcn.00415db0
mov eax, dword [esp + 0x58]
add esp, 0x40
xor eax, 0xa685
push 1
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x10
push eax
call fcn.0041617c
mov ecx, dword [ebp]
add esp, 0xc
push ecx
call fcn.004144ba
add esp, 4
push edi
mov dword [esp + 0x20], eax
call fcn.004144ba
mov edx, dword [esi]
add esp, 4
push edx
push 1
mov ebp, eax
push edi
push ebp
call fcn.00415db0
mov eax, dword [esi + 8]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push ebp
call fcn.0044bbdc
push edi
push ebp
lea ecx, [esp + 0x28]
push ecx
call fcn.00435f5d
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x20]
je 0x4532fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.00414688
add esp, 4
push ebp
call fcn.00414688
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
cmp byte [esp + 0x17], 1
jne 0x45335b
xor ecx, ecx
mov eax, 1
mov word [esp + 0x4c], cx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
xor edx, edx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x25a], dx
mov dword [esp + 0x480], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
call fcn.0044bd95
push ebp
call fcn.00414688
jmp 0x453369
mov edx, dword [esp + 0x1c]
push edx
call fcn.00414688
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x6b4]
mov ecx, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0x694
ret 0x10
Function at 0x463b5a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4ec
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x504]
mov eax, dword [0x48bb04]
mov ecx, dword [0x48bb08]
mov edx, dword [0x48bb0c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x48bb10]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov word [esp + 0x66], ax
mov eax, dword [0x48bb1c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
movzx eax, word [0x48bb28]
mov dword [esp + 0x24], ecx
movzx ecx, word [str.close]
mov dword [esp + 0x48], edx
mov edx, dword [0x48bb18]
mov word [esp + 0xa0], ax
xor eax, eax
mov word [esp + 0x50], cx
mov ecx, dword [str.closed]
mov dword [esp + 0x70], edx
mov edx, dword [0x48bb24]
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov word [esp + 0xb6], ax
and al, 0xb6
add byte [eax], al
add byte [edi], cl
mov bh, 5
xor al, 0xbb
dec eax
add byte [ebp + 4], bh

Function at 0x466bc3
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0xd0], 0
je 0x466c01
test al, al
je 0x466c01
lea eax, [esi + 0xd4]
push eax
call fcn.00435761
push esi
push 0
push 0x465fb6
call fcn.00416302
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
pop esi
ret 8
push eax
push esi
call fcn.00466a8e
pop esi
ret 8

Function at 0x466be6
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0xd0], 0
je 0x466c01
test al, al
je 0x466c01
lea eax, [esi + 0xd4]
push eax
call fcn.00435761
push esi
push 0
push 0x465fb6
call fcn.00416302
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
pop esi
ret 8
push eax
push esi
call fcn.00466a8e
pop esi
ret 8
Function at 0x478dae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov edi, ecx
cmp byte [0x4a7cc1], bl
je 0x478f46
mov eax, dword [0x4a7cc4]
cmp eax, ebx
je 0x478f46
mov edx, 3
mov word [eax + 0x38], dx
mov dword [eax + 0x40], ecx
mov word [eax + 0x98], dx
call dword [0x482304]
mov edx, dword [0x4a7cc4]
mov dword [edx + 0xa0], eax
mov eax, 3
mov word [edx + 0xa8], ax
mov ecx, dword [ebp + 0xf4]
push ecx
call fcn.0043864d
mov dword [edx + 0xb0], eax
cmp esi, ebx
je 0x478ec6
mov ecx, dword [esi + 4]
mov ebx, dword [0x482430]
mov eax, 8
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
add edx, 0x68
push edx
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
add eax, 0x58
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
add eax, 0x78
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, 3
mov word [eax + 0x88], cx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x90], edx
mov word [eax + 0xb8], cx
movzx ecx, word [esi]
test cx, cx
je 0x478eb7
movzx esi, cx
jmp 0x478eba
mov esi, dword [esi + 0x1c]
mov dword [eax + 0xc0], esi
test esi, esi
je 0x478ec6
mov edi, esi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x478edb
mov edi, eax
lea ebx, [esp + 0x10]
call fcn.0040f2d0
jmp 0x478efa
push edi
lea edx, [esp + 0x34]
push edx
call fcn.0044bb5c
mov edi, eax
lea esi, [esp + 0x10]
call fcn.0040f240
lea ecx, [esp + 0x30]
call fcn.00403220
mov eax, dword [0x4a7cc4]
add eax, 0x48
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0047768a
mov ecx, dword [0x4a7cc4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 8
call eax
mov edx, dword [ebp]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 4]
push 0
push ecx
add eax, ebp
call fcn.00404ce0
lea esi, [esp + 0x10]
call fcn.00409ec0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x14
mov eax, dword [ebp]
mov eax, dword [eax + 4]
push ebx
push ecx
add eax, ebp
call fcn.00404ce0
cmp byte [esp + 0x54], bl
je 0x478f31
lea esi, [esp + 0x10]
call fcn.00409ec0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0x14
Function at 0x40c300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46917b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x489328]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40c438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045de81
xor eax, eax
jmp 0x40c4af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045dfbe
push esi
lea ecx, [esp + 0xc]
call fcn.0045e24d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c48d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040c290
test eax, eax
jne 0x40c48d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0040c290
test eax, eax
jne 0x40c48d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044f940
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c46c
lea ecx, [esp + 0x14]
push 0x482d6c
push ecx
call fcn.0044f8c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c46c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c46f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045df6e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c37e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045de81
xor eax, eax
jmp 0x40c4af
mov byte [esi], 0
push 0x482d68
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045de81
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x424db0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x424f48
cmp ebp, ebx
jle 0x424f48
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x424e0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x424e15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x424e24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x424e2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045dbc2
add esp, 4
cmp eax, ebx
je 0x424e4c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0045dbc2
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x424f3e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x424f25
mov al, byte [edx]
cmp al, 0xc0
jbe 0x424f11
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x424f06
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x424f14
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x424f14
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x424eb0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x424ea1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4099e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 8]
push 0xfffffffffffffff0
add ecx, 0x646c6f47
pop esi
xor word [eax + 0xc], cx
xor word [eax + 0xe], cx
xor dword [eax + 0x110], ecx
xor byte [eax + 0x114], cl
mov dword [ebp + 8], ecx
lea ecx, [eax + 0x10]
sub esi, eax
mov edi, 0x100
lea eax, [ecx + esi]
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 8]
xor byte [ecx], al
inc ecx
dec edi
jne 0x409a1e
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x409a36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], 0x100
add eax, 0x646c6f47
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 7]
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp - 4]
xor al, byte [esi + edi]
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0x409a60
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409a7d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x409aa5
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x409ad9
dec eax
je 0x409ab9
dec eax
je 0x409acb
jmp 0x409aa1
cmp dword [ebp - 0x8c], ecx
jne 0x409ac5
push 4
jmp 0x409adb
jbe 0x409acb
push 5
jmp 0x409adb
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x409ade
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x48
mov eax, dword [edi]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esi + 3], al
mov eax, dword [edi + 8]
mov byte [esi + 2], cl
mov eax, dword [eax]
mov dword [esi + 4], eax
call fcn.00409b7b
mov dword [esi + 8], eax
lea ecx, [eax + 0x646c6f47]
mov eax, dword [edi]
mov dword [ebp + 8], ecx
mov dx, word [eax + 2]
xor dx, cx
mov word [esi + 0xc], dx
mov edx, dword [eax + 0x12]
mov edx, dword [edx]
xor edx, ecx
mov dword [esi + 0x110], edx
mov dx, word [eax + 8]
xor dx, cx
mov word [esi + 0xe], dx
mov dl, byte [eax + 0x16]
xor dl, cl
mov byte [esi + 0x114], dl
mov dx, word [eax + 4]
test dx, dx
jbe 0x409b77
mov edi, dword [eax + 0xe]
push ebx
movzx eax, dx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 4
cdq
pop esi
idiv esi
mov al, byte [edx + ebp + 8]
xor al, byte [edi + ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0x409b5e
pop ebx
pop edi
pop esi
pop ebp
ret