joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bd80
Capabilities:
Delete directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
push edi
push 0x208
lea eax, [esp + 0x214]
push 0
push eax
mov edi, ecx
call fcn.00416890
push 0x208
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00416890
mov esi, dword [edi + 0x418]
add esp, 0x18
test esi, esi
je 0x40be96
mov edi, edi
call fcn.00403cb0
mov esi, dword [esi + 0x820]
test esi, esi
jne 0x40bdd0
push ebp
mov ebp, dword [edi + 0x418]
test ebp, ebp
je 0x40be95
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x40be00
lea esi, [ebp + 0x410]
push esi
call edi
test eax, eax
je 0x40be86
push 0x436e40
lea edx, [esp + 0x21c]
push edx
call ebx
push 0x436e40
call edi
mov word [esp + eax*2 + 0x216], 0
push esi
lea eax, [esp + 0x14]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x21c]
push edx
call esi
test eax, eax
je 0x40be86
mov edi, edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.00412984
add esp, 8
test eax, eax
je 0x40be73
mov word [eax], 0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push eax
call esi
test eax, eax
jne 0x40be50
mov ebp, dword [ebp + 0x820]
test ebp, ebp
jne 0x40be00
pop ebx
pop ebp
mov ecx, dword [esp + 0x418]
pop edi
pop esi
xor ecx, esp
call fcn.004104f3
add esp, 0x414
ret
Function at 0x40c9c0
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x424
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
mov ebp, dword [0x437724]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x42bcc8
call esi
push eax
push 0x42bcc8
push 0x436e40
call fcn.00411372
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x40caba
jmp 0x40ca10
movzx ecx, word [eax + 0x436e40]
mov word [esp + eax + 0x1c], cx
add eax, 2
cmp cx, bx
jne 0x40ca10
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
lea esi, [esp + eax*2 + 0x22]
call fcn.00412984
add esp, 8
cmp eax, esi
je 0x40ca65
push edi
lea edi, [esp + 0x20]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x40ca50
mov edx, dword [0x42bd8c]
mov dword [edi], edx
pop edi
lea eax, [esp + 0x20]
push 0x5c
push eax
call fcn.00411350
add esp, 8
cmp eax, ebx
je 0x40cbc7
add eax, 2
push 0x5c
push eax
call fcn.00411350
add esp, 8
cmp eax, ebx
je 0x40cbc7
lea ecx, [esp + 0x1c]
sub eax, ecx
sar eax, 1
mov esi, eax
lea edx, [esi + 1]
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0x22c]
push ecx
call fcn.00410502
mov word [esp + esi*2 + 0x232], bx
jmp 0x40cb27
mov eax, 0x436e40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cac2
sub eax, edx
sar eax, 1
cmp eax, 2
jb 0x40cae9
cmp word [0x436e42], 0x3a
jne 0x40cae9
push 2
push 0x436e40
jmp 0x40cb08
lea eax, [esp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40cbc7
push 2
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x22c]
push edx
call fcn.00410502
mov word [esp + 0x234], 0x5c
mov word [esp + 0x236], bx
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x40cbe1
push 0x40
push str.GetDiskFreeSpace2
push 0x437270
mov dword [0x43726c], 0xcb
call fcn.00410502
add esp, 0xc
mov word [0x4372f0], bx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
push 0x436e40
push 0x4372f8
mov dword [0x4372f0], eax
call fcn.00410502
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437500
mov word [0x4374fe], bx
call fcn.00410502
add esp, 0x18
mov word [0x437706], bx
mov dword [0x4372f4], 0xfb7
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004104f3
add esp, 0x424
ret
xor edx, edx
mov eax, ebp
div dword [esp + 0x14]
cmp edx, ebx
je 0x40cbf0
add eax, 1
xor edx, edx
div dword [esp + 0x10]
cmp edx, ebx
je 0x40cbfd
add eax, 1
cmp dword [esp + 0xc], eax
jae 0x40cc63
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437500
mov dword [0x43726c], 0xffffef30
mov word [0x4372f0], bx
mov dword [0x4372f0], ebx
mov word [0x4374fe], bx
call fcn.00410502
add esp, 0xc
pop esi
pop ebp
mov word [0x437706], bx
mov dword [0x4372f4], 0xfce
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004104f3
add esp, 0x424
ret
mov ecx, dword [esp + 0x42c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004104f3
add esp, 0x424
ret
Function at 0x40f730
Capabilities:
Get file version info
Link many functions at runtime

Disassembly:
sub esp, 0x250
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
xor edi, edi
push str.sflog.dll
mov dword [esp + 0x10], edi
call esi
test eax, eax
mov dword [0x43774c], eax
je 0x40f8cc
push str.sfcommon.dll
call esi
test eax, eax
mov dword [0x437750], eax
je 0x40f8e6
mov ecx, dword [0x43774c]
push 0x104
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 0x10], eax
je 0x40f8cc
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x40f8cc
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push edi
lea edx, [esp + 0x5c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x42bd8c
push ebx
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [esp + 0x14]
mov ecx, 0xd
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
cmp ax, 7
jb 0x40f8b1
jne 0x40f81b
cmp cx, 0x32
jb 0x40f8b1
mov edx, dword [0x43774c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sflog_log_init
push edx
call esi
test eax, eax
mov dword [0x437754], eax
je 0x40f8b1
mov eax, dword [0x43774c]
push str.sflog_set_UserNameW
push eax
call esi
test eax, eax
mov dword [0x437758], eax
je 0x40f8b1
mov ecx, dword [0x43774c]
push str.sflog_log_writeAccessFltW
push ecx
call esi
test eax, eax
mov dword [0x43775c], eax
je 0x40f8b1
mov edx, dword [0x43774c]
push str.sflog_log_term
push edx
call esi
test eax, eax
mov dword [0x437760], eax
je 0x40f8b1
mov eax, dword [0x437750]
push str.sfcm_reg_GetValueW
push eax
call esi
test eax, eax
mov dword [0x437764], eax
je 0x40f8b1
mov ecx, dword [0x437750]
push str.sfcm_misc_GetUNCPath
push ecx
call esi
test eax, eax
mov dword [0x437768], eax
je 0x40f8b1
mov dword [esp + 0xc], 1
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0xc], 0
jne 0x40f91a
mov edi, dword [esp + 0xc]
mov eax, dword [0x437750]
test eax, eax
je 0x40f8e6
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x437750], 0
mov eax, dword [0x43774c]
test eax, eax
je 0x40f900
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x43774c], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.004104f3
add esp, 0x250
ret
mov ecx, dword [esp + 0x258]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0x250
ret
Function at 0x40f940
Capabilities:
Get common file path

Disassembly:
sub esp, 0x854
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x84c], eax
push ebx
push ebp
push esi
push edi
push 0x105
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
push ebx
mov ebp, 1
mov byte [esp + 0x23], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x20]
call fcn.00401a00
cmp dword [0x43726c], ebx
mov esi, eax
je 0x40f98e
xor ebp, ebp
jmp 0x40fb43
call fcn.004016f0
cmp dword [0x43726c], ebx
movzx eax, ax
jne 0x40fb29
cmp ax, 0xffff
je 0x40fa2e
lea esp, [esp]
movsx eax, ax
cmp eax, 0x110
jg 0x40f9e1
je 0x40fa01
cmp eax, 0x105
jg 0x40fb07
cmp eax, 0x101
jge 0x40fa01
cmp eax, 2
jl 0x40fb5e
cmp eax, 8
jle 0x40fa01
cmp eax, 0x10
jmp 0x40f9fb
cmp eax, 0x220
jg 0x40f9f6
je 0x40fa01
sub eax, 0x200
je 0x40fa01
sub eax, 0x10
jmp 0x40f9fb
cmp eax, 0x300
jne 0x40fb5e
call fcn.00401840
cmp dword [0x43726c], ebx
jne 0x40fb29
mov eax, esi
call fcn.004016f0
cmp dword [0x43726c], ebx
movzx eax, ax
jne 0x40fb29
cmp ax, 0xffff
jne 0x40f9b0
mov edx, dword [esi]
push edx
call fcn.00411205
add esp, 4
push esi
call fcn.00410f1a
add esp, 4
cmp byte [esp + 0x17], bl
je 0x40fb43
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
push ebx
mov edi, eax
push ebx
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00413b7b
add esp, 0x14
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x440]
push str._s_s
push edx
call fcn.004112ba
add esp, 0x10
lea eax, [esp + 0x648]
push eax
push ebx
push 0x42c2a0
lea ecx, [esp + 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40fba6
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437500
mov dword [0x43726c], 0xffffef1a
mov word [0x4372f0], bx
mov dword [0x4372f0], ebx
mov word [0x4374fe], bx
call fcn.00410502
add esp, 0xc
push edi
mov word [0x437706], bx
mov dword [0x4372f4], 0x1767
xor ebp, ebp
call esi
jmp 0x40fb43
cmp eax, 0x106
jne 0x40fb5e
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
call fcn.00403230
add esp, 4
cmp dword [0x43726c], ebx
je 0x40fa2e
xor ebp, ebp
cmp esi, ebx
je 0x40fb43
mov eax, dword [esi]
push eax
call fcn.00411205
add esp, 4
push esi
call fcn.00410f1a
add esp, 4
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0x854
ret
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437500
mov dword [0x43726c], 8
mov word [0x4372f0], bx
mov dword [0x4372f0], ebx
mov word [0x4374fe], bx
call fcn.00410502
add esp, 0xc
mov word [0x437706], bx
mov dword [0x4372f4], 0x1744
jmp 0x40fb29
lea edx, [esp + 0x648]
push edx
call fcn.004041c0
push edi
call esi
jmp 0x40fb43
Function at 0x40fd10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x238
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x234], eax
push esi
push edi
push 0x42c9a8
push str.wininit.ini
call fcn.00411180
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 8], 0xfeff
jne 0x40fe03
push eax
push 0x80
push 1
push eax
push eax
push 0x40000000
push str.wininit.ini
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40fd9c
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x40fdb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004104f3
add esp, 0x238
ret
push 0
lea edx, [esp + 0x38]
push 0x42c9ac
push edx
call fcn.004112ba
lea eax, [esp + 0x40]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fdd0
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x40]
push eax
push esi
call edi
test eax, eax
je 0x40fd86
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fe8d
lea ecx, [esp + 0x10]
push ecx
push str.wininit.ini
call fcn.00411e5d
add esp, 8
cmp dword [esp + 0x24], 0
jne 0x40fe84
push esi
call fcn.00411205
push 0x42c9b8
push str.wininit.ini
call fcn.00411180
mov esi, eax
push esi
push 1
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.00410b74
push 0
lea eax, [esp + 0x54]
push 0x42c9ac
push eax
call fcn.004112ba
lea eax, [esp + 0x5c]
add esp, 0x28
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fe60
sub eax, edx
push esi
sar eax, 1
push 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00410b74
add esp, 0x10
push esi
call fcn.00411205
add esp, 4
push str.wininit.ini
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, esp
call fcn.004104f3
add esp, 0x238
ret
Function at 0x417d22
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42f670]
je 0x417d3d
inc edi
cmp edi, 0x17
jb 0x417d2e
cmp edi, 0x17
jae 0x417ebd
push ebp
push 3
call fcn.0042163d
cmp eax, 1
pop ecx
je 0x417e89
push 3
call fcn.0042163d
test eax, eax
pop ecx
jne 0x417d71
cmp dword [0x42f274], 1
je 0x417e89
cmp ebx, 0xfc
je 0x417ebc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x436768
push ebp
call fcn.0041a20d
add esp, 0xc
test eax, eax
je 0x417da7
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
push 0x104
mov esi, 0x436781
push esi
push 0
mov byte [0x436885], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417deb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041a20d
add esp, 0xc
test eax, eax
je 0x417deb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00416240
add esp, 0x14
push esi
call fcn.0041e8a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x417e30
push esi
call fcn.0041e8a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x436a7c
push 0x428a04
sub ecx, eax
push ecx
push eax
call fcn.0041dff6
add esp, 0x14
test eax, eax
je 0x417e30
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
jmp 0x417e32
xor esi, esi
push 0x428a00
push ebx
push ebp
call fcn.0041df38
add esp, 0xc
test eax, eax
je 0x417e52
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
push dword [edi*8 + 0x42f674]
push ebx
push ebp
call fcn.0041df38
add esp, 0xc
test eax, eax
je 0x417e74
push esi
push esi
push esi
push esi
push esi
call fcn.00416240
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00421480
add esp, 0xc
jmp 0x417ebc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x417ebc
cmp ebp, 0xffffffff
je 0x417ebc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42f674]
push dword [esi]
call fcn.0041e8a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x421480
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418f5b
xor ebx, ebx
cmp dword [0x436de8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x421556
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x421636
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x421636
push eax
call fcn.00418eed
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x436de8], eax
call esi
push eax
call fcn.00418eed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436dec], eax
call esi
push eax
call fcn.00418eed
mov dword [0x436df0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00417aaf
test eax, eax
pop ecx
pop ecx
je 0x421524
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416240
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x421556
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00418eed
cmp eax, ebx
pop ecx
mov dword [0x436df8], eax
je 0x421556
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418eed
pop ecx
mov dword [0x436df4], eax
mov eax, dword [0x436df4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4215db
cmp dword [0x436df8], ecx
je 0x4215db
push eax
call fcn.00418f64
push dword [0x436df8]
mov esi, eax
call fcn.00418f64
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4215db
cmp edi, ebx
je 0x4215db
call esi
cmp eax, ebx
je 0x4215a8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4215a8
test byte [ebp - 0x18], 1
jne 0x4215db
lea eax, [ebp - 0x10]
push eax
call fcn.00417ae6
test eax, eax
pop ecx
je 0x4215c3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416240
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4215d2
or dword [ebp + 0x10], 0x200000
jmp 0x421616
or dword [ebp + 0x10], 0x40000
jmp 0x421616
mov eax, dword [0x436dec]
cmp eax, dword [ebp - 8]
je 0x421616
push eax
call fcn.00418f64
cmp eax, ebx
pop ecx
je 0x421616
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x421616
mov eax, dword [0x436df0]
cmp eax, dword [ebp - 8]
je 0x421616
push eax
call fcn.00418f64
cmp eax, ebx
pop ecx
je 0x421616
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436de8]
call fcn.00418f64
cmp eax, ebx
pop ecx
je 0x421636
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x421638
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x11510a4e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x638249e4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0xb34058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b341a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb3407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3406a
add dl, dl
jne 0xb34089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb340dc
xor eax, eax
add dl, dl
jne 0xb34096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb3417d
add dl, dl
jne 0xb340a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb340b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb340bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb340c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb340d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb34075
mov eax, 1
add dl, dl
jne 0xb340ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb340f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb340e1
sub eax, ebx
mov ebx, 1
jne 0xb34128
mov ecx, 1
add dl, dl
jne 0xb3410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb34119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb34105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb34075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb3413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb3414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb34136
cmp eax, 0x7d00
jae 0xb3416d
cmp eax, 0x500
jb 0xb34168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb34075
cmp eax, 0x7f
ja 0xb34170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb34075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb3419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb34075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1003fcb7
Capabilities:
Encode data using xor

Disassembly:
and dh, ch
movsb byte es:[edi], byte [esi]
aas
ror byte [0x8bff6b4], 0xba
mov al, 0x6e
sbb al, 0xf2
sar dword [edx], 0x80
pushal
jle 0x1003fcd4
add byte [esi + 0x60900238], bh
mov bl, 7
loopne 0x1003fd07
adc al, 7
invalid
add dword [esi + ebx - 0x58dffe9c], edi
das
add byte [ebp + esi*2 + 5], bl
or byte [ebp - 0x1b], 0x85
sub byte [eax + 0x75], 0x11
pushal
lcall 0x2963, 0xbd38c975
inc eax
mov ebp, 0xbd4be801
or dword [eax + 0x5009583f], ebp
shr dword [edi + 3], cl
sahf
sub al, 0xbc
or eax, 0xdbd4888
cwde
xor byte [edx + 3], dl
dec eax
lahf
call 0xb80dba57
aas
pop eax
or dword [eax - 0x2d], edx
outsd dx, dword [esi]
add ebx, dword [esi - 0x77f243d4]
dec eax
mov ebp, 0x5230980d
add ecx, dword [eax - 0x61]
pop edx
pop es
mov eax, 0xb803bc88
jp 0x1003fce7
adc dword [eax], esi
test eax, 0x388019a8
invalid
Function at 0x1009ab2d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x100ac0f8]
add ecx, 0xffffd373
mov dword [0x100ac0f4], ecx
mov dword [ebp - 0x10], eax
call fcn.1009beb1
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x100ac0f4], 0x9dc
mov edi, dword [0x100ac0f8]
add edi, 0x21bf
mov dword [0x100ac0f8], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x100ac0f4], 0xffffeeb0
mov dword [0x100ac0f8], 0x15d7
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1009acb6
mov eax, 0x15d7
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov edi, edx
add edi, 0xffffecbf
mov dword [0x100ac0f4], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x1009ac4c
mov al, byte [ebp - 0x49]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x48]
add edx, 1
mov ah, byte [ebp - 0x4a]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x44], edx
jne 0x1009abfa
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1009ac91
jmp 0x1009ac55
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffffec71
mov dword [0x100ac0f8], ecx
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x34]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
jb 0x1009abcc
jmp 0x1009acb6
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x100ac0f4], 0x651
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret