joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4445e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4570f0
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x168], edi
mov dword [ebp - 4], edi
cmp dword [0x475370], edi
je 0x44465d
push 0x104
lea eax, [ebp - 0x274]
push eax
push 0x8c
mov ecx, dword [0x4773fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x274]
push edx
mov eax, dword [0x475370]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [0x475370]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
mov dword [ebp - 0x160], ebx
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.004354f0
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x16c]
ja 0x444818
mov cl, byte [eax + 0x29]
test cl, cl
jne 0x4446ff
test byte [eax + 0x27], 0x40
jne 0x4446ff
push 0
push 0
lea ecx, [ebp - 0x274]
push ecx
xor edx, edx
mov dx, word [eax]
push edx
call fcn.00433210
test eax, eax
je 0x4446ff
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x170], eax
cmp eax, 0xffffffff
je 0x4446e1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4446ff
mov ecx, 0x18
xor eax, eax
mov edi, dword [ebp - 0x164]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1c], 1
mov edi, dword [ebp - 0x168]
add dword [ebp - 0x164], 0x62
inc edi
mov dword [ebp - 0x168], edi
mov eax, edi
xor edx, edx
mov ecx, 0xa
div ecx
test edx, edx
jne 0x444680
mov eax, dword [0x475478]
test eax, eax
je 0x444680
push edi
push 0x45a4b0
lea edx, [ebp - 0x274]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [0x475478]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x475478]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
call esi
sub eax, ebx
cmp eax, 0x7530
ja 0x444818
mov eax, dword [0x475950]
test eax, eax
je 0x444680
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4447e5
mov eax, dword [0x475950]
test eax, eax
lea ecx, [ebp - 0x294]
push ecx
je 0x4447d0
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x444780
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x444780
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x444780
push 8
mov eax, dword [0x475950]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x444680
jmp 0x444818
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4459a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457120
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
push edi
push 0x10000082
push 3
push edi
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 0xffffffff
jne 0x445a12
push edi
push edi
push 1
push 0xefffffff
mov ebx, dword [sym.imp.KERNEL32.dll_RaiseException]
call ebx
jmp 0x445a18
mov ebx, dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x400
call fcn.0044c0d4
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x445a39
push eax
push eax
push 1
push 0xefffffff
call ebx
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445a59
cmp dword [ebp - 0x28], 0x400
je 0x445a66
push 0
push 0
push 1
push 0xefffffff
call ebx
mov dword [ebp - 0x48], edi
xor edx, edx
mov dh, byte [edi + 4]
mov dl, byte [edi + 5]
mov dword [ebp - 0x30], edx
lea eax, [edi + 0xc]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov esi, dword [ebp + 0xc]
mov ebx, edx
and ebx, 0xffff
cmp ecx, ebx
jge 0x445ae7
cmp dword [eax], esi
jne 0x445adb
xor edx, edx
mov dh, byte [eax + 8]
mov dl, byte [eax + 9]
shl edx, 8
xor ecx, ecx
mov cl, byte [eax + 0xa]
or edx, ecx
shl edx, 8
xor ecx, ecx
mov cl, byte [eax + 0xb]
or edx, ecx
mov dword [ebp - 0x44], edx
xor edx, edx
mov dh, byte [eax + 0xc]
mov dl, byte [eax + 0xd]
shl edx, 8
xor ecx, ecx
mov cl, byte [eax + 0xe]
or edx, ecx
shl edx, 8
xor ecx, ecx
mov cl, byte [eax + 0xf]
or edx, ecx
mov esi, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], 1
jmp 0x445aea
add eax, 0x10
mov dword [ebp - 0x1c], eax
inc ecx
mov dword [ebp - 0x3c], ecx
jmp 0x445a82
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x445b02
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
push esi
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x34], ebx
push 0
push 0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x28]
push ecx
push esi
push ebx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445b3d
cmp dword [ebp - 0x28], esi
je 0x445b4e
push 0
push 0
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x445b65
push edi
call fcn.0044c186
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x445bf0
Capabilities:
Copy file

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
push edi
push 0xd
call fcn.0044c0d4
mov ebp, eax
push 0x104
mov dword [esp + 0x24], ebp
call fcn.0044c0d4
mov ebx, eax
mov eax, dword [esp + 0xb4]
push 0
push ebp
add eax, 0xc2
push 0
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.0044c925
mov edi, dword [0x47735c]
or ecx, 0xffffffff
xor eax, eax
push 0x104
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], 0xffffffff
mov esi, edi
mov eax, ecx
mov edi, ebx
mov edx, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x460ef8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044c0d4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x20
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
push esi
call edi
push 0x104
call fcn.0044c0d4
add esp, 4
mov ebp, eax
push ebx
push ebp
call edi
lea ecx, [esp + 0x20]
push 0x40
push ecx
push esi
call sub.LZ32.dll_LZOpenFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x445d29
lea edx, [esp + 0x20]
push 0x1041
push edx
push ebp
call sub.LZ32.dll_LZOpenFileA
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x445d14
push eax
push edi
call sub.LZ32.dll_LZCopy
mov dword [esp + 0x10], eax
push edi
call sub.LZ32.dll_LZClose
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x445d29
push eax
call sub.LZ32.dll_LZClose
test esi, esi
je 0x445d36
push esi
call fcn.0044c186
add esp, 4
test ebp, ebp
je 0x445d43
push ebp
call fcn.0044c186
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
setge al
mov ebp, eax
test ebp, ebp
je 0x445d75
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044c186
push ebx
call fcn.0044c186
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4
Function at 0x445da0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
xor ecx, ecx
mov ebx, dword [esp + 0xc]
mov ah, byte [esi + 8]
mov cl, byte [esi + 0xa]
mov al, byte [esi + 9]
xor edx, edx
mov dl, byte [esi + 0xb]
push edi
shl eax, 8
or eax, ecx
push 0
shl eax, 8
or eax, edx
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
xor ecx, ecx
mov ah, byte [esi + 0xc]
mov cl, byte [esi + 0xe]
mov al, byte [esi + 0xd]
xor edx, edx
mov dl, byte [esi + 0xf]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov esi, eax
je 0x445e60
push esi
call fcn.0044c0d4
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445e57
cmp dword [esp + 0x14], esi
jne 0x445e57
mov edx, esi
xor ecx, ecx
shr edx, 2
mov eax, edi
mov dword [esp + 0x14], ecx
je 0x445e43
mov esi, dword [esp + 0x18]
push ebp
mov ebx, dword [eax]
mov ebp, dword [esi + 0x42]
add ebp, ebx
add eax, 4
inc ecx
mov dword [esi + 0x42], ebp
cmp ecx, edx
mov dword [esp + 0x18], ecx
jb 0x445e2c
pop ebp
push edi
call fcn.0044c186
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
push edi
call fcn.0044c186
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x447fe0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457160
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
neg ebx
sbb ebx, ebx
and ebx, 7
inc ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x44802d
mov ebx, 0xb
mov dword [ebp - 0x1c], ebx
cmp eax, 0x32
jl 0x44803e
cmp eax, 0x35
jg 0x44803e
mov dword [ebp + 8], 0x32
lea edx, [ebp - 0x120]
mov edi, dword [0x4773e4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
call fcn.00449800
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [ebp - 0x120]
mov edi, dword [0x4773e4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45a94c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
push eax
push ebx
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_WinHelpA]
jmp 0x448103
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x448ed0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457190
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x15c]
push eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x164], eax
cmp eax, 0xffffffff
je 0x448f37
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x15c]
and ecx, 0x10
cmp cl, 0x10
jne 0x448f37
mov ebx, 1
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x448f7d
cmp word [edi], 0x5c5c
jne 0x448f7d
push 0x100
call fcn.0044c0d4
add esp, 4
mov esi, eax
mov dword [ebp - 0x160], esi
push esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call edi
mov ebx, eax
mov dword [ebp - 0x1c], ebx
push esi
call edi
push esi
call fcn.0044c186
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4499d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
mov ecx, 8
xor eax, eax
push esi
push edi
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x138]
cmp eax, 0xffffffff
je 0x449a11
mov edx, dword [0x4773fc]
lea ecx, [esp + 0x30]
push 0x104
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x140]
test eax, eax
je 0x449a52
mov edx, dword [0x477358]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x449a4a
mov eax, dword [esp + 0x13c]
mov byte [eax], 0
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret 0xc
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, dword [esp + 0x13c]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
test esi, esi
je 0x449a3d
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push esi
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
mov eax, 1
pop esi
add esp, 0x12c
ret 0xc
Function at 0x44a650
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x260
push ebx
mov ebx, dword [esp + 0x268]
push esi
push edi
test ebx, ebx
je 0x44a7e8
mov edi, dword [0x477328]
test edi, edi
je 0x44a7e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x168]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45a1cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x174]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x288]
mov ecx, dword [esp + 0x280]
push edi
push eax
mov eax, dword [esp + 0x28c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebp
cmp esi, 0xffffffff
jne 0x44a745
mov eax, dword [esp + 0x284]
test eax, eax
je 0x44a7e8
push 0x30
push 0x211
push ebx
call fcn.00448b60
or eax, esi
pop edi
pop esi
pop ebx
add esp, 0x260
ret 0x18
cmp edi, 4
je 0x44a7bb
cmp edi, 2
je 0x44a7bb
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 0x155
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44a7c9
cmp dword [esp + 0xc], 0x155
jne 0x44a7c9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*4 + 0x155]
cmp eax, ecx
jb 0x44a7e1
cmp dword [esp + 0x10], 0x20000
je 0x44a7ae
mov eax, dword [esp + 0x284]
test eax, eax
je 0x44a7e1
push 0x30
push 0x213
jmp 0x44a7db
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x260
ret 0x18
mov eax, dword [esp + 0x284]
test eax, eax
je 0x44a7e1
push 0x30
push 0x212
push ebx
call fcn.00448b60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x260
ret 0x18
Function at 0x451cf2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4644a8
cmp edx, dword [eax]
je 0x451d14
add eax, 8
inc ecx
cmp eax, 0x464538
jl 0x451d05
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4644a8]
jne 0x451e42
mov eax, dword [0x475b48]
cmp eax, 1
je 0x451e1c
test eax, eax
jne 0x451d45
cmp dword [0x462014], 1
je 0x451e1c
cmp edx, 0xfc
je 0x451e42
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x451d7c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004531d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0044f840
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x451dbf
lea eax, [ebp - 0x1a4]
push eax
call fcn.0044f840
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45a3c0
push edi
call fcn.0044ce50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004531d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004531e0
lea eax, [ebp - 0xa0]
push 0x45a1c0
push eax
call fcn.004531e0
push dword [esi + 0x4644ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004531e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00454051
add esp, 0x2c
pop edi
jmp 0x451e42
lea eax, [ebp + 8]
lea esi, [esi + 0x4644ac]
push 0
push eax
push dword [esi]
call fcn.0044f840
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40ed58
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
jmp 0x40ee17
cmp dword [esi + 0x10], 0x1000
jne 0x40ee03
test byte [esi + 0x15], 1
jne 0x40ee03
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40edb4
cmp ebp, 2
je 0x40edb4
cmp ebp, 0x10
je 0x40edb4
cmp ebp, 0x20
jne 0x40edd0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edd0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ede1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed50
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edd4
cmp byte [esp + 4], 0
je 0x40ee03
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed89
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x4105f3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4105cd
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x4105c8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x410624
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x410606
pop edi
not eax
pop esi
ret 0xc
Function at 0x438cb2
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
push edi
pop edi
sub esp, 4
mov dword [esp], 0xb17fc1d4
pop edi
dec edi
call fcn.00438cf7
add ecx, 1
or edi, edi
dec edi
xor dword [eax], ebx
dec edi
add edi, edi
dec edi
inc eax
sub ecx, ecx
sub edi, 0xd8c64906
cmp eax, esi
jne fcn.00438cb2
or ecx, edi
ret
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40de38
nop
mov ecx, 0x307d0750
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x14b528c4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219