joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cbe0
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 0x40cbfd
push eax
call edi
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x40cc0a
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 0x40cc6a
xor edx, edx
push 0xb
mov eax, 0x46c058
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 0x40cc5f
mov eax, dword [esp + 0x10]
push eax
call fcn.00446890
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 0x40cc9a
lea ecx, [esp + 0xc]
cmp dword [esi + 8], ebx
je 0x40cc82
mov eax, 0x46c070
jmp 0x40ccd6
mov eax, 0x46c08c
call fcn.00401300
cmp dword [esp + 0x24], 8
jb 0x40ccef
mov edx, dword [esp + 0x10]
push edx
jmp 0x40cce7
push edi
push 4
push esi
push 0x40cf00
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 0x40ccef
mov dword [esi], 1
mov eax, 0x46c0a4
lea ecx, [esp + 0xc]
call fcn.00401300
cmp dword [esp + 0x24], 8
jb 0x40ccef
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00446890
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x40cd20
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 0x40cdad
push esi
lea esi, [edi + 0x20]
push esi
push 0
push edi
push 0x40cf70
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 0x40cda0
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 0x40cd99
mov eax, dword [esp + 0xc]
push eax
call fcn.00446890
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 0x40d3a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45e018
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 0x40d3da
mov eax, dword [esi]
jmp 0x40d3dc
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
jne 0x40d439
xor eax, eax
mov word [esp + 0x1c], ax
push 0xf
mov eax, 0x46c150
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 0x40d432
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00446890
add esp, 4
xor al, al
jmp 0x40d591
cmp dword [edi + 0x90], ebx
jne 0x40d44c
mov ecx, edi
call sym.Install.exe_protected:_bool___thiscall_CShortcut::InitUrlInstance_void_
test al, al
je 0x40d432
cmp dword [edi + 0x50], 8
jb 0x40d457
mov ecx, dword [edi + 0x3c]
jmp 0x40d45a
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 0x40d4c1
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 0x40d432
mov edx, dword [esp + 0x1c]
push edx
call fcn.00446890
add esp, 4
xor al, al
jmp 0x40d591
mov dword [esp + 0x60], ebx
cmp dword [edi + 0x68], ebx
je 0x40d50d
mov eax, dword [edi + 0x90]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push 0x46af74
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d50d
cmp dword [edi + 0x6c], 8
jb 0x40d4f0
mov ecx, dword [edi + 0x58]
jmp 0x40d4f3
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 0x46afc4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d432
cmp dword [ebp + 0x18], 8
jb 0x40d53a
mov ecx, dword [esi]
jmp 0x40d53c
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 0x40d58f
mov eax, 0x46c18c
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 0x40d591
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 0x40d820
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e086
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.0044a250
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 0x40d8f1
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c1d4
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 0x40d8ea
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446890
add esp, 4
xor al, al
jmp 0x40da1c
cmp esi, 0x1a
jne 0x40d918
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d900
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 0x40d920
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40d93f
mov eax, dword [ebx + 4]
jmp 0x40d942
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d944
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40d960
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40d960
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 0x40d983
mov ecx, dword [str..lnk]
mov edx, dword [0x46ba44]
mov dword [eax], ecx
mov cx, word [0x46ba48]
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 0x40d9d0
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 0x40da1a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446890
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.00446830
add esp, 0x258
ret 8
Function at 0x40da50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e086
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.0044a250
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 0x40db21
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0xa
mov eax, 0x46c1d4
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 0x40db1a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446890
add esp, 4
xor al, al
jmp 0x40dc4c
cmp esi, 0x1a
jne 0x40db48
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40db30
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 0x40db50
cmp dword [ebx + 0x18], 8
mov edx, dword [0x46b464]
mov dword [edi], edx
jb 0x40db6f
mov eax, dword [ebx + 4]
jmp 0x40db72
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40db74
lea edi, [esp + 0x4c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40db90
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40db90
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 0x40dbb3
mov ecx, dword [str..url]
mov edx, dword [0x46c248]
mov dword [eax], ecx
mov cx, word [0x46c24c]
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 0x40dc00
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 0x40dc4a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446890
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.00446830
add esp, 0x258
ret 8
Function at 0x40dea0
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.0044a250
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 0x40df18
lea edi, [esp + 0xc]
add edi, 0xfffffffe
jmp 0x40df00
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40df00
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 0x40df20
cmp dword [ebx + 0x18], 8
mov eax, dword [0x46b464]
mov dword [edi], eax
jb 0x40df3e
mov eax, dword [ebx + 4]
jmp 0x40df41
lea eax, [ebx + 4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40df43
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40df60
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40df60
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 0x40dfc0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40df90
mov ecx, dword [str..url]
mov edx, dword [0x46c248]
mov dword [eax], ecx
mov cx, word [0x46c24c]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x40dfe8
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40dfc0
mov edx, dword [str..lnk]
mov ecx, dword [0x46ba44]
mov dword [eax], edx
mov dx, word [0x46ba48]
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.00446830
add esp, 0x210
ret

Function at 0x40e2a7
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 0x40e2bd
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x40e2c9
or edi, 1
push 1
call esi
test ax, ax
jge 0x40e2d5
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x40e2e1
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x40e2ed
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x410866
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 0x41088b
cmp ebx, dword [esi + 0x58]
je 0x41088b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x58]
cmp ebx, eax
je 0x41094d
push edi
test eax, eax
je 0x4108de
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.00410222
mov dword [esi + 0x58], edi
test ebx, ebx
je 0x41094c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x41094c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x41094c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test al, al
je 0x41094c
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.00410222
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41581d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x476110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x28], bl
je 0x41588e
cmp dword [esi + 0x20], ebx
je 0x41588e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0044a6c0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x41588e
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.004129d1
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00410222
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446830
leave
ret 0x10

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

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x417792
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 0x41784d
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 0x4177b2
pop ebx
test edi, edi
je 0x417866
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x461720]
inc edx
dec edi
jne 0x417851
pop edi
not eax
pop esi
ret

Function at 0x417cfd
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 0x417d31
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 0x417d2c
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x417d59
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x417d42
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00449db0
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 0x418af6
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 0x418ba0
movzx ecx, word [esi]
test cx, cx
je 0x418ba0
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x418b34
cmp cx, 0x5c
jne 0x418b36
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x418b28
cmp eax, esi
je 0x418b74
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044acbf
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00418af6
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044a2f8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0044a2ca
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.00446830
leave
ret

Function at 0x41a0d1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41a14c
cmp dword [esi + 4], 0xffffffff
jne 0x41a14c
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x46b464
push edi
call fcn.0044a2ca
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x41a11e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x41a11e
mov eax, 0x2000000
jmp 0x41a151
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417b13
add esp, 0x10
test eax, eax
jne 0x41a13c
mov eax, dword [ebp + 0x10]
jmp 0x41a151
push eax
call fcn.00419ccd
mov dword [esi], eax
mov eax, dword [0x477cc0]
pop ecx
jmp 0x41a151
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x41b0ae
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, 0x45b819
call fcn.0044855d
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.0041a671
call fcn.0040e46f
push eax
lea ecx, [ebp + 0x230]
call fcn.00412c1e
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0040e475
mov ecx, eax
call fcn.0041297d
test al, al
je 0x41b210
push edi
lea ecx, [ebp + 0x230]
call fcn.00412a0d
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.0040e621
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x41b184
push str.Error_opening_file
mov ecx, ebx
call fcn.0041a86d
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.00412858
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.00446830
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x41b199
push esi
push str.File_is_empty
jmp 0x41b145
cmp edi, 0x400000
jbe 0x41b1a9
push esi
push 0x461f9c
jmp 0x41b145
push edi
mov dword [ebp - 0x14], esi
call fcn.0040e0db
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 0x41b1ef
push dword [ebp - 0x10]
call fcn.00446ccc
pop ecx
mov ecx, ebx
call fcn.0041a671
push esi
push str.Could_not_read_file
jmp 0x41b145
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0041af5d
push dword [ebp - 0x10]
mov bl, al
call fcn.00446ccc
pop ecx
jmp 0x41b14e
call fcn.0040e475
push eax
lea ecx, [ebp + 0x230]
call fcn.004129f3
call fcn.0040e47b
test al, al
je 0x41b231
call fcn.0040e481
jmp 0x41b248
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.0040e621
push eax
call fcn.0041a4b0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41b25a
push esi
push str.Error_opening_zip_file
jmp 0x41b145
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00418bae
add esp, 0x14
test eax, eax
je 0x41b27f
push esi
push str.Could_not_find_ziped_file
jmp 0x41b145
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x41b191
cmp eax, 0x400000
ja 0x41b1a1
push eax
call fcn.0040e0db
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0041a50d
add esp, 0x18
cmp eax, esi
je 0x41b2e6
cmp eax, 0x600
je 0x41b2e6
push edi
call fcn.00446ccc
pop ecx
call fcn.0040e47b
test al, al
jne 0x41b2db
push dword [ebp - 0x10]
call fcn.0041a547
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x41b145
call fcn.0040e47b
test al, al
jne 0x41b2f8
push dword [ebp - 0x10]
call fcn.0041a547
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0041af5d
push edi
jmp 0x41b203