joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4483f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483af3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4c058c]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [0x4c058c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esp + 0xc], vtable.NGLogging::CLogFunction.0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov word [esp + 0x34], dx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov word [esp + 0x58], dx
mov byte [esp + 0xa8], 1
mov dword [esp + 0x88], ecx
xor ecx, ecx
mov dword [esp + 0x84], eax
mov word [esp + 0x74], cx
mov byte [esp + 0xa8], 2
mov ecx, dword [esp + 0x34]
mov edx, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x48], edx
jae 0x4484bf
lea ecx, [esp + 0x34]
xor edi, edi
mov word [ecx], di
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], eax
cmp dword [esp + 0x6c], edx
jae 0x4484d6
lea ecx, [esp + 0x58]
xor edi, edi
mov word [ecx], di
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x84], eax
cmp dword [esp + 0x88], edx
jae 0x4484f3
lea ecx, [esp + 0x74]
push eax
push eax
push eax
xor edx, edx
mov word [ecx], dx
push str.NGInstanceFinderDlg::CPrintQueueSelectionUIColleague::CloseNoDevicesDlg
mov byte [esp + 0x64], al
mov eax, dword [0x4c2880]
push 0x4c6950
lea ecx, [edx + 0x3f]
push eax
lea edx, [esp + 0x24]
call fcn.0041f106
add esp, 0x18
mov dword [esp + 0xa8], 3
mov ecx, dword [esi + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov esi, eax
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041f230
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00463bd7
mov esp, ebp
pop ebp
ret
Function at 0x458c54
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x47f71e
call fcn.00468cfb
mov esi, dword [ebp + 8]
mov dword [esi], vtable.NGUtils::AFileVersionInfo.0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.NGUtils::CFileVersionInfo.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 4], edi
cmp dword [ebp + 0xc], edi
je 0x458d25
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x18], eax
cmp eax, edi
jbe 0x458d25
mov byte [ebp - 4], 1
push eax
call fcn.004619f1
pop ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 4], edi
jmp 0x458ccd
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x458d25
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x458d25
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
push 0x4a86c0
push dword [esi + 0xc]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x458d13
mov eax, dword [ebp + 0xc]
shr eax, 2
mov dword [esi + 8], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 4]
push eax
push 0x496b80
push dword [esi + 0xc]
call edi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00468da0
ret 8

Function at 0x458f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x458f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteW]
Function at 0x4614d0
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]

Function at 0x4615a5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov esi, eax
xor edi, edi
call fcn.00461581
test al, al
jne 0x4615d0
cmp byte [esi + 0xd], al
je 0x4615be
or edi, 0xffffffff
jmp 0x4615d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esi + 8]
sub edi, eax
cmp byte [esi + 0xc], 0
jne 0x4615d0
inc edi
mov eax, edi
pop edi
pop esi
ret

Function at 0x4630d5
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x47f2a8
call fcn.00468d31
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x4631cc
cmp byte [esi + 0x4a], bl
je 0x4631cc
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x463111
xor al, al
jmp 0x4631ce
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004080d0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x46316f
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x463174
dec eax
je 0x463178
dec eax
dec eax
je 0x4631c8
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040c1b0
mov al, bl
jmp 0x4631ce
mov edx, dword [ebp - 0x2c]
jmp 0x46313a
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x463184
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x4631aa
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x463197
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.004650d3
add esp, 0x10
cmp edi, eax
jne 0x46315d
cmp byte [esi + 0x4a], 0
je 0x4631c8
test edi, edi
jne 0x46312c
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406f90
jmp 0x46312c
mov bl, 1
jmp 0x46315f
mov al, 1
call fcn.00468db4
ret

Function at 0x463bd7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c058c]
jne 0x463be1
repz ret
jmp fcn.0046c0db

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x46787e
call fcn.0046b78e
and dword [eax], 0
call fcn.0046b77b
mov dword [eax], 0x16
call fcn.0046c6f8
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46789b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046b7a1
pop ecx
jmp 0x467879
test byte [ebp + 0xc], 0x80
je 0x4678a6
and eax, 0xfffffffe
jmp 0x4678a9
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x46788c
xor eax, eax
pop ebp
ret
Function at 0x47a511
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c058c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0046da8d
and dword [ebp - 0x14], 0
cmp dword [0x4c505c], 0
mov dword [ebp - 0x18], eax
jne 0x47a5c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x47a66c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x47a66c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c505c], eax
call edi
push eax
call esi
push 0x491a80
push ebx
mov dword [0x4c5060], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c5064], eax
call edi
push eax
call esi
mov dword [0x4c506c], eax
test eax, eax
je 0x47a5c4
push 0x491a4c
push ebx
call edi
push eax
call esi
mov dword [0x4c5068], eax
mov eax, dword [0x4c5068]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x47a61d
cmp dword [0x4c506c], ecx
je 0x47a61d
push eax
call esi
push dword [0x4c506c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x47a61d
test ebx, ebx
je 0x47a61d
call edi
test eax, eax
je 0x47a614
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x47a614
test byte [ebp - 8], 1
jne 0x47a61d
or dword [ebp + 0x10], 0x200000
jmp 0x47a650
mov eax, dword [0x4c5060]
cmp eax, dword [ebp - 0x18]
je 0x47a650
push eax
call esi
test eax, eax
je 0x47a650
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47a650
mov eax, dword [0x4c5064]
cmp eax, dword [ebp - 0x18]
je 0x47a650
push eax
call esi
test eax, eax
je 0x47a650
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c505c]
call esi
test eax, eax
je 0x47a66c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x47a66e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463bd7
leave
ret
Function at 0x4076b0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x4076d6
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x4076c0
ret
Function at 0x414a40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x58], 0
pop esi
pop ebp
ret
Function at 0x415630
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0x5c
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
call fcn.00415100
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push ecx
push edx
call fcn.004154c0
add esp, 0x20
mov esp, ebp
pop ebp
ret

Function at 0x4156a0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x14]
xor edx, edx
bswap ecx
bswap eax
sub esi, edi
jmp 0x4156c0
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x14]
bswap edi
mov dword [ebp + edx*4 - 0x14], edi
add edx, 1
cmp edx, 4
jl 0x4156c0
mov edx, 0xe3779b90
mov dword [ebp - 4], 0x10
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 8]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
sub eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 0x10]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
sub ecx, esi
add edx, 0x61c88647
sub dword [ebp - 4], 1
jne 0x4156e1
mov edx, dword [ebp + 0xc]
bswap ecx
bswap eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415bb0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x415bbb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.00415bd0
Function at 0x415bd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x415c02
lea esp, [esp]
test cl, 3
je 0x415c02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4fa748]
add ecx, 1
sub esi, 1
jne 0x415be0
cmp esi, 0x20
push ebx
push edi
jb 0x415dec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4fab48]
xor edx, dword [ebx*4 + 0x4faf48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4fa748]
add ecx, 4
xor edx, dword [eax*4 + 0x4fb348]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4fab48]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4faf48]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4fa748]
add ecx, 4
xor eax, dword [edx*4 + 0x4fb348]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4fab48]
xor edx, dword [ebx*4 + 0x4faf48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4fa748]
xor edx, dword [eax*4 + 0x4fb348]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4fab48]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4faf48]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4fa748]
xor eax, dword [edx*4 + 0x4fb348]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4fab48]
xor edx, dword [ebx*4 + 0x4faf48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4fa748]
xor edx, dword [eax*4 + 0x4fb348]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4fab48]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4faf48]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4fa748]
and edx, 0xff
xor eax, dword [edx*4 + 0x4fb348]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4fab48]
xor edx, dword [ebx*4 + 0x4faf48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4fa748]
add ecx, 4
xor edx, dword [eax*4 + 0x4fb348]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4fab48]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4faf48]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4fa748]
and edx, 0xff
xor eax, dword [edx*4 + 0x4fb348]
sub edi, 1
jne 0x415c12
cmp esi, 4
jb 0x415e39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4fab48]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4faf48]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4fa748]
and eax, 0xff
xor edi, dword [eax*4 + 0x4fb348]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x415df6
test esi, esi
pop edi
pop ebx
je 0x415e5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4fa748]
add ecx, 1
sub esi, 1
jne 0x415e40
not eax
pop esi
ret
Function at 0x416b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x416ba0
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call sub.MSVCR80.dll_memcpy
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x416b6f
sub eax, ebp
jmp 0x416b71
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x416b60
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x416b90
sub eax, ebp
jmp 0x416b92
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x416b81
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x416cd2
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov ebx, eax
cmp ebx, ecx
mov dword [esp + 0x10], edx
jbe 0x416bc8
mov ebx, ecx
test ebx, ebx
je 0x416c1c
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x416bea
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.0041adf0
jmp 0x416c03
cmp eax, 2
jne 0x416c0a
mov ecx, dword [edi]
test ecx, ecx
mov eax, dword [edi + 0x30]
jne 0x416bfc
xor eax, eax
jmp 0x416c07
mov edx, ebx
call fcn.00415bd0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call sub.MSVCR80.dll_memcpy
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x416c46
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x416c5a
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x416b20
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x416cd2
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x416ca1
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x416c81
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x416cd2
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x416cbb
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x418a86
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov edi, dword [eax + 0xc]
jmp 0x418b4a
mov eax, dword [edi + 0x30]
xor esi, esi
mov ebx, dword [edi + 0x2c]
mov edi, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], edi
mov eax, dword [eax + edx + 0x78]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x418b4a
shr ebx, 0x10
xor ecx, ecx
test ebx, ebx
je 0x418afb
mov edi, dword [ebp - 8]
movsx edx, byte [edi + ecx]
ror esi, 0xd
cmp byte [edi + ecx], 0x61
mov dword [ebp - 8], edx
jl 0x418aea
mov eax, edx
add eax, 0xffffffe0
add esi, eax
jmp 0x418aed
add esi, dword [ebp - 8]
inc ecx
cmp ecx, ebx
jb 0x418ad1
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x18]
xor ebx, ebx
mov eax, dword [eax + edx + 0x20]
add eax, edx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x418b4a
mov ecx, dword [eax]
xor edi, edi
add ecx, edx
add eax, 4
mov dword [ebp - 8], ecx
mov edx, ecx
mov dword [ebp - 0x1c], eax
mov cl, byte [edx]
ror edi, 0xd
movsx eax, cl
add edi, eax
inc edx
test cl, cl
jne 0x418b1f
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edi
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
add eax, esi
cmp eax, dword [ebp - 0x14]
je 0x418b5f
mov eax, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x418b0e
mov edx, dword [edi + 0x18]
mov dword [ebp - 4], edx
test edx, edx
jne 0x418aa3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x418b5a
Function at 0x418b7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, 0x726774c
call fcn.00418a86
xor ecx, ecx
mov dword [esi], eax
mov byte [ebp - 2], cl
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], 0x72657375
mov dword [ebp - 8], 0x642e3233
mov word [ebp - 4], 0x6c6c
mov dword [ebp - 0x18], 0x686e6977
mov dword [ebp - 0x14], 0x2e707474
mov dword [ebp - 0x10], 0x6c6c64
mov dword [ebp - 0x24], 0x6c656853
mov dword [ebp - 0x20], 0x2e32336c
mov dword [ebp - 0x1c], 0x6c6c64
call eax
lea eax, [ebp - 0x18]
push eax
call dword [esi]
lea eax, [ebp - 0x24]
push eax
call dword [esi]
mov ecx, 0x7568345
call fcn.00418a86
mov ecx, 0xbb9d1f04
mov dword [esi + 4], eax
call fcn.00418a86
mov ecx, 0xc21e9b46
mov dword [esi + 8], eax
call fcn.00418a86
mov ecx, 0x5bb31098
mov dword [esi + 0xc], eax
call fcn.00418a86
mov ecx, 0x91bb5895
mov dword [esi + 0x10], eax
call fcn.00418a86
mov ecx, 0x709d8805
mov dword [esi + 0x14], eax
call fcn.00418a86
mov ecx, 0x4a050e50
mov dword [esi + 0x18], eax
call fcn.00418a86
mov ecx, 0xe553a458
mov dword [esi + 0x1c], eax
call fcn.00418a86
mov ecx, 0x7e24296c
mov dword [esi + 0x28], eax
call fcn.00418a86
mov ecx, 0x300f2f0b
mov dword [esi + 0x20], eax
call fcn.00418a86
mov ecx, 0x5daef12f
mov dword [esi + 0x24], eax
call fcn.00418a86
mov ecx, 0x4f8d91fe
mov dword [esi + 0x2c], eax
call fcn.00418a86
mov ecx, 0x54903edb
mov dword [esi + 0x30], eax
call fcn.00418a86
mov ecx, 0x9ff50515
mov dword [esi + 0x38], eax
call fcn.00418a86
mov ecx, 0xc35f9cf3
mov dword [esi + 0x3c], eax
call fcn.00418a86
mov ecx, 0xf8245751
mov dword [esi + 0x40], eax
call fcn.00418a86
mov ecx, 0xe035f044
mov dword [esi + 0x34], eax
call fcn.00418a86
mov ecx, 0x601d8708
mov dword [esi + 0x44], eax
call fcn.00418a86
mov ecx, 0x160d6838
mov dword [esi + 0x48], eax
call fcn.00418a86
mov ecx, 0x180ae41d
mov dword [esi + 0x4c], eax
call fcn.00418a86
mov ecx, 0xa2c4fe61
mov dword [esi + 0x50], eax
call fcn.00418a86
mov ecx, 0x366e5b9b
mov dword [esi + 0x54], eax
call fcn.00418a86
mov ecx, 0xdc8d7174
mov dword [esi + 0x58], eax
call fcn.00418a86
mov ecx, 0xeddd1511
mov dword [esi + 0x5c], eax
call fcn.00418a86
mov ecx, 0xc53d7274
mov dword [esi + 0x60], eax
call fcn.00418a86
mov dword [esi + 0x64], eax
pop esi
leave
ret