joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
enter 0x6aed, 0xffffffffffffff9f
cwde
test dh, ch
sbb byte [ebp - 0x7076189b], bl
daa
invalid

Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10
Function at 0x401000
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x44c6c8]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [eax]
mov dword [ebx + 8], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], eax
mov eax, 0x38
push esi
push edi
mov dword [esp + 0x14], ebx
cmp dword [ebp + 8], eax
jbe 0x401042
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
push edx
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0042a2e0
lea edi, [ebx + 0x10]
push 0x1000
add ebx, 0x58
push 0x441148
mov ecx, 0x12
mov esi, 0x441100
mov dword [esp + 0x24], edi
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x38], ebx
call fcn.0042a2e0
mov edi, dword [esp + 0x28]
add esp, 0x18
lea ecx, [esp + 0x24]
xor eax, eax
mov dword [esp + 0xc], 0x12
xor edx, edx
mov esi, 4
movzx ebx, byte [ecx]
shl edx, 8
inc eax
dec esi
or edx, ebx
inc ecx
cmp eax, dword [ebp + 8]
jne 0x4010ad
xor eax, eax
lea ecx, [esp + 0x24]
test esi, esi
jne 0x401097
xor dword [edi], edx
add edi, 4
sub dword [esp + 0xc], 1
jne 0x401090
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
add edi, 0x10
mov edi, edi
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.00401160
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi], ecx
add edi, 4
inc ebx
mov dword [edi], edx
inc ebx
add edi, 4
cmp ebx, 0x12
jb 0x4010d0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
mov edi, dword [esp + 0xc]
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.00401160
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi], ecx
add edi, 4
inc ebx
mov dword [edi], edx
inc ebx
add edi, 4
cmp ebx, 0x100
jl 0x401110
add dword [esp + 0xc], 0x400
sub dword [esp + 0x10], 1
jne 0x401106
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004243cb
mov esp, ebp
pop ebp
ret 8

Function at 0x4022a0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
jne 0x4022c9
mov eax, dword [esp + 8]
pop esi
pop ebx
pop ecx
ret
cmp dword [esp + 8], esi
jle 0x4022e6
nop
mov ecx, dword [ebx + esi*4]
mov edx, dword [edi + 8]
push ecx
push edx
mov ecx, edi
call fcn.004132d6
inc esi
cmp esi, dword [esp + 8]
jl 0x4022d0
mov eax, dword [edi + 8]
pop esi
pop ebx
pop ecx
ret

Function at 0x403b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00409ffd
Function at 0x404090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4040a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4040e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4040e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4040e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4040d0
cmp esi, eax
jb 0x4040ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405d20
Capabilities:
Check if file exists
Create thread

Disassembly:
push ecx
push ebp
push esi
lea esi, [edi + 0x46cc]
push 0x2b
mov eax, str.CFileEncryptDecrypt::StartDecryptFileThread
call fcn.00403640
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x46e8], 0x32c
call ebp
cmp dword [edi + 0x4644], 2
mov dword [edi + 0x463c], eax
mov dword [edi + 0x4640], 0
je 0x405d8f
push 0x2b
mov eax, str.CFileEncryptDecrypt::StartDecryptFileThread
call fcn.00403640
mov dword [edi + 0x46e8], 0x32f
call ebp
mov dword [edi + 0x463c], eax
mov eax, 0xfffffffc
pop esi
mov dword [edi + 0x4640], eax
pop ebp
pop ecx
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405e9f
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405da0
sub eax, edx
sar eax, 1
je 0x405e9f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x405e9f
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405dc4
sub eax, edx
sar eax, 1
je 0x405e9f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x405e9f
lea edx, [eax + 2]
jmp 0x405df0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405df0
sub eax, edx
sar eax, 1
je 0x405e9f
lea eax, [edi + 0x4648]
push eax
mov eax, dword [esp + 0x14]
call fcn.00403420
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x4664]
push ecx
call fcn.00403420
mov eax, dword [esp + 0x18]
lea edx, [edi + 0x469c]
push edx
call fcn.00403420
mov eax, dword [esp + 0x1c]
push 0
push 0
push edi
push 0x405c90
push 0
push 0
mov dword [edi + 0x46c4], eax
mov dword [edi + 0x46c0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [edi + 0x46c8], eax
call fcn.00405ed0
mov eax, dword [edi + 0x46c8]
test eax, eax
je 0x405e89
cmp eax, 0xffffffff
je 0x405e89
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x46c8], 0
mov eax, dword [edi + 0x4640]
pop esi
mov dword [edi + 0x4644], 2
pop ebp
pop ecx
ret 0x10
push 0x2b
mov eax, str.CFileEncryptDecrypt::StartDecryptFileThread
call fcn.00403640
mov dword [edi + 0x46e8], 0x339
call ebp
mov dword [edi + 0x463c], eax
mov eax, 0xfffffffa
pop esi
mov dword [edi + 0x4640], eax
pop ebp
pop ecx
ret 0x10
Function at 0x407270
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43a5cd
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x44c6c8]
xor eax, esp
mov dword [esp + 0x238], eax
push esi
push edi
mov eax, dword [0x44c6c8]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x407322
push 0x118
call fcn.0040772e
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x250], 0
test esi, esi
je 0x407302
mov ecx, esi
call fcn.0040c0ea
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi], vtable.CInvalidArgException.0
jmp 0x407304
xor esi, esi
push 0x447e3c
lea edx, [esp + 0x14]
mov dword [esp + 0x254], 0xffffffff
push edx
mov dword [esp + 0x18], esi
call fcn.0042821a
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], 0x4071b0
mov dword [esp + 0x34], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
jne 0x407378
lea eax, [edi + 2]
jmp 0x4073c7
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x46]
push ecx
mov word [esp + 0x48], ax
call fcn.00426500
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4073a5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 0x14]
call fcn.00403df0
mov eax, 1
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004243cb
add esp, 0x248
ret

Function at 0x407520
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, eax
cmp dword [esi], 0
jne 0x407556
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x407556
mov eax, dword [esi]
add esi, 4
push esi
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4075f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x210
mov eax, dword [0x44c6c8]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, 0x442378
push esi
mov esi, ecx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407610
sub eax, edx
sar eax, 1
je 0x407672
push edi
push 0x104
lea eax, [esp + 0x10]
push eax
push 0x442378
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407640
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x10]
call fcn.00403640
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004243cb
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004243cb
add esp, 0x210
ret

Function at 0x408a52
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x408a9a
call fcn.00412c8d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x408a9a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x408add
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x408ac6
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x408ac6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x408ada
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x411727
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41176e
call fcn.00412c8d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41176e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41178a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041129f
mov esi, eax
test edi, edi
je 0x411788
test ebx, ebx
je 0x411788
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411f2d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4395bd
call fcn.00425fa0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x411f52
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x411f98
lea ecx, [ebp - 0x10]
call fcn.00404500
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040be83
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401b70
mov eax, esi
call fcn.00426078
ret 8
Function at 0x4243cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c6c8]
jne 0x4243d5
repz ret
jmp fcn.00429ea3

Function at 0x432e39
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004298b2
and dword [ebp - 4], 0
cmp dword [0x45071c], 0
mov ebx, eax
jne 0x432eea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x432f9b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x432f9b
push eax
call fcn.00429840
mov dword [esp], 0x43f7f8
push edi
mov dword [0x45071c], eax
call esi
push eax
call fcn.00429840
mov dword [esp], 0x43f7e4
push edi
mov dword [0x450720], eax
call esi
push eax
call fcn.00429840
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x450724], eax
call esi
push eax
call fcn.00429840
pop ecx
mov dword [0x45072c], eax
test eax, eax
je 0x432eea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429840
pop ecx
mov dword [0x450728], eax
mov eax, dword [0x450728]
cmp eax, ebx
je 0x432f42
cmp dword [0x45072c], ebx
je 0x432f42
push eax
call fcn.004298bb
push dword [0x45072c]
mov esi, eax
call fcn.004298bb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x432f42
test edi, edi
je 0x432f42
call esi
test eax, eax
je 0x432f39
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x432f39
test byte [ebp - 0xc], 1
jne 0x432f42
or dword [ebp + 0x10], 0x200000
jmp 0x432f7b
mov eax, dword [0x450720]
cmp eax, ebx
je 0x432f7b
push eax
call fcn.004298bb
pop ecx
test eax, eax
je 0x432f7b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x432f7b
mov eax, dword [0x450724]
cmp eax, ebx
je 0x432f7b
push eax
call fcn.004298bb
pop ecx
test eax, eax
je 0x432f7b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45071c]
call fcn.004298bb
pop ecx
test eax, eax
je 0x432f9b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x432f9d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ea50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x42ea72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ea79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ea68
mov eax, 1
add ebx, ebx
jne 0x42ea8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ea80
jne 0x42ea9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ea80
xor ecx, ecx
sub eax, 3
jb 0x42eab0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42eb22
mov ebp, eax
add ebx, ebx
jne 0x42eabb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42eac8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42eaec
inc ecx
add ebx, ebx
jne 0x42ead8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42eacd
jne 0x42eae9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42eacd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42eb0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42eafd
jmp 0x42ea6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42eb0c
add edi, ecx
jmp 0x42ea6e
pop esi
mov edi, esi
mov ecx, 0x26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42eb2a
cmp byte [edi], 0x1a
jne 0x42eb2a
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 0x42eb2f
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42eb9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x34d8c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x34e94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42eb5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x34e9c]
or eax, eax
je 0x42eb98
mov dword [ebx], eax
add ebx, 4
jmp 0x42eb79
call dword [esi + 0x34e98]
mov ebp, dword [esi + 0x34ea0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x42ebd2
sub esp, 0xffffff80
jmp 0x40629a
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4a0715ac
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x50b23fbe
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441729
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x28]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
xor eax, eax
push eax
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], 1
mov byte [esp + 0x3c], bl
call fcn.00402f10
mov eax, dword [esi + 4]
shr ebx, 8
mov byte [esp + 0x2c], bl
cmp eax, edi
jne 0x403b09
xor edx, edx
jmp 0x403b0e
mov edx, dword [esi + 8]
sub edx, eax
cmp eax, edi
je 0x403b38
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x403b38
mov eax, dword [esi + 8]
mov byte [eax], bl
inc eax
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403b45
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [esp + 0x2c]
push eax
push edi
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00402f10
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x403b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441759
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 8], ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
xor eax, eax
push eax
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], 1
mov byte [esp + 0x40], bl
call fcn.00402f10
mov eax, dword [esi + 4]
mov edx, ebx
shr edx, 8
mov byte [esp + 0x30], dl
cmp eax, ebp
jne 0x403bdc
xor edi, edi
jmp 0x403be1
mov edi, dword [esi + 8]
sub edi, eax
cmp eax, ebp
je 0x403bf9
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edi, ecx
jae 0x403bf9
mov eax, dword [esi + 8]
mov byte [eax], dl
inc eax
mov dword [esi + 8], eax
jmp 0x403c19
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403c06
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00402f10
mov eax, dword [esi + 4]
mov edx, ebx
shr edx, 0x10
mov byte [esp + 0x30], dl
cmp eax, ebp
jne 0x403c2d
xor edi, edi
jmp 0x403c32
mov edi, dword [esi + 8]
sub edi, eax
cmp eax, ebp
je 0x403c4a
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edi, ecx
jae 0x403c4a
mov eax, dword [esi + 8]
mov byte [eax], dl
inc eax
mov dword [esi + 8], eax
jmp 0x403c6a
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403c57
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00402f10
mov eax, dword [esi + 4]
shr ebx, 0x18
mov byte [esp + 0x30], bl
cmp eax, ebp
jne 0x403c7c
xor edx, edx
jmp 0x403c81
mov edx, dword [esi + 8]
sub edx, eax
cmp eax, ebp
je 0x403cac
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x403cac
mov eax, dword [esi + 8]
mov byte [eax], bl
inc eax
pop edi
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x403cb9
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [esp + 0x30]
push eax
push edi
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00402f10
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret