joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45d6ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004134c6
push 0x53
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], vtable.DuiLib::CNotifyPump.0
call fcn.00412b98
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], vtable.DuiLib::INotifyUI.0
mov dword [esi + 0x34], vtable.DuiLib::IMessageFilterUI.0
mov dword [esi + 0x38], vtable.DuiLib::IDialogBuilderCallback.0
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
call fcn.0040fd14
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3d8], edi
mov dword [esi + 0x3dc], edi
mov dword [esi + 0x3e0], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40cc40
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40cc5d
push eax
call edi
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x40cc6a
push eax
call edi
mov dword [esi + 0x18], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x30]
lea edi, [esi + 0x1c]
mov dword [esi + 0x20], ebx
mov dword [edi], ebx
mov dword [esi + 0x30], ecx
cmp eax, ebx
jne 0x40ccca
xor edx, edx
push 0xb
mov eax, 0x46c068
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
call fcn.00401510
cmp dword [esp + 0x24], 8
jb 0x40ccbf
mov eax, dword [esp + 0x10]
push eax
call fcn.00446900
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc
cmp dword [esi], 1
mov dword [esi + 0x38], eax
jne 0x40ccfa
lea ecx, [esp + 0xc]
cmp dword [esi + 8], ebx
je 0x40cce2
mov eax, 0x46c080
jmp 0x40cd36
mov eax, 0x46c09c
call fcn.00401300
cmp dword [esp + 0x24], 8
jb 0x40cd4f
mov edx, dword [esp + 0x10]
push edx
jmp 0x40cd47
push edi
push 4
push esi
push 0x40cf60
push ebx
push ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xf
push eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [edi], ebx
je 0x40cd4f
mov dword [esi], 1
mov eax, 0x46c0b4
lea ecx, [esp + 0xc]
call fcn.00401300
cmp dword [esp + 0x24], 8
jb 0x40cd4f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00446900
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x40cd80
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push edi
mov edi, ecx
cmp dword [edi], 0
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x2c], ecx
je 0x40ce0d
push esi
lea esi, [edi + 0x20]
push esi
push 0
push edi
push 0x40cfd0
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x18], eax
je 0x40ce00
xor edx, edx
push 0x16
mov eax, str.Pbk_ah
lea esi, [esp + 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
call fcn.00401510
cmp dword [esp + 0x20], 8
jb 0x40cdf9
mov eax, dword [esp + 0xc]
push eax
call fcn.00446900
add esp, 4
mov dword [edi + 8], 1
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret 8
xor eax, eax
pop edi
add esp, 0x1c
ret 8
Function at 0x40d400
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45e0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x60]
cmp dword [ebp + 0x18], 8
lea esi, [ebp + 4]
jb 0x40d43a
mov eax, dword [esi]
jmp 0x40d43c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
jne 0x40d499
xor eax, eax
mov word [esp + 0x1c], ax
push 0xf
mov eax, 0x46c160
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401510
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x60], ebx
call fcn.00401900
cmp dword [esp + 0x30], 8
jb 0x40d492
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40d5f1
cmp dword [edi + 0x90], ebx
jne 0x40d4ac
mov ecx, edi
call sym.Install.exe_protected:_bool___thiscall_CShortcut::InitUrlInstance_void_
test al, al
je 0x40d492
cmp dword [edi + 0x50], 8
jb 0x40d4b7
mov ecx, dword [edi + 0x3c]
jmp 0x40d4ba
lea ecx, [edi + 0x3c]
mov eax, dword [edi + 0x90]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
jge 0x40d521
xor ecx, ecx
push 0xc
mov eax, str.SetURL
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401510
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x60], 1
call fcn.00401900
cmp dword [esp + 0x30], 8
jb 0x40d492
mov edx, dword [esp + 0x1c]
push edx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40d5f1
mov dword [esp + 0x60], ebx
cmp dword [edi + 0x68], ebx
je 0x40d56d
mov eax, dword [edi + 0x90]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push 0x46af64
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d56d
cmp dword [edi + 0x6c], 8
jb 0x40d550
mov ecx, dword [edi + 0x58]
jmp 0x40d553
lea ecx, [edi + 0x58]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi + 0x90]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push 0x46afb4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d492
cmp dword [ebp + 0x18], 8
jb 0x40d59a
mov ecx, dword [esi]
jmp 0x40d59c
mov ecx, esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x40d5ef
mov eax, 0x46c19c
lea ecx, [esp + 0x34]
call fcn.00401300
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x70]
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], 2
call fcn.00401900
lea esi, [esp + 0x34]
call fcn.004019b0
xor al, al
jmp 0x40d5f1
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4
Function at 0x40d880
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e126
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x26c]
xor eax, eax
mov edi, ecx
push 0x208
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.0044a2c0
mov esi, dword [esp + 0x27c]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40d951
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c1e4
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401510
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401900
cmp dword [esp + 0x2c], 8
jb 0x40d94a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40da7c
cmp esi, 0x1a
jne 0x40d978
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d960
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d980
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40d99f
mov eax, dword [ebx + 4]
jmp 0x40d9a2
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d9a4
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40d9c0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40d9c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40d9e3
mov ecx, dword [str..lnk]
mov edx, dword [0x46ba60]
mov dword [eax], ecx
mov cx, word [0x46ba64]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40da30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00401510
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
mov dword [esp + 0x268], 1
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateFileLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40da7a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446900
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004468a0
add esp, 0x258
ret 8
Function at 0x40dab0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e126
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x26c]
xor eax, eax
mov edi, ecx
push 0x208
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x58], ax
call fcn.0044a2c0
mov esi, dword [esp + 0x27c]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40db81
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c1e4
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
call fcn.00401510
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x70]
mov eax, esi
mov dword [esp + 0x26c], 0
call fcn.00401900
cmp dword [esp + 0x2c], 8
jb 0x40db7a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
add esp, 4
xor al, al
jmp 0x40dcac
cmp esi, 0x1a
jne 0x40dba8
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40db90
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40dbb0
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40dbcf
mov eax, dword [ebx + 4]
jmp 0x40dbd2
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dbd4
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40dbf0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40dbf0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40dc13
mov ecx, dword [str..url]
mov edx, dword [0x46c258]
mov dword [eax], ecx
mov cx, word [0x46c25c]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0x4c]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dc60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.00401510
mov ecx, dword [esp + 0x10]
mov eax, esi
push eax
mov dword [esp + 0x268], 1
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateUrlLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
cmp dword [esp + 0x48], 8
mov bl, al
jb 0x40dcaa
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446900
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004468a0
add esp, 0x258
ret 8
Function at 0x40df10
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0044a2c0
mov esi, dword [esp + 0x230]
add esp, 0xc
push 0
push esi
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, 0x1a
jne 0x40df88
lea edi, [esp + 0xc]
add edi, 0xfffffffe
jmp 0x40df70
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40df70
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xc]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40df90
cmp dword [ebx + 0x18], 8
mov eax, dword [0x46b464]
mov dword [edi], eax
jb 0x40dfae
mov eax, dword [ebx + 4]
jmp 0x40dfb1
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dfb3
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40dfd0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40dfd0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 8]
pop esi
add eax, 0xfffffffe
cmp dword [esp + 0x220], 0
pop ebx
jne 0x40e030
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40e000
mov ecx, dword [str..url]
mov edx, dword [0x46c258]
mov dword [eax], ecx
mov cx, word [0x46c25c]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40e058
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40e030
mov edx, dword [str..lnk]
mov ecx, dword [0x46ba60]
mov dword [eax], edx
mov dx, word [0x46ba64]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov al, 1
call fcn.004468a0
add esp, 0x210
ret

Function at 0x40e317
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x40e32d
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x40e339
or edi, 1
push 1
call esi
test ax, ax
jge 0x40e345
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x40e351
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x40e35d
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x4108d3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x4108f8
cmp ebx, dword [esi + 0x58]
je 0x4108f8
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x58]
cmp ebx, eax
je 0x4109ba
push edi
test eax, eax
je 0x41094b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.0041028f
mov dword [esi + 0x58], edi
test ebx, ebx
je 0x4109b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x4109b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x4109b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test al, al
je 0x4109b9
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x58], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x58]
mov ecx, esi
call fcn.0041028f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x417786
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x417791
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x41784c
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
sub edi, 8
dec esi
jne 0x4177b1
pop ebx
test edi, edi
je 0x417865
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x461720]
inc edx
dec edi
jne 0x417850
pop edi
not eax
pop esi
ret

Function at 0x417cfc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x417d30
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x417d2b
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x417d58
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x417d41
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00449e20
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x418af5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x476110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x418b9f
movzx ecx, word [esi]
test cx, cx
je 0x418b9f
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x418b33
cmp cx, 0x5c
jne 0x418b35
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x418b27
cmp eax, esi
je 0x418b73
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044ad2f
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00418af5
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044a368
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0044a33a
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004468a0
leave
ret
Function at 0x41a0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41a14b
cmp dword [esi + 4], 0xffffffff
jne 0x41a14b
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x46b464
push edi
call fcn.0044a33a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x41a11d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x41a11d
mov eax, 0x2000000
jmp 0x41a150
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417b12
add esp, 0x10
test eax, eax
jne 0x41a13b
mov eax, dword [ebp + 0x10]
jmp 0x41a150
push eax
call fcn.00419ccc
mov dword [esi], eax
mov eax, dword [0x477cc0]
pop ecx
jmp 0x41a150
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x41b0ad
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x476110]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x45b93f
call fcn.004485cd
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.0041a670
call fcn.0040e4df
push eax
lea ecx, [ebp + 0x230]
call fcn.00412c8f
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0040e4e5
mov ecx, eax
call fcn.004129eb
test al, al
je 0x41b20f
push edi
lea ecx, [ebp + 0x230]
call fcn.00412a7e
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.00412a16
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x41b183
push str.Error_opening_file
mov ecx, ebx
call fcn.0041a86c
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.004128c6
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.004468a0
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x41b198
push esi
push str.File_is_empty
jmp 0x41b144
cmp edi, 0x400000
jbe 0x41b1a8
push esi
push 0x461f9c
jmp 0x41b144
push edi
mov dword [ebp - 0x14], esi
call fcn.0040e14b
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x41b1ee
push dword [ebp - 0x10]
call fcn.00446d3c
pop ecx
mov ecx, ebx
call fcn.0041a670
push esi
push str.Could_not_read_file
jmp 0x41b144
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0041af5c
push dword [ebp - 0x10]
mov bl, al
call fcn.00446d3c
pop ecx
jmp 0x41b14d
call fcn.0040e4e5
push eax
lea ecx, [ebp + 0x230]
call fcn.00412a64
call fcn.0040e4eb
test al, al
je 0x41b230
call fcn.0040e4f1
jmp 0x41b247
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.00412a16
push eax
call fcn.0041a4af
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41b259
push esi
push str.Error_opening_zip_file
jmp 0x41b144
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00418bad
add esp, 0x14
test eax, eax
je 0x41b27e
push esi
push str.Could_not_find_ziped_file
jmp 0x41b144
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x41b190
cmp eax, 0x400000
ja 0x41b1a0
push eax
call fcn.0040e14b
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0041a50c
add esp, 0x18
cmp eax, esi
je 0x41b2e5
cmp eax, 0x600
je 0x41b2e5
push edi
call fcn.00446d3c
pop ecx
call fcn.0040e4eb
test al, al
jne 0x41b2da
push dword [ebp - 0x10]
call fcn.0041a546
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x41b144
call fcn.0040e4eb
test al, al
jne 0x41b2f7
push dword [ebp - 0x10]
call fcn.0041a546
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0041af5c
push edi
jmp 0x41b202