joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a04d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x52be6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xcd8]
mov dword [esp + 0x20], 0x1d
call fcn.005190a9
lea ecx, [esi + 0xc9c]
mov byte [esp + 0x20], 0x1c
call fcn.005193e8
lea ecx, [esi + 0xc60]
mov byte [esp + 0x20], 0x1b
call fcn.005190a9
lea ecx, [esi + 0xc24]
mov byte [esp + 0x20], 0x1a
call fcn.005193e8
lea ecx, [esi + 0xbe8]
mov byte [esp + 0x20], 0x19
call fcn.005193e8
lea ecx, [esi + 0xbac]
mov byte [esp + 0x20], 0x18
call fcn.005193e8
lea ecx, [esi + 0xb70]
mov byte [esp + 0x20], 0x17
call fcn.005193e8
lea ecx, [esi + 0xb34]
mov byte [esp + 0x20], 0x16
call fcn.005193e8
lea ecx, [esi + 0xaf8]
mov byte [esp + 0x20], 0x15
call fcn.005193e8
lea ecx, [esi + 0xabc]
mov byte [esp + 0x20], 0x14
call fcn.005193e8
lea ecx, [esi + 0xa80]
mov byte [esp + 0x20], 0x13
call fcn.005193e8
lea ecx, [esi + 0xa44]
mov byte [esp + 0x20], 0x12
call fcn.005193e8
lea ecx, [esi + 0xa08]
mov byte [esp + 0x20], 0x11
call fcn.005193e8
lea ecx, [esi + 0x9cc]
mov byte [esp + 0x20], 0x10
call fcn.005193e8
lea ecx, [esi + 0x990]
mov byte [esp + 0x20], 0xf
call fcn.005190a9
mov byte [esp + 0x20], 0xe
lea ecx, [esi + 0x954]
call fcn.005192e0
lea ecx, [esi + 0x918]
mov byte [esp + 0x20], 0xd
call fcn.005192e0
lea ecx, [esi + 0x8dc]
mov byte [esp + 0x20], 0xc
call fcn.005190e1
lea ecx, [esi + 0x8a0]
mov byte [esp + 0x20], 0xb
call fcn.005190e1
lea ecx, [esi + 0x864]
mov byte [esp + 0x20], 0xa
call fcn.005190e1
lea ecx, [esi + 0x828]
mov byte [esp + 0x20], 9
call fcn.005190e1
lea ecx, [esi + 0x7ec]
mov byte [esp + 0x20], 8
call fcn.005190e1
lea ecx, [esi + 0x7b0]
mov byte [esp + 0x20], 7
call fcn.005190e1
lea ecx, [esi + 0x774]
mov byte [esp + 0x20], 6
call fcn.005190e1
lea ecx, [esi + 0x738]
mov byte [esp + 0x20], 5
call fcn.005190e1
lea ecx, [esi + 0x6fc]
mov byte [esp + 0x20], 4
call fcn.005036fe
lea ecx, [esi + 0x6c0]
mov byte [esp + 0x20], 3
call fcn.005036fe
lea edi, [esi + 0x608]
mov dword [esp + 0x10], edi
lea ecx, [edi + 0x98]
mov byte [esp + 0x20], 0x21
call fcn.005049b2
lea ecx, [edi + 0x8c]
mov byte [esp + 0x20], 0x20
call fcn.005097eb
lea ebx, [edi + 0x78]
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 4]
mov byte [esp + 0x20], 0x22
call fcn.005097eb
mov ecx, ebx
mov byte [esp + 0x20], 0x1f
call fcn.005097eb
lea ebx, [edi + 0x50]
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 0x10]
mov byte [esp + 0x20], 0x24
call fcn.005097eb
lea ecx, [ebx + 4]
mov byte [esp + 0x20], 0x23
call fcn.005097eb
mov ecx, ebx
mov byte [esp + 0x20], 0x1e
call fcn.005097eb
lea ecx, [edi + 0x40]
mov byte [esp + 0x20], 2
call fcn.005097eb
lea ecx, [esi + 0x160]
mov byte [esp + 0x20], 1
call fcn.00464600
lea ecx, [esi + 0x150]
mov byte [esp + 0x20], 0
call fcn.004d3360
mov dword [esp + 0x20], 0x26
lea ecx, [esi + 0xd0]
call fcn.004a6fd0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x20], 0x25
call fcn.004a6fd0
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.0050a001
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4a5ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52c2a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0xffffffff
call fcn.005039a5
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], 0x53b784
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi], 0x53b750
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4ad070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52ca38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.004ad8e0
mov esi, eax
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.004a5bd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push esi
push ebx
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004ad110
mov ecx, esi
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.004a5be0
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x4d3fe0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
add ecx, 0xffffff4f
cmp ecx, 0x50
ja case.0x4d3ff5.178
jmp dword [ecx*4 + 0x4d4210]
mov dword [eax], 0x71
ret 4
mov dword [eax], 0x77
ret 4
mov dword [eax], 0x65
ret 4
mov dword [eax], 0x72
ret 4
mov dword [eax], 0x74
ret 4
mov dword [eax], 0x79
ret 4
mov dword [eax], 0x75
ret 4
mov dword [eax], 0x69
ret 4
mov dword [eax], 0x6f
ret 4
mov dword [eax], 0x70
ret 4
mov dword [eax], 0x61
ret 4
mov dword [eax], 0x73
ret 4
mov dword [eax], 0x64
ret 4
mov dword [eax], 0x66
ret 4
mov dword [eax], 0x67
ret 4
mov dword [eax], 0x68
ret 4
mov dword [eax], 0x6a
ret 4
mov dword [eax], 0x6b
ret 4
mov dword [eax], 0x6c
ret 4
mov dword [eax], 0x27
ret 4
mov dword [eax], 0x7a
ret 4
mov dword [eax], 0x78
ret 4
mov dword [eax], 0x63
ret 4
mov dword [eax], 0x76
ret 4
mov dword [eax], 0x62
ret 4
mov dword [eax], 0x6e
ret 4
mov dword [eax], 0x6d
ret 4
mov dword [eax], 0x60
ret 4
mov dword [eax], 0x46
ret 4
mov dword [eax], 0x2c
ret 4
mov dword [eax], 0x44
ret 4
mov dword [eax], 0x55
ret 4
mov dword [eax], 0x4c
ret 4
mov dword [eax], 0x54
ret 4
mov dword [eax], 0x3b
ret 4
mov dword [eax], 0x50
ret 4
mov dword [eax], 0x42
ret 4
mov dword [eax], 0x51
ret 4
mov dword [eax], 0x52
ret 4
mov dword [eax], 0x4b
ret 4
mov dword [eax], 0x56
ret 4
mov dword [eax], 0x59
ret 4
mov dword [eax], 0x4a
ret 4
mov dword [eax], 0x47
ret 4
mov dword [eax], 0x48
ret 4
mov dword [eax], 0x43
ret 4
mov dword [eax], 0x4e
ret 4
mov dword [eax], 0x45
ret 4
mov dword [eax], 0x41
ret 4
mov dword [eax], 0x5b
ret 4
mov dword [eax], 0x57
ret 4
mov dword [eax], 0x58
ret 4
mov dword [eax], 0x49
ret 4
mov dword [eax], 0x4f
ret 4
mov dword [eax], 0x5d
ret 4
mov dword [eax], 0x4d
ret 4
mov dword [eax], 0x53
ret 4
mov dword [eax], 0x2e
ret 4
mov dword [eax], 0x5a
ret 4
Function at 0x4d83d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530f39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x440], 0
push eax
call fcn.00501956
mov ecx, dword [eax]
push 0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00501969
mov ebx, dword [eax]
push 0
lea ecx, [esp + 0x18]
call fcn.00501969
mov edx, dword [eax + 4]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
call fcn.00501969
mov eax, dword [eax + 8]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.00501969
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
call fcn.00501969
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x18]
inc esi
call fcn.00501969
mov edi, dword [eax + 0x14]
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x14]
push str._n_02d._02d._02d_t_02d:_02d:_02d
push eax
add edi, 0x76c
call fcn.00509af4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push ebx
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push esi
push edi
lea edx, [esp + 0x50]
push eax
push edx
call fcn.004f0f4c
add esp, 0x20
lea ecx, [esp + 0x10]
call fcn.005097eb
lea ecx, [esp + 0x24]
call fcn.0050b471
lea esi, [ebp + 4]
push str.Journal.txt
lea eax, [esp + 0x14]
push esi
push eax
mov byte [esp + 0x44c], 1
call fcn.00509a80
mov eax, dword [eax]
push 0
push 1
mov byte [esp + 0x448], 2
push eax
lea ecx, [esp + 0x30]
call fcn.0050b4e6
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x440], 1
sete bl
call fcn.005097eb
test bl, bl
je 0x4d857b
push str.Journal.txt
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00509a80
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x44c], 3
call fcn.0050b4e6
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x440], 1
sete bl
call fcn.005097eb
test bl, bl
je 0x4d857b
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 0
call fcn.0050b4a3
lea ecx, [esp + 0x448]
mov dword [esp + 0x440], 0xffffffff
call fcn.005097eb
xor al, al
jmp 0x4d85cb
mov edx, dword [esp + 0x24]
push 2
push 0
lea ecx, [esp + 0x2c]
call dword [edx + 0x28]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call fcn.0050b659
lea ecx, [esp + 0x24]
call fcn.0050b816
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 0
call fcn.0050b4a3
lea ecx, [esp + 0x448]
mov dword [esp + 0x440], 0xffffffff
call fcn.005097eb
mov al, 1
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x434
ret 4
Function at 0x4d9630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x531010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call fcn.0049f3b0
xor ebx, ebx
mov dword [esi + 0x2c], 0x53d58c
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 1
call fcn.0050497f
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 2
call fcn.00504d79
mov eax, dword [0x565124]
mov dword [esi + 0x70], eax
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 4
call fcn.004d3310
mov ecx, dword [0x565124]
mov dword [esi + 0xb0], ecx
mov edx, dword [0x565124]
mov dword [esi + 0xb4], edx
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 7
call fcn.00504d79
lea ecx, [esi + 0xd4]
mov byte [esp + 0x14], 8
call fcn.00504d79
lea ecx, [esi + 0xe8]
mov byte [esp + 0x14], 9
call fcn.00504d79
lea ecx, [esi + 0xfc]
mov byte [esp + 0x14], 0xa
call fcn.00504d79
lea ecx, [esi + 0x110]
mov byte [esp + 0x14], 0xb
call fcn.00504d79
lea ecx, [esi + 0x124]
mov byte [esp + 0x14], 0xc
call fcn.00504d79
lea ecx, [esi + 0x138]
mov byte [esp + 0x14], 0xd
call fcn.00504d79
lea ecx, [esi + 0x14c]
mov byte [esp + 0x14], 0xe
call fcn.00504d79
mov dword [esi + 0x160], 0x53d580
mov dword [esi + 0x164], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x1a8], 0x53d574
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1c0], 0x53d568
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1cc], ebx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1d4], 0x53d55c
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi], 0x53d558
mov dword [esi + 0x6c], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov byte [esi + 0x88], bl
mov dword [esi + 0xa4], 0x42c80000
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b2310
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x77000]
mov dword [edi + 0xa5098], 0xbc72391c
push edi
jmp 0x4b233a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b2341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2330
mov eax, 1
add ebx, ebx
jne 0x4b2353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b2364
jne 0x4b2383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2383
dec eax
add ebx, ebx
jne 0x4b2370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b2348
add ebx, ebx
jne 0x4b237f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b23d5
xor ecx, ecx
sub eax, 3
jb 0x4b239b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b240a
sar eax, 1
mov ebp, eax
jmp 0x4b23a6
add ebx, ebx
jne 0x4b23a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2374
inc ecx
add ebx, ebx
jne 0x4b23b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2374
add ebx, ebx
jne 0x4b23c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b23b6
jne 0x4b23d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b23b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b23f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b23e6
jmp 0x4b2336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b23f4
add edi, ecx
jmp 0x4b2336
pop esi
mov edi, esi
mov ecx, 0x3ada
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b2412
cmp byte [edi], 0x11
jne 0x4b2412
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 0x4b2417
lea edi, [esi + 0xad000]
mov eax, dword [edi]
or eax, eax
je 0x4b248f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb21dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb22cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b2444
mov ecx, edi
jns 0x4b2473
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 + 0xb22d0]
or eax, eax
je 0x4b2489
mov dword [ebx], eax
add ebx, 4
jmp 0x4b2461
call dword [esi + 0xb22e0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4b24c0
cmp al, 0xef
ja 0x4b24b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4b2495
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4b24a2
mov ebp, dword [esi + 0xb22d4]
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 0x4b24f4
sub esp, 0xffffff80
jmp 0x43aea8
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x405a12
pop dword [ebp - 0x4c]
mov eax, 0x405a12
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xeaa13c4c
sub dword [ebp - 0x5c], 0x9c4ef701
mov dword [ebp - 0x58], 0x7f7cab1f
sub dword [ebp - 0x58], 0x4d495eda
mov dword [ebp - 0x54], 0x6b2e70c7
add dword [ebp - 0x54], 0xe11dd367
mov dword [ebp - 0x50], 0xceaad802
sub dword [ebp - 0x50], 0xceaad802
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x3dd705cb
add dword [ebp - 0x5c], 0x369b638b
mov dword [ebp - 0x58], 0x2c2b9c20
add dword [ebp - 0x58], 0x1540c555
mov dword [ebp - 0x54], 0x29f57e40
sub dword [ebp - 0x54], 0xc68611d4
mov dword [ebp - 0x50], 0x46b0dcfc
add dword [ebp - 0x50], 0xb94f2304
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x1b0b9195
add eax, 0xe534ef6b
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x36420
push 0
call eax
mov ecx, 0x74fefb12
add ecx, 0x8b014a0a
mov esi, eax
mov edx, 0x8b97b994
add edx, 0x74af2a6c
add edx, dword [ebp - 0x4c]
mov ebx, 0x643142a1
sub ebx, 0x7a25c043
xor dword [ebp - 8], ecx
mov edi, dword [edx]
sub dword [ebp - 8], ebx
add edi, ebx
mov dword [ebp - 0x40], 0xc1fd2a8f
mov dword [esi], edi
sub dword [ebp - 0xc], 0x32387977
add esi, 4
add edx, 0x9200d6d7
add edx, 0x6dff292d
loop 0x405b2a
add eax, 0x4fadb8ff
add eax, 0xb0534e44
xor ebx, ebx
add ebx, eax
add eax, 0x8f9dfdcb
add eax, 0x7062023a
mov ecx, 0x9a5ced1
add ecx, 0xf69a312f
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x10008a50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007a28b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.1006f354
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10008ad2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1006d267
mov eax, dword [eax]
push 0x10094c40
push eax
call fcn.1005ff74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1006f5df
test bl, bl
je 0x10008ad2
push 0x10094c40
lea ecx, [esp + 0xc]
call fcn.1006f96f
push 0x10094c4c
lea ecx, [esp + 0xc]
call fcn.1006f96f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x10008b0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1006f5df
jmp 0x10008bd9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10008b92
lea edx, [esp + 0x7c]
push 0x10094c48
push edx
call fcn.1005ff74
add esp, 8
test eax, eax
je 0x10008b92
lea eax, [esp + 0x7c]
push 0x10094c44
push eax
call fcn.1005ff74
add esp, 8
test eax, eax
je 0x10008b92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10008b22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.1006f5df
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x100093d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10009432
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10009440
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007a30b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1009e6cc]
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 0x10009578
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100094a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006f5df
xor eax, eax
jmp 0x100095ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1006f71c
push esi
lea ecx, [esp + 0xc]
call fcn.1006f9ab
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 0x100095cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.100093d0
test eax, eax
jne 0x100095cd
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 closesocket
mov ecx, edi
call fcn.100093d0
test eax, eax
jne 0x100095cd
lea eax, [esp + 0x14]
push 0x10094c5c
push eax
call fcn.10060ff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100095ac
lea ecx, [esp + 0x14]
push 0x10094c58
push ecx
call fcn.10060f70
mov esi, eax
add esp, 8
test esi, esi
jne 0x100095ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100095af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1006f6cc
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100094be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006f5df
xor eax, eax
jmp 0x100095ef
mov byte [esi], 0
push 0x10094c54
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.1006f5df
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