joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4186b5
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x970
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x84b0]
cmp dword [eax + 4], 0
lea esi, [edi + 0x8d50]
je 0x4186e4
mov eax, dword [eax + 8]
mov edx, dword [esi]
add eax, 0x68
push eax
mov ecx, esi
call dword [edx + 8]
mov eax, esi
call fcn.00412edf
test al, al
je 0x418700
push 0xffffffffffffffff
mov ecx, 0x4a6
call fcn.0040753b
jmp 0x41885f
mov esi, dword [edi + 0x84c0]
and dword [ebp - 0xc], 0
test esi, esi
mov byte [ebp - 5], 0
je 0x418722
cmp byte [edi + 0x84c5], 0
jne 0x418722
mov bl, 1
call fcn.00456bca
lea eax, [edi + 0x8d50]
push eax
call fcn.00404dfd
movzx eax, al
test eax, eax
pop ecx
je 0x41878f
mov eax, dword [edi + 0x84c0]
test eax, eax
je 0x418796
cmp byte [eax + 5], 0
je 0x418796
lea eax, [ebp - 0x16c]
push eax
mov esi, 0x15d
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jbe 0x418796
cmp eax, esi
jae 0x418796
lea eax, [edi + 0x8d54]
cmp dword [eax + 0x18], 0x10
jb 0x418772
mov eax, dword [eax + 4]
jmp 0x418775
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x418786
mov byte [ebp - 5], 1
jmp 0x418796
mov dword [ebp - 0xc], 0x3f2
jmp 0x418796
mov dword [ebp - 0xc], 0x3f3
mov esi, dword [edi + 0x84c0]
test esi, esi
je 0x4187a7
xor bl, bl
call fcn.00456bca
cmp byte [ebp - 5], 0
je 0x4187ba
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp - 0xc], 0
jne 0x418829
lea ebx, [edi + 0x84b8]
mov ecx, dword [ebx]
lea esi, [edi + 0x8d50]
mov eax, esi
call fcn.004090da
mov eax, dword [ebx]
call fcn.0040476d
cmp byte [edi + 0x8174], 0
je 0x418802
mov ebx, 0x4a4fb0
push ebx
lea ecx, [edi + 0x48]
push edi
call fcn.0040d12f
test al, al
jne 0x418802
push ebx
lea ecx, [edi + 0x6c]
push edi
call fcn.0040d12f
mov eax, esi
mov esi, dword [edi + 0x84b0]
mov dword [ebp - 0xc], 0x3f4
call fcn.0040af33
mov edi, dword [edi + 0x84b0]
push 0
push 0x12
pop ecx
call fcn.0040af8d
mov edi, dword [ebp + 8]
lea eax, [edi + 0x8d78]
cmp dword [eax + 0x18], 0x10
jb 0x41883a
mov eax, dword [eax + 4]
jmp 0x41883d
add eax, 4
mov ecx, dword [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.0040753b
push eax
lea eax, [ebp - 0x96c]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x96c]
mov ecx, edi
push eax
call fcn.0040e4b9
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41b90f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4984b6
call fcn.00497a30
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00483124
and dword [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.00483124
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.00483124
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 2
call fcn.00483124
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 3
call fcn.00483124
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 4
call fcn.00483124
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 5
call fcn.00483124
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 6
call fcn.00483124
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 7
call fcn.00483124
lea ecx, [esi + 0x144]
mov byte [ebp - 4], 8
call fcn.00483124
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 9
call fcn.00483124
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 0xa
call fcn.00483124
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0xb
call fcn.00483124
lea ecx, [esi + 0x1d4]
mov byte [ebp - 4], 0xc
call fcn.00483124
lea ecx, [esi + 0x1f8]
mov byte [ebp - 4], 0xd
call fcn.00483124
lea ecx, [esi + 0x21c]
mov byte [ebp - 4], 0xe
call fcn.00483124
lea ecx, [esi + 0x240]
mov byte [ebp - 4], 0xf
call fcn.00483124
lea ecx, [esi + 0x264]
mov byte [ebp - 4], 0x10
call fcn.00483124
lea ecx, [esi + 0x288]
mov byte [ebp - 4], 0x11
call fcn.00483124
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x2ac]
call fcn.00483124
lea ecx, [esi + 0x2d0]
mov byte [ebp - 4], 0x13
call fcn.00483124
lea ecx, [esi + 0x2f4]
mov byte [ebp - 4], 0x14
call fcn.00483124
lea ecx, [esi + 0x318]
mov byte [ebp - 4], 0x15
call fcn.00483124
lea ecx, [esi + 0x33c]
mov byte [ebp - 4], 0x16
call fcn.00483124
lea ecx, [esi + 0x360]
mov byte [ebp - 4], 0x17
call fcn.00483124
lea ecx, [esi + 0x384]
mov byte [ebp - 4], 0x18
call fcn.00483124
lea ecx, [esi + 0x3a8]
mov byte [ebp - 4], 0x19
call fcn.00483124
lea ecx, [esi + 0x3cc]
mov byte [ebp - 4], 0x1a
call fcn.00483124
lea ecx, [esi + 0x3f0]
mov byte [ebp - 4], 0x1b
call fcn.00483124
lea ecx, [esi + 0x414]
mov byte [ebp - 4], 0x1c
call fcn.00483124
lea ecx, [esi + 0x438]
mov byte [ebp - 4], 0x1d
call fcn.00483124
lea ecx, [esi + 0x45c]
mov byte [ebp - 4], 0x1e
call fcn.00483124
lea ecx, [esi + 0x480]
mov byte [ebp - 4], 0x1f
call fcn.00483124
lea ecx, [esi + 0x4a4]
mov byte [ebp - 4], 0x20
call fcn.00483124
lea ecx, [esi + 0x4c8]
mov byte [ebp - 4], 0x21
call fcn.00483124
lea ecx, [esi + 0x4ec]
mov byte [ebp - 4], 0x22
call fcn.00483124
lea ecx, [esi + 0x510]
mov byte [ebp - 4], 0x23
call fcn.00483124
lea ecx, [esi + 0x534]
mov byte [ebp - 4], 0x24
call fcn.00483124
lea ecx, [esi + 0x558]
mov byte [ebp - 4], 0x25
call fcn.00483124
lea ecx, [esi + 0x57c]
mov byte [ebp - 4], 0x26
call fcn.00483124
lea ecx, [esi + 0x5a0]
mov byte [ebp - 4], 0x27
call fcn.00483124
lea ecx, [esi + 0x5c4]
mov byte [ebp - 4], 0x28
call fcn.00483124
lea ecx, [esi + 0x5e8]
mov byte [ebp - 4], 0x29
call fcn.00483124
lea ecx, [esi + 0x60c]
mov byte [ebp - 4], 0x2a
call fcn.00483124
lea ecx, [esi + 0x630]
mov byte [ebp - 4], 0x2b
call fcn.00483124
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41bbc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4984b6
call fcn.00497a30
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x630]
mov dword [ebp - 4], 0x2b
call fcn.004833a3
lea ecx, [esi + 0x60c]
mov byte [ebp - 4], 0x2a
call fcn.004833a3
lea ecx, [esi + 0x5e8]
mov byte [ebp - 4], 0x29
call fcn.004833a3
lea ecx, [esi + 0x5c4]
mov byte [ebp - 4], 0x28
call fcn.004833a3
lea ecx, [esi + 0x5a0]
mov byte [ebp - 4], 0x27
call fcn.004833a3
lea ecx, [esi + 0x57c]
mov byte [ebp - 4], 0x26
call fcn.004833a3
lea ecx, [esi + 0x558]
mov byte [ebp - 4], 0x25
call fcn.004833a3
lea ecx, [esi + 0x534]
mov byte [ebp - 4], 0x24
call fcn.004833a3
lea ecx, [esi + 0x510]
mov byte [ebp - 4], 0x23
call fcn.004833a3
lea ecx, [esi + 0x4ec]
mov byte [ebp - 4], 0x22
call fcn.004833a3
lea ecx, [esi + 0x4c8]
mov byte [ebp - 4], 0x21
call fcn.004833a3
lea ecx, [esi + 0x4a4]
mov byte [ebp - 4], 0x20
call fcn.004833a3
lea ecx, [esi + 0x480]
mov byte [ebp - 4], 0x1f
call fcn.004833a3
lea ecx, [esi + 0x45c]
mov byte [ebp - 4], 0x1e
call fcn.004833a3
lea ecx, [esi + 0x438]
mov byte [ebp - 4], 0x1d
call fcn.004833a3
lea ecx, [esi + 0x414]
mov byte [ebp - 4], 0x1c
call fcn.004833a3
lea ecx, [esi + 0x3f0]
mov byte [ebp - 4], 0x1b
call fcn.004833a3
lea ecx, [esi + 0x3cc]
mov byte [ebp - 4], 0x1a
call fcn.004833a3
lea ecx, [esi + 0x3a8]
mov byte [ebp - 4], 0x19
call fcn.004833a3
lea ecx, [esi + 0x384]
mov byte [ebp - 4], 0x18
call fcn.004833a3
lea ecx, [esi + 0x360]
mov byte [ebp - 4], 0x17
call fcn.004833a3
lea ecx, [esi + 0x33c]
mov byte [ebp - 4], 0x16
call fcn.004833a3
lea ecx, [esi + 0x318]
mov byte [ebp - 4], 0x15
call fcn.004833a3
lea ecx, [esi + 0x2f4]
mov byte [ebp - 4], 0x14
call fcn.004833a3
lea ecx, [esi + 0x2d0]
mov byte [ebp - 4], 0x13
call fcn.004833a3
lea ecx, [esi + 0x2ac]
mov byte [ebp - 4], 0x12
call fcn.004833a3
lea ecx, [esi + 0x288]
mov byte [ebp - 4], 0x11
call fcn.004833a3
lea ecx, [esi + 0x264]
mov byte [ebp - 4], 0x10
call fcn.004833a3
lea ecx, [esi + 0x240]
mov byte [ebp - 4], 0xf
call fcn.004833a3
lea ecx, [esi + 0x21c]
mov byte [ebp - 4], 0xe
call fcn.004833a3
lea ecx, [esi + 0x1f8]
mov byte [ebp - 4], 0xd
call fcn.004833a3
lea ecx, [esi + 0x1d4]
mov byte [ebp - 4], 0xc
call fcn.004833a3
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0xb
call fcn.004833a3
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 0xa
call fcn.004833a3
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 9
call fcn.004833a3
lea ecx, [esi + 0x144]
mov byte [ebp - 4], 8
call fcn.004833a3
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 7
call fcn.004833a3
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 6
call fcn.004833a3
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 5
call fcn.004833a3
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 4
call fcn.004833a3
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 3
call fcn.004833a3
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 2
call fcn.004833a3
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.004833a3
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 0
call fcn.004833a3
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004833a3
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41cca2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x498528
call fcn.00497a30
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov al, byte [esi + 8]
mov byte [ebx + 8], al
mov al, byte [esi + 9]
mov byte [ebx + 9], al
push edi
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0xc]
call fcn.00483187
and dword [ebp - 4], 0
add esi, 0x30
push 5
pop ecx
lea edi, [ebx + 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x48]
lea esi, [ebx + 0x48]
call fcn.0041cd15
mov eax, dword [edi + 0x74]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x74], eax
mov eax, dword [edi + 0x78]
pop edi
mov dword [ebx + 0x78], eax
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x421ecd
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bb2b0]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x421ee4
mov al, byte [eax + 0x70]
jmp 0x421ee6
xor al, al
mov byte [ebp - 1], al
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push ebx
push str.SOFTWARECat_SoftServ_U
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421f83
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov esi, str.UPnPConfigure
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421f79
cmp dword [ebp - 8], ebx
mov eax, str.1_la
jne 0x421f3e
mov eax, 0x4a4924
push eax
mov eax, dword [0x4bb2b0]
push str.UseUPnP
push str.GLOBAL
call fcn.00473845
cmp dword [ebp - 8], ebx
mov eax, dword [0x4bb2b0]
setne cl
mov byte [eax + 0x70], cl
cmp dword [ebp - 8], ebx
je 0x421f6f
mov byte [ebp - 1], 1
call fcn.004713e0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret

Function at 0x426af1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
lea eax, [ebp - 0x140]
push str.CLSID_
push eax
mov bl, 1
mov dword [ebp - 4], 0xc8
call sub.MSVCR71.dll_strcpy
push dword [ebp + 8]
lea eax, [ebp - 0x140]
push eax
call sub.MSVCR71.dll_strcat
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x140]
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426bee
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x426b6e
xor bl, bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x426bee
mov eax, dword [ebp - 4]
test eax, eax
mov dword [ebp - 0xc], eax
jbe 0x426b97
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00482557
pop ecx
pop ecx
cmp dword [ebp - 0x10], 1
jne 0x426bee
cmp dword [ebp - 0xc], 0x1c
jne 0x426bee
push 0x1c
lea eax, [ebp - 0x140]
push eax
push edi
call sub.MSVCR71.dll_memcpy
lea eax, [ebp - 0x78]
push eax
call fcn.0048d781
push 0xc
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0048e00f
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0048e0aa
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call sub.MSVCR71.dll_memcmp
add esp, 0x30
neg eax
sbb al, al
inc al
jmp 0x426bf0
xor al, al
pop ebx
leave
ret 4
Function at 0x426c8a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push esi
push edi
xor esi, esi
xor edi, edi
call fcn.00467a1c
test al, al
je 0x426ccf
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x10]
lea eax, [ebp - 0x100]
push str.CLSID_
push eax
call sub.MSVCR71.dll_strcpy
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCR71.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push esi
push esi
push esi
lea eax, [ebp - 0x100]
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x426da5
lea eax, [ebp - 0x158]
push eax
call fcn.0048d781
push 0xc
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0048e00f
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0048e0aa
push 0x10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0xc]
push eax
call sub.MSVCR71.dll_memcpy
push 0x1c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
push eax
call sub.MSVCR71.dll_memcpy
lea eax, [ebp - 0x100]
push 0x1c
push eax
call fcn.004824f8
lea eax, [ebp - 0x100]
push eax
call sub.MSVCR71.dll_strlen
add esp, 0x3c
inc eax
push eax
lea eax, [ebp - 0x100]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 0x20
Function at 0x431643
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push str.Serv_UID.txt
mov esi, 0x15e
lea eax, [ebp - 0x168]
push esi
push eax
mov byte [ebp - 1], 0
call fcn.00482bb8
push 4
pop ebx
lea eax, [ebp - 0x168]
push 2
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 0x14
test eax, eax
jne 0x431727
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 5]
call fcn.0048d5b8
test al, al
push esi
lea eax, [ebp - 0x428]
push eax
jne 0x4316bb
push 0x7f4
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringA]
push 2
pop ebx
jmp 0x4316df
push 0x7f5
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringA]
push dword [ebp + 8]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 5]
call fcn.0048d38b
mov byte [ebp - 1], 1
push ebx
lea eax, [ebp - 0x428]
push eax
push 0x12
or ecx, 0xffffffff
call fcn.0041b091
push str.Serv_UID.old
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.00482bb8
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.MSVCR71.dll__unlink]
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.MSVCR71.dll_rename]
add esp, 0x24
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 4

Function at 0x433360
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, eax
push 5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xc5
push dword [esi + 0x1c]
call edi
push 0
push dword [esi + 0x20]
push 0x30
push dword [esi + 0x1c]
call edi
push 1
call fcn.004333a2
pop edi
pop esi
ret

Function at 0x4336a8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4a07ee
call fcn.00497a30
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], 0x4a5978
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 1
push esi
mov dword [esi + 8], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
call fcn.00469371
push ebx
mov byte [esi + 0x24], bl
mov byte [esi + 5], bl
mov byte [esi + 4], bl
call dword [sym.imp.MSVCR71.dll_time]
pop ecx
push eax
call dword [sym.imp.MSVCR71.dll_srand]
pop ecx
push esi
call fcn.00433da3
push esi
call fcn.0043403d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x452fea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x49817b
call fcn.00497a30
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + 0xc]
call fcn.00483124
and dword [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00483124
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00483124
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 2
call fcn.00483124
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 3
call fcn.00483124
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 4
call fcn.00483124
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 5
call fcn.00483124
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 6
call fcn.00483124
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 7
call fcn.00483124
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x453080
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x49817b
call fcn.00497a30
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x12c]
mov dword [ebp - 4], 7
call fcn.004833a3
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 6
call fcn.004833a3
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 5
call fcn.004833a3
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 4
call fcn.004833a3
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 3
call fcn.004833a3
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 2
call fcn.004833a3
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.004833a3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0
call fcn.004833a3
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004833a3
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x465e2a
Capabilities:
Create mailslot
Get hostname
Get session user name

Disassembly:
mov eax, 0x49acbf
call fcn.00497a30
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004843b0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x20]
mov dword [edi], 0x4a7990
call fcn.00483124
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 1
call fcn.00483124
lea esi, [edi + 0x84]
push esi
mov byte [ebp - 4], 2
call fcn.00466001
lea eax, [edi + 0xf0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [edi + 0x100]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp + 0xc]
push edi
mov byte [ebp - 4], 5
call fcn.004669cb
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push str.NETAPI32.DLL
mov dword [edi + 0x68], eax
mov byte [edi + 0x71], bl
mov byte [edi + 0x70], bl
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [edi + 0x78], eax
je 0x465edc
push str.NetUserGetInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
cmp eax, ebx
je 0x465ef5
push str.NetApiBufferFree
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x80], eax
push str..mailslot_
lea ecx, [ebp - 0x54]
call fcn.00483141
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
push str.RegCheckServ_U
lea ecx, [ebp - 0x54]
call dword [eax + 0x14]
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x465f20
lea eax, [ebp - 0x4c]
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
cmp eax, 0xffffffff
mov dword [edi + 0x74], eax
je 0x465fc6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], 0x1e
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
mov eax, dword [esi]
je 0x465f57
lea ecx, [ebp - 0x30]
push ecx
jmp 0x465f5c
push str.Unknown
mov ecx, esi
call dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], 0x1e
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x465fb4
lea ecx, [edi + 0xa8]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call fcn.00466312
lea ecx, [edi + 0xcc]
mov byte [ebp - 4], 7
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.004833a3
call fcn.0046613f
push ebx
push 0x1f4
mov ecx, edi
call fcn.004842d1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.004833a3
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x46613f
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
mov eax, 0x49ac5c
call fcn.00497a30
sub esp, 0x224
cmp dword [edi + 0x74], 0xffffffff
je 0x466306
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x104]
push ebx
push esi
push eax
push ecx
lea eax, [ebp - 0x10]
lea esi, [edi + 0x100]
push eax
call fcn.00466aca
mov byte [edi + 0x72], 0
mov byte [edi + 0x71], 0
cmp dword [edi + 0xa0], 0x10
jb 0x466191
mov esi, dword [edi + 0x8c]
jmp 0x466197
lea esi, [edi + 0x8c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
push esi
lea eax, [ebp - 0x9c]
push str._s__08x
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea ecx, [edi + 0x44]
mov eax, dword [ecx]
lea edx, [ebp - 0x9c]
push edx
call dword [eax + 8]
push 4
lea eax, [ebp - 0x230]
push 0x4a7a10
push eax
call sub.MSVCR71.dll_memcpy
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCR71.dll_strlen
inc eax
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.MSVCR71.dll_memcpy
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCR71.dll_strlen
mov esi, eax
mov eax, dword [edi + 0x38]
add esp, 0x20
add esi, 5
cmp dword [edi + 0x3c], 0x10
jb 0x46621b
mov ecx, dword [edi + 0x28]
jmp 0x46621e
lea ecx, [edi + 0x28]
inc eax
push eax
push ecx
lea eax, [ebp + esi - 0x230]
push eax
call sub.MSVCR71.dll_memcpy
mov eax, dword [edi + 0x38]
add esp, 0xc
cmp dword [edi + 0xa0], 0x10
lea esi, [esi + eax + 1]
mov eax, dword [edi + 0x9c]
jb 0x46624f
mov ecx, dword [edi + 0x8c]
jmp 0x466255
lea ecx, [edi + 0x8c]
inc eax
push eax
push ecx
lea eax, [ebp + esi - 0x230]
push eax
call sub.MSVCR71.dll_memcpy
mov eax, dword [edi + 0x9c]
add esp, 0xc
lea eax, [esi + eax + 1]
push str.mailslot_
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], eax
call fcn.00483141
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x38]
push str.RegCheckServ_U
lea ecx, [ebp - 0x38]
call dword [eax + 0x14]
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x4662a1
lea eax, [ebp - 0x30]
push esi
push 0x80
push 3
push esi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4662f8
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
call ebx
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x84]
push eax
lea eax, [edi + 0x100]
call fcn.00466a87
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [edi + 0x72], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004833a3
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret