joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d3fd
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.0044e5f0
and dword [ebp - 4], 0
cmp dword [0x4829f4], 0
mov ebx, eax
jne 0x45d4ae
push 0x470d5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45d55f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x470d50
push edi
call esi
test eax, eax
je 0x45d55f
push eax
call fcn.0044e57e
mov dword [esp], 0x470d40
push edi
mov dword [0x4829f4], eax
call esi
push eax
call fcn.0044e57e
mov dword [esp], 0x470d2c
push edi
mov dword [0x4829f8], eax
call esi
push eax
call fcn.0044e57e
mov dword [esp], 0x470d10
push edi
mov dword [0x4829fc], eax
call esi
push eax
call fcn.0044e57e
pop ecx
mov dword [0x482a04], eax
test eax, eax
je 0x45d4ae
push 0x470cf8
push edi
call esi
push eax
call fcn.0044e57e
pop ecx
mov dword [0x482a00], eax
mov eax, dword [0x482a00]
cmp eax, ebx
je 0x45d506
cmp dword [0x482a04], ebx
je 0x45d506
push eax
call fcn.0044e5f9
push dword [0x482a04]
mov esi, eax
call fcn.0044e5f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45d506
test edi, edi
je 0x45d506
call esi
test eax, eax
je 0x45d4fd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45d4fd
test byte [ebp - 0xc], 1
jne 0x45d506
or dword [ebp + 0x10], 0x200000
jmp 0x45d53f
mov eax, dword [0x4829f8]
cmp eax, ebx
je 0x45d53f
push eax
call fcn.0044e5f9
pop ecx
test eax, eax
je 0x45d53f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45d53f
mov eax, dword [0x4829fc]
cmp eax, ebx
je 0x45d53f
push eax
call fcn.0044e5f9
pop ecx
test eax, eax
je 0x45d53f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4829f4]
call fcn.0044e5f9
pop ecx
test eax, eax
je 0x45d55f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45d561
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4063f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x81021b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046c4
call fcn.00407051
push 4
mov dword [esp + 0x18], 0
call fcn.00407ef6
mov edi, eax
add esp, 4
test edi, edi
je 0x406464
push ebx
call fcn.00406f29
mov dword [edi], eax
call fcn.00406ce8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407012
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406458
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040703a
pop ebx
jmp 0x406466
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408961
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813520]
jne 0x40896b
repz ret
jmp fcn.0040d0bc
Function at 0x411d02
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b061
and dword [ebp - 0x14], 0
cmp dword [0x818a94], 0
mov dword [ebp - 0x18], eax
jne 0x411db5
push 0x403934
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e5d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403928
push ebx
call edi
test eax, eax
je 0x411e5d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403918
push ebx
mov dword [0x818a94], eax
call edi
push eax
call esi
push 0x403904
push ebx
mov dword [0x818a98], eax
call edi
push eax
call esi
push 0x4038e8
push ebx
mov dword [0x818a9c], eax
call edi
push eax
call esi
mov dword [0x818aa4], eax
test eax, eax
je 0x411db5
push 0x4038d0
push ebx
call edi
push eax
call esi
mov dword [0x818aa0], eax
mov eax, dword [0x818aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411e0e
cmp dword [0x818aa4], ecx
je 0x411e0e
push eax
call esi
push dword [0x818aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411e0e
test ebx, ebx
je 0x411e0e
call edi
test eax, eax
je 0x411e05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411e05
test byte [ebp - 8], 1
jne 0x411e0e
or dword [ebp + 0x10], 0x200000
jmp 0x411e41
mov eax, dword [0x818a98]
cmp eax, dword [ebp - 0x18]
je 0x411e41
push eax
call esi
test eax, eax
je 0x411e41
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e41
mov eax, dword [0x818a9c]
cmp eax, dword [ebp - 0x18]
je 0x411e41
push eax
call esi
test eax, eax
je 0x411e41
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x818a94]
call esi
test eax, eax
je 0x411e5d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408961
leave
ret
Function at 0x80ed70
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9d820], 0x37
jne 0x80ee10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404174
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x4041b0
push 0x404248
push 0x4042c8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9d824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81d884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80f060
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9d820]
sub esp, 0x434
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81d884]
cmp eax, ebx
jbe 0x80f248
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80f096
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9d820], 0x1c
jne 0x80f0ad
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80f0ea
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb9c7a4], ebx
mov eax, dword [esp + 0x18]
add dword [0xb9c7a4], eax
mov edx, dword [0xb9c7a4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0xb9d820], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80f184
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0xb9d820], 0x979
mov dword [0xb9c7a8], 0xff6b3619
mov dword [0xb9c7ac], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80f1c8
push 0
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0xb9d820]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x80f1ea
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80f0e8
cmp eax, 0x8d4
jne 0x80f201
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0xb9d820], 0x17
jne 0x80f237
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea edx, [esp + 0x40]
push edx
push 0x404100
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80f090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret
Function at 0x412de0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0x3c]
mov ecx, 0xf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x42205d
call fcn.00411424
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
jmp 0x412e3e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x412f6c
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x10], 0
jne 0x412ed4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x412ecf
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
push ecx
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
cmp esi, esp
call fcn.00411307
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x412ea8
xor eax, eax
jmp 0x412f71
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004111cc
add esp, 0xc
jmp 0x412e2c
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00412d70
add esp, 8
test eax, eax
jne 0x412ef5
xor eax, eax
jmp 0x412f71
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
push ecx
push 4
push 0x1000
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x14
cmp esi, esp
call fcn.00411307
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x412f35
xor eax, eax
jmp 0x412f71
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004113e8
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
jmp 0x412e2c
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.00411307
mov esp, ebp
pop ebp
ret
Function at 0x709350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x206000]
lea eax, [edi + 0x2e422c]
push dword [eax]
mov dword [eax], 0xb803fec3
push eax
push edi
jmp 0x70937a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x709381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x709370
mov eax, 1
add ebx, ebx
jne 0x709393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7093a4
jne 0x7093c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7093c3
dec eax
add ebx, ebx
jne 0x7093b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x709388
add ebx, ebx
jne 0x7093bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x709415
xor ecx, ecx
sub eax, 3
jb 0x7093db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70944a
sar eax, 1
mov ebp, eax
jmp 0x7093e6
add ebx, ebx
jne 0x7093e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7093b4
inc ecx
add ebx, ebx
jne 0x7093f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7093b4
add ebx, ebx
jne 0x709401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7093f6
jne 0x709412
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7093f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x709434
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x709426
jmp 0x709376
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x709434
add edi, ecx
jmp 0x709376
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xc096
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x709456
cmp byte [edi], 0x36
jne 0x709456
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 0x70945b
lea edi, [esi + 0x305000]
mov eax, dword [edi]
or eax, eax
je 0x7094d3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31a3d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31a5b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x709488
mov ecx, edi
jns 0x7094b7
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x31a5bc]
or eax, eax
je 0x7094cd
mov dword [ebx], eax
add ebx, 4
jmp 0x7094a5
call dword [esi + 0x31a5b8]
mov ebp, dword [esi + 0x31a5c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x2a7]
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 0x709507
sub esp, 0xffffff80
jmp 0x569c8f
Function at 0x4041a0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x40f64c
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x43ce6c]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov eax, dword [0x43ce6c]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x44]
push 0x104
lea eax, [esp + 0x10]
push eax
push ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x404244
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], ebx
call dword [sym.imp.mfc90.dll_Ordinal_5963]
cmp eax, ebx
jle 0x40423a
push ebx
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_6148]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
setne bl
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, bl
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0040e824
add esp, 0x118
ret

Function at 0x404c50
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov byte [0x43ddd8], 1
mov eax, dword [esi + 0x118]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x404c90
mov eax, dword [eax + 0x2c]
push 0
push eax
call edi
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x404c90
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x404cbf
mov ecx, dword [eax + 0x2c]
push 0
push ecx
call edi
mov ecx, dword [esi + 0x11c]
test ecx, ecx
je 0x404cbf
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x11c], 0
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x404cee
mov ecx, dword [eax + 0x2c]
push 0
push ecx
call edi
mov ecx, dword [esi + 0x12c]
test ecx, ecx
je 0x404cee
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x12c], 0
pop edi
pop esi
ret

Function at 0x404ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40f748
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x43ce6c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_337
mov ecx, dword [esi + 0x10c]
sub ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x108]
sub eax, dword [esi + 0x100]
mov dword [esp + 0xc], ecx
push 3
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
call sub.mfc90.dll_Ordinal_6352
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_2254
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.mfc90.dll_Ordinal_613
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x404f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40f748
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x43ce6c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_337
mov ecx, dword [esi + 0x10c]
sub ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x108]
sub eax, dword [esi + 0x100]
mov dword [esp + 0xc], ecx
push 3
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
call sub.mfc90.dll_Ordinal_6352
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_2254
mov esi, dword [esp + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.mfc90.dll_Ordinal_613
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x40e824
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43ce6c]
jne 0x40e82e
repz ret
jmp fcn.0040ee83
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7904ac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7904b6
pushal
call 0x7904bc
pop ebp
sub ebp, 0x10
sub ebp, 0x3904ac
jmp 0x7904d2
mov eax, 0x3904ac
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bf
mov edx, 0x17ff569f
xor byte [eax], dl
inc eax
dec ecx
jne 0x7904e9
jmp 0x7904fc
adc al, 0x52
adc al, 0x16
mov dword [0x1e9f9f9f], eax
pop esi
lahf
lahf
lahf
pushfd
push edx
daa
wait
lahf
lahf
lahf
and eax, 0x9f9f9fb7
push 0x14579c7d
push ds
xchg ebx, eax
lahf
lahf
lahf
pushfd
pop edx
iretd
Function at 0x441360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x434015
lea edi, [esi - 0x33015]
push edi
jmp 0x44137a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x441381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x441370
mov eax, 1
add ebx, ebx
jne 0x441393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x441388
jne 0x4413a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x441388
xor ecx, ecx
sub eax, 3
jb 0x4413b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44142a
mov ebp, eax
add ebx, ebx
jne 0x4413c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4413d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4413f4
inc ecx
add ebx, ebx
jne 0x4413e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4413d5
jne 0x4413f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4413d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x441414
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x441405
jmp 0x441376
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x441414
add edi, ecx
jmp 0x441376
pop esi
mov edi, esi
mov ecx, 0x108
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x441432
cmp byte [edi], 2
jne 0x441432
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 0x441437
lea edi, [esi + 0x3f000]
mov eax, dword [edi]
or eax, eax
je 0x4414af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x41904]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x41940]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x441464
mov ecx, edi
jns 0x441493
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x41948]
or eax, eax
je 0x4414a9
mov dword [ebx], eax
add ebx, 4
jmp 0x441481
call dword [esi + 0x41944]
mov ebp, dword [esi + 0x4194c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4414e3
sub esp, 0xffffff80
jmp 0x4017c0

Function at 0x40892d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
mov ecx, 0x2823ff81
call fcn.00408948
or ecx, ecx
xor dword [edx], ebx
inc edx
cmp edx, eax
jne fcn.0040892d
ret