joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427789
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 8
mov eax, 0x52fad4
call fcn.004f41c4
mov esi, ecx
lea ecx, [ebp]
call fcn.004063ed
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x14]
call fcn.00401276
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004c41e5
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0xc8]
push eax
mov ecx, 0x597b40
call fcn.0043542b
test eax, eax
je 0x4278e1
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
pop ecx
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x427860
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x427859
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
push eax
push dword [ebp - 0x10]
push ebx
call fcn.004f4490
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x42784b
xor eax, eax
jmp 0x42784e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x427897
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x427867
mov esi, dword [esi + 0x20]
push 0xd4
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4278e1
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
jmp 0x4278e1
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
je 0x4278bf
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
test esi, esi
je 0x4278c6
mov esi, dword [esi + 0x20]
push 0xd5
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x13
push esi
call fcn.004065bc
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040104c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004064c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0x43c
leave
ret
Function at 0x428bef
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x52fc86
call fcn.004f41c4
mov esi, ecx
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x10]
call fcn.00401276
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0xe8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xc8]
call fcn.004cd14a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040dab3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040104c
mov eax, dword [esi + 0x20]
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x428cb5
push 0x113
mov ecx, 0x598978
call fcn.0045a895
push eax
lea ecx, [ebp - 0x10]
call fcn.00401504
push 0x5416b4
lea ecx, [ebp - 0x10]
call fcn.0040153c
push edi
call fcn.00405fe8
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040153c
push dword [ebp - 0x10]
mov esi, dword [esi + 0x20]
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [eax], ebx
call fcn.0040104c
call fcn.004f429c
ret 8
Function at 0x42aa59
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 8
mov eax, 0x52ff13
call fcn.004f41c4
mov esi, ecx
lea ecx, [ebp]
call fcn.004063ed
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x14]
call fcn.00401276
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004c41e5
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0xc8]
push eax
mov ecx, 0x597b40
call fcn.0043542b
test eax, eax
je 0x42abb1
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
pop ecx
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x42ab30
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x42ab29
push dword [ebp - 0x10]
call fcn.004f3730
inc eax
push eax
push dword [ebp - 0x10]
push ebx
call fcn.004f4490
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x42ab1b
xor eax, eax
jmp 0x42ab1e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42ab67
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x42ab37
mov esi, dword [esi + 0x20]
push 0xd4
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x42abb1
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
jmp 0x42abb1
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
je 0x42ab8f
push dword [ebp - 0x10]
call fcn.004b6e29
and dword [ebp - 0x10], 0
pop ecx
test esi, esi
je 0x42ab96
mov esi, dword [esi + 0x20]
push 0xd5
mov ecx, 0x598978
call fcn.0045a895
push eax
push 0x13
push esi
call fcn.004065bc
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040104c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004064c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0x43c
leave
ret
Function at 0x42c94d
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x5301a3
call fcn.004f41c4
mov esi, ecx
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x10]
call fcn.00401276
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0xe8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 7
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xc8]
call fcn.004cd14a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040dab3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040104c
mov eax, dword [esi + 0x20]
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x42ca13
push 0x113
mov ecx, 0x598978
call fcn.0045a895
push eax
lea ecx, [ebp - 0x10]
call fcn.00401504
push 0x5416b4
lea ecx, [ebp - 0x10]
call fcn.0040153c
push edi
call fcn.00405fe8
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040153c
push dword [ebp - 0x10]
mov eax, dword [esi + 0x20]
push 0x16
push eax
call fcn.004065bc
add esp, 0xc
mov ecx, esi
call fcn.0042b431
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [eax], ebx
call fcn.0040104c
call fcn.004f429c
ret 8

Function at 0x42ca32
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x5301ce
call fcn.004f41c4
mov esi, ecx
call fcn.004b9d18
push eax
lea ecx, [ebp - 0x10]
call fcn.00401276
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0xe8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xc8]
call fcn.004cd14a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040dab3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040104c
mov eax, dword [esi + 0x20]
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x42caf7
push 0x113
mov ecx, 0x598978
call fcn.0045a895
push eax
lea ecx, [ebp - 0x10]
call fcn.00401504
push 0x5416b4
lea ecx, [ebp - 0x10]
call fcn.0040153c
push edi
call fcn.00405fe8
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040153c
push dword [ebp - 0x10]
mov esi, dword [esi + 0x20]
push 0x16
push esi
call fcn.004065bc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040104c
call fcn.004f429c
ret
Function at 0x42eb8b
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xbc]
sub esp, 0x13c
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0xb8], eax
push ebx
push esi
mov esi, dword [ebp + 0xc4]
push edi
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x47]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x48], bl
call fcn.004f42d0
add esp, 0xc
mov ecx, esi
call fcn.004012a5
push 5
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.004c2a7d
mov dword [ebp - 0x4c], eax
cmp eax, ebx
je 0x42ec25
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x42ec25
push 0x100
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x48]
push 0x54ecbc
push eax
call fcn.004fa190
pop ecx
pop ecx
test eax, eax
jne 0x42ec25
mov ecx, dword [ebp - 0x4c]
push esi
call fcn.004c41e5
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x42ec98
push 0x34
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.004f42d0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x164
push dword [edi + 0x94]
mov dword [ebp - 0x80], 0x34
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x54], ebx
je 0x42ec7a
push 0x100
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.00401504
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x42ec98
add edi, 0x74
mov ecx, edi
call fcn.0040b54d
test eax, eax
jl 0x42ec98
push esi
mov ecx, edi
call fcn.0040b54d
push eax
mov ecx, edi
call fcn.004be186
mov ecx, dword [ebp + 0xb8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f41b5
add ebp, 0xbc
leave
ret 4
Function at 0x450f4a
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
sub esp, 0x8d8
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x8d8], eax
push 0xc
mov eax, 0x53369e
call fcn.004f41f7
mov eax, dword [ebp + 0x8e4]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x450fb3
mov dword [edi + 0x18], 5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8d8]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0x8dc
leave
ret 4
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x2c]
mov dword [eax], ebx
call fcn.004c7a39
lea ecx, [ebp]
call fcn.0049722d
lea ecx, [ebp + 0x40c]
mov byte [ebp - 4], 1
call fcn.004063ed
push reloc.ast.dll_Ordinal_1
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00497255
lea ecx, [ebp + 0x844]
call fcn.00407118
cmp dword [ebp + 0x854], 2
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp]
jne 0x45103a
call fcn.0049765c
cmp eax, ebx
je 0x451021
push ebx
push str.Favorites
lea ecx, [ebp]
call fcn.00497922
mov esi, eax
cmp esi, ebx
jne 0x451057
push 0x400
lea eax, [ebp + 0x40c]
push eax
push str._USERPROFILE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x451077
call fcn.0049765c
cmp eax, ebx
je 0x45106c
push ebx
push str.Favorites
lea ecx, [ebp]
call fcn.00497922
mov esi, eax
cmp esi, ebx
je 0x45106c
push esi
lea ecx, [ebp + 0x40c]
call fcn.00489793
push esi
call fcn.004b6e29
pop ecx
jmp 0x451088
lea ecx, [ebp + 0x40c]
call fcn.00489a96
push str.Favorites
push ebx
lea ecx, [ebp + 0x40c]
call fcn.00489e94
lea ecx, [ebp + 0x40c]
call fcn.00489e3d
cmp eax, ebx
jne 0x4510bd
lea ecx, [ebp + 0x40c]
mov dword [edi + 0x18], 8
mov byte [ebp - 4], 1
call fcn.004064c1
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00498356
jmp 0x450f8c
lea eax, [ebp + 0x40c]
push eax
push eax
mov ecx, edi
call fcn.00450a3d
push dword [ebp - 0x14]
mov ecx, edi
mov dword [edi + 0x40], ebx
call fcn.00450b7b
lea ecx, [ebp + 0x40c]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.004064c1
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00498356
mov eax, esi
jmp 0x450f8e
Function at 0x4576ad
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x5340f2
call fcn.004f41f7
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], eax
jne 0x4576d9
mov dword [esi + 0x418], 1
xor eax, eax
call fcn.004f429c
ret 8
mov dword [esi + 0x418], eax
mov ebx, 0x100
lea eax, [ebx + 1]
push eax
call fcn.004b6e34
mov edi, eax
pop ecx
test edi, edi
jne 0x457700
mov dword [esi + 0x418], 2
jmp 0x457726
and dword [edi], 0
lea eax, [esi + 0x18]
push eax
push ebx
push edi
push 0
push dword [ebp + 8]
lea eax, [esi + 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x457751
push edi
call fcn.004b6e29
pop ecx
cmp dword [ebp + 0xc], 0
je 0x4576cf
push dword [ebp + 0xc]
call fcn.004f3730
inc eax
push eax
call fcn.004b6e34
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45774d
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, esi
jmp 0x4576d1
lea ecx, [eax + 1]
cmp ecx, ebx
jne 0x45776a
push edi
call fcn.004b6e29
pop ecx
add ebx, 0x100
jmp 0x4576e4
cmp eax, ebx
jb 0x457770
mov eax, ebx
mov byte [eax + edi], 0
mov eax, edi
jmp 0x4576d1

Function at 0x4580cb
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x458108
push esi
push dword [esp + 0xc]
push dword [esp + 0x14]
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x458107
push dword [esp + 0xc]
push esi
push dword [esp + 0x10]
call fcn.004f4490
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
inc eax
pop esi
ret 0xc

Function at 0x45814b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push esi
push edi
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x24]
push eax
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [esi + 0x72]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 8], eax
test eax, eax
je 0x4581b0
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4581b0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x45910f
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
test eax, eax
je 0x459125
push eax
call fcn.004b6e29
and dword [esi + 4], 0
pop ecx
mov edi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
and dword [esi + 8], 0
push 0
push 0
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x459147
mov dword [esi + 0xc], 2
xor eax, eax
jmp 0x459184
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b6e34
pop ecx
mov dword [esi + 4], eax
test eax, eax
jne 0x45916c
mov dword [esi + 0xc], 3
jmp 0x459143
push eax
push dword [esi + 8]
call edi
cmp eax, dword [esi + 8]
je 0x459181
mov dword [esi + 0xc], 4
mov dword [esi + 8], eax
xor eax, eax
inc eax
pop edi
pop esi
ret

Function at 0x45934e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
xor ecx, ecx
test eax, eax
jbe 0x4593b9
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
shl ecx, 2
shl ebx, 2
mov dword [ebp + 0x14], ecx
sub esi, edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push dword [eax + ebx]
mov ecx, dword [ebp + 0x14]
push dword [ecx + eax]
movzx eax, byte [esi + edi]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
mov ecx, dword [ebp - 4]
movzx eax, ax
push eax
call fcn.00458f62
test al, al
jne 0x4593ab
mov al, byte [esi + edi]
mov byte [edi], al
inc edi
dec dword [ebp + 0xc]
jne 0x45937e
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 0x18]
mov byte [ecx + eax], 0
leave
ret 0x14

Function at 0x45b97d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x25c]
push ebx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
call fcn.004f3730
add eax, 0x14
push eax
call fcn.004b6e34
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45b9c5
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push dword [ebp + 8]
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
push str._02u:_02u:_02u__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
call fcn.00405665
pop ecx
cmp al, 0xd
je 0x45ba06
push esi
call fcn.00405665
pop ecx
cmp al, 0xa
jne 0x45ba14
push esi
call fcn.004f3730
pop ecx
mov byte [eax + esi - 1], 0
jmp 0x45b9f0
push 0x5441e4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
add edi, 4
mov ecx, edi
call fcn.0049bf42
test eax, eax
je 0x45ba39
push esi
mov ecx, edi
call fcn.0049bf88
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004b6e29
pop ecx
mov ecx, edi
call fcn.0049bf42
test eax, eax
je 0x45ba59
mov ecx, edi
call fcn.0049bf34
mov esi, dword [ebp - 4]
jmp 0x45b9b5
Function at 0x45bad6
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x25c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 4
mov ecx, esi
call fcn.0049bf42
mov ebx, 0x5526b8
test eax, eax
je 0x45bb03
push ebx
mov ecx, esi
call fcn.0049bf88
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.0049bf42
test eax, eax
je 0x45bb1c
mov ecx, esi
call fcn.0049bf34
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret
Function at 0x4612e6
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x534eb5
call fcn.004f422d
cmp dword [ebp + 0x18], 0x13880
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x180], eax
ja 0x4613dd
test edi, edi
je 0x4613dd
test esi, esi
je 0x4613dd
lea ecx, [ebp - 0x178]
call fcn.0049c418
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
cmp eax, 0x10
jb 0x46133b
push 0x10
pop eax
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004f4490
mov al, byte [ebp + 0x1c]
add esp, 0xc
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x38]
push eax
push 0x14
pop esi
push esi
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x178]
push edi
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x14], 0
call fcn.0049d86a
mov eax, dword [ebp + 0x18]
cmp eax, 1
jbe 0x4613b6
dec eax
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x4c]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x178]
push edi
call fcn.0049d86a
xor eax, eax
mov ecx, dword [ebp + eax - 0x4c]
xor dword [ebp + eax - 0x38], ecx
add eax, 4
cmp eax, esi
jb 0x46139f
dec dword [ebp - 0x17c]
jne 0x461385
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x180]
call fcn.004f4490
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x178]
call fcn.0049c421
xor eax, eax
inc eax
jmp 0x4613df
xor eax, eax
call fcn.004f42b0
ret 0x1c

Function at 0x4613e7
Capabilities:
Encode data using xor

Disassembly:
push 0x134
mov eax, 0x534ee8
call fcn.004f422d
cmp dword [ebp + 0x18], 0x13880
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x140], eax
ja 0x4614c7
xor ebx, ebx
cmp eax, ebx
je 0x4614c7
cmp edi, ebx
je 0x4614c7
lea ecx, [ebp - 0x13c]
call fcn.0049e50b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
cmp eax, 0x10
jb 0x46143d
push 0x10
pop eax
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.004f4490
mov al, byte [ebp + 0x1c]
add esp, 0xc
push esi
push 0x14
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x140]
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x14], bl
call fcn.0049fa44
mov eax, dword [ebp + 0x18]
cmp eax, 1
jbe 0x4614b3
lea ebx, [ebp - 0x64]
sub ebx, esi
lea edi, [eax - 1]
lea eax, [ebp - 0x64]
push eax
push 0x40
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x140]
call fcn.0049fa44
push 0x10
mov eax, esi
pop ecx
mov edx, dword [ebx + eax]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x4614a5
dec edi
jne 0x461485
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0049e514
xor eax, eax
inc eax
jmp 0x4614c9
xor eax, eax
call fcn.004f42b0
ret 0x1c

Function at 0x4626e2
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret
Function at 0x462cd6
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x18], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x46356c
Capabilities:
Authenticate hmac
Encode data using xor
Hash data with md5

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x88
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov edi, 0x67452301
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
push 0x40
lea ebx, [esi + 0xb4]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x5c], edi
mov dword [ebx], edi
pop edi
mov eax, 0x10325476
push edi
mov dword [esi + 0x68], eax
mov dword [esi + 0xc0], eax
mov edx, 0xefcdab89
mov ecx, 0x98badcfe
lea eax, [ebp + 0x2c]
push 0
push eax
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], ecx
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], ecx
call fcn.004f42d0
push edi
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004f42d0
add esp, 0x18
cmp dword [ebp + 0x7c], edi
jbe 0x463600
mov dword [ebp + 0x7c], edi
push dword [ebp + 0x7c]
lea eax, [ebp + 0x2c]
push dword [ebp - 0x18]
push eax
call fcn.004f4490
push dword [ebp + 0x7c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push eax
call fcn.004f4490
add esp, 0x18
xor eax, eax
xor byte [ebp + eax + 0x2c], 0x36
xor byte [ebp + eax - 0x14], 0x5c
inc eax
cmp eax, edi
jb 0x463623
push edi
lea eax, [ebp + 0x2c]
push eax
lea eax, [esi + 0x5c]
push eax
mov ecx, esi
call fcn.004632c4
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
mov ecx, esi
call fcn.004632c4
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f41b5
add ebp, 0x70
leave
ret 8

Function at 0x46513a
Capabilities:
Write file on windows

Disassembly:
push dword [ecx]
lea eax, [esp + 8]
push 1
push 1
push eax
call fcn.004fb4e6
add esp, 0x10
ret 4

Function at 0x4651af
Capabilities:
Write file on windows

Disassembly:
push dword [ecx]
lea eax, [esp + 8]
push 8
push 1
push eax
call fcn.004fb4e6
add esp, 0x10
ret 8

Function at 0x4682c6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 0xc], eax
jle 0x4682f3
mov ecx, dword [ebp + 8]
movzx edx, byte [ebp + 0x10]
movzx ecx, byte [eax + ecx]
xor ecx, edx
mov edx, dword [ebp + 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x58eb30]
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
jl 0x4682d0
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc