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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x409122
pop dword [ebp - 0x28]
mov eax, 0xc0f47258
add eax, 0x3f4c1eca
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x37f92
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x4647
mov edi, eax
mov edx, 0x41aa00
add edx, dword [ebp - 0x28]
mov esi, 0xac44a2d9
add esi, 0xeabc0ea5
add dword [ebp - 0x24], 0x696c451f
mov ebx, dword [edx]
add dword [ebp - 0x24], esi
xor ebx, esi
xor dword [ebp - 0x10], edx
mov dword [edi], ebx
xor dword [ebp - 8], 0x3ff51685
add edi, 0xd661f3aa
add edi, 0x299e0c5a
add edx, 0x836e00ef
add edx, 0x7c91ff15
loop 0x409170
add eax, 0x56db924e
sub eax, 0x56da865f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xda561a5b
sub ecx, 0xda161a5b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x4036e9
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x18
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 0x18
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
lea eax, [ebp + 4]
push eax
push dword [0x411f94]
call dword [sym.imp.KERNEL32.DLL_GetConsoleScreenBufferInfo]
push 0
xor ecx, ecx
add ecx, 4
pop eax
add ecx, 4
mov word [ebp + ecx], ax
xor ecx, ecx
add ecx, 4
add ecx, 4
lea eax, [ebp + ecx]
push eax
pop eax
mov eax, dword [eax]
push eax
push dword [0x411f94]
call dword [sym.imp.KERNEL32.DLL_SetConsoleCursorPosition]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 0x18
ret
Function at 0x404c5e
Capabilities:
Write file on windows

Disassembly:
sub esp, 4
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
lea eax, [ebp + 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [eax - 4]
call main
pop ebx
push eax
push dword [eax - 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
pop eax
push eax
pop eax
mov ebx, dword [eax - 4]
push ebx
push eax
call fcn.00403b1e
pop eax
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00404f70
push eax
push dword [0x411f94]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp + 0xc]
call fcn.00403b1e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 4
ret 4

Function at 0x404ce0
Capabilities:
Write file on windows

Disassembly:
sub esp, 4
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push dword [ebp + 0x10]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x404d14
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x404d3c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
pop eax
mov dword [ebp + 4], eax
jmp 0x404d49
push dword [ebp + 0x10]
pop eax
mov dword [ebp + 4], eax
push 0
lea eax, [ebp + 4]
push eax
push dword [ebp + 4]
push dword [ebp + 0xc]
push dword [0x411f94]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 4
ret 8
Function at 0x40859d
Capabilities:
Terminate process

Disassembly:
sub esp, 0
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.00407db9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x408c83
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
lea eax, [ebp + 4]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push eax
pop eax
mov dword [ebp + 8], eax
push dword [ebp + 8]
push 1
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x408cf2
mov eax, 0xffffffff
not eax
mov dword [esp], eax
push dword [ebp + 4]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x408d0d
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop ebx
pop eax
sub esp, 4
and eax, ebx
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x408d34
push 0xffffffffffffffff
pop eax
mov dword [ebp + 8], eax
jmp 0x408d74
push dword [ebp + 8]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x408d4a
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x408d67
push 0xfffffffffffffffe
pop eax
mov dword [ebp + 8], eax
jmp 0x408d74
push dword [ebp + 4]
pop eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
add esp, 4
mov esp, ebp
pop ebp
add esp, 8
ret 8

Function at 0x40d372
Capabilities:
Get file size

Disassembly:
sub esp, 4
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
mov ecx, dword [ebp - 4]
push dword [ecx]
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x40d3a6
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x40d3c3
push 0
pop eax
mov dword [ebp + 4], eax
jmp 0x40d3d8
push 0
mov ecx, dword [ebp - 4]
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
pop eax
mov dword [ebp + 4], eax
mov eax, dword [ebp + 4]
pop edi
pop esi
pop ebx
add esp, 4
mov esp, ebp
pop ebp
add esp, 4
ret

Function at 0x40d60a
Capabilities:
Write file on windows

Disassembly:
sub esp, 4
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
lea eax, [ebp + 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp + 4]
pop edi
pop esi
pop ebx
add esp, 4
mov esp, ebp
pop ebp
add esp, 4
ret 8
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40633c
pop dword [ebp - 8]
mov eax, 0x5abc3bde
add eax, 0xa584275e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xfcde17f9
add dword [ebp - 0x18], 0x51742d52
mov dword [ebp - 0x14], 0xc7898471
sub dword [ebp - 0x14], 0x9556382c
mov dword [ebp - 0x10], 0xd1726cd5
add dword [ebp - 0x10], 0x7ad9d759
mov dword [ebp - 0xc], 0xcb89ca64
sub dword [ebp - 0xc], 0xcb89ca64
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xc5cf8b2d
sub dword [ebp - 0x18], 0x515d21d7
mov dword [ebp - 0x14], 0xc565ce0
add dword [ebp - 0x14], 0x35160495
mov dword [ebp - 0x10], 0xd3b19ed9
add dword [ebp - 0x10], 0x8fbdcd93
mov dword [ebp - 0xc], 0x61a27fbd
sub dword [ebp - 0xc], 0x61a27fbd
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x4fa8e76a
sub eax, 0x4f68766a
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x37b51
push 0
call eax
mov ecx, 0x744ed24
add ecx, 0xf8bb5f37
xor edi, edi
add edi, eax
mov esi, 0x2ca6935a
sub esi, 0x2c65935a
add esi, dword [ebp - 8]
mov ebx, 0xd58f59e2
sub ebx, 0x595db42b
sub dword [ebp - 4], ebx
mov edx, dword [esi]
sub edx, ebx
xor dword [ebp - 4], eax
mov dword [edi], edx
xor dword [ebp - 4], edi
add edi, 4
add esi, 4
loop 0x40645b
add eax, 0x7c5c5978
sub eax, 0x7c5b3539
mov ebx, eax
add eax, 0x28ef4e16
sub eax, 0x28ef4e11
mov ecx, 0x79af1855
sub ecx, 0x796f1855
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x404dd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x404de7
pop dword [ebp - 0x4c]
mov eax, 0x2401b87b
add eax, 0xdc3e956c
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xd5e7258e
sub dword [ebp - 0x5c], 0x8794e043
mov dword [ebp - 0x58], 0xd5a36c38
add dword [ebp - 0x58], 0x5c8fe00d
mov dword [ebp - 0x54], 0x90478396
add dword [ebp - 0x54], 0xbc04c098
mov dword [ebp - 0x50], 0x8691e97d
sub dword [ebp - 0x50], 0x8691e97d
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x62cbfe42
sub eax, 0x6289cdce
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x48add32
sub dword [ebp - 0x5c], 0x901873dc
mov dword [ebp - 0x58], 0xe74055a9
sub dword [ebp - 0x58], 0xa5d3f434
mov dword [ebp - 0x54], 0x1cdf4922
sub dword [ebp - 0x54], 0xb96fdcb6
mov dword [ebp - 0x50], 0x5f200282
sub dword [ebp - 0x50], 0x5f200282
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ec05
push 0
call eax
mov ecx, 0x8749ed7a
sub ecx, 0x8749a170
xor edi, edi
add edi, eax
mov ebx, 0x4dd3a954
add ebx, 0xb26f9aac
add ebx, dword [ebp - 0x4c]
mov esi, 0x99d86d58
sub dword [ebp - 0x18], edi
mov edx, dword [ebx]
add dword [ebp - 4], 0x494d56f1
add edx, esi
sub dword [ebp - 0x20], ecx
mov dword [edi], edx
xor dword [ebp - 0x38], 0xdaec8863
add edi, 0x8cada620
add edi, 0x735259e4
add ebx, 0x4636942d
add ebx, 0xb9c96bd7
loop 0x404f00
add eax, 0xcced2752
sub eax, 0xccec0457
xor ebx, ebx
add ebx, eax
add eax, 0x33be683a
sub eax, 0x33be6835
mov ecx, 0xe03e761d
sub ecx, 0xdffe761d
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x4033e4
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x2446918], 0x594
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jne 0x403430
push 0x402e10
push 0x402e20
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0x402e3c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [0x44e4b8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x44e4bc]
mov dword [ebp - 0x30], eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.004033dd
mov eax, dword [0x44e4c0]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x44e4c4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
jmp 0x40346f
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x2446918], 0xc
mov dword [ebp - 4], eax
jne 0x4034d1
push ebx
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc4c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2446918]
cmp eax, 0xfa9
jne 0x4034ed
mov dword [0x2445eb4], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4034fa
mov dword [0x2445860], ebx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, esi
shr edx, cl
lea eax, [edi + esi]
mov dword [ebp - 0x18], eax
mov dword [0x2445eb0], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2446918], 0x213
mov dword [ebp - 0x18], edx
jne 0x40353a
push 0x402e54
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.004033d7
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0x10], 0x61c88647
mov eax, edx
shr eax, cl
lea esi, [edi + edx]
add eax, dword [ebp - 0x30]
xor eax, esi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
dec dword [ebp - 0x20]
jne 0x40346c
cmp dword [0x2446918], 0xa6d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop edi
jne 0x4035a4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
mov dword [esi + 4], edx
pop esi
pop ebx
leave
ret 4
Function at 0x4035ad
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2446918]
mov ecx, dword [0x2445868]
sub esp, 0x544
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403620
mov edi, ecx
mov ebx, eax
cmp dword [0x2446918], 0x959
jne 0x403614
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0x402e68
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
lea eax, [ebp - 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
call fcn.004033e4
add edi, 8
dec ebx
jne 0x4035d1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403960
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x2446918], 0x400
push edi
jne 0x4039b2
push esi
push esi
call fcn.00403d56
push esi
push esi
call fcn.00403d56
push esi
push esi
push esi
call fcn.004045f0
add esp, 0x14
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.004033b2
fstp st(0)
push esi
call fcn.00404675
pop ecx
push esi
call fcn.00404407
pop ecx
mov eax, dword [0x44eb44]
mov dword [0x2446918], eax
mov eax, dword [0x44eb1c]
mov dword [0x244691c], eax
call fcn.0040363f
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x10], ebx
jle 0x403a19
cmp dword [esp + 0x18], 0x785074d5
jne 0x403a27
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x4039d4
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x40322c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x403268
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, ebx
jle 0x403a56
cmp dword [esp + 0x18], 0x785074d5
jne 0x403a5f
inc edi
cmp edi, 0x11915
jl 0x403a29
mov eax, dword [0x2445868]
mov dword [0x2445eac], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404fe0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d0e8]
jne 0x404fea
repz ret
jmp fcn.004095e2
Function at 0x409305
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.004064e5
and dword [ebp - 4], 0
cmp dword [0x44f3e4], 0
mov ebx, eax
jne 0x4093b6
push 0x401b38
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409467
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b2c
push edi
call esi
test eax, eax
je 0x409467
push eax
call fcn.00406473
mov dword [esp], 0x401b1c
push edi
mov dword [0x44f3e4], eax
call esi
push eax
call fcn.00406473
mov dword [esp], 0x401b08
push edi
mov dword [0x44f3e8], eax
call esi
push eax
call fcn.00406473
mov dword [esp], 0x401aec
push edi
mov dword [0x44f3ec], eax
call esi
push eax
call fcn.00406473
pop ecx
mov dword [0x44f3f4], eax
test eax, eax
je 0x4093b6
push 0x401ad4
push edi
call esi
push eax
call fcn.00406473
pop ecx
mov dword [0x44f3f0], eax
mov eax, dword [0x44f3f0]
cmp eax, ebx
je 0x40940e
cmp dword [0x44f3f4], ebx
je 0x40940e
push eax
call fcn.004064ee
push dword [0x44f3f4]
mov esi, eax
call fcn.004064ee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40940e
test edi, edi
je 0x40940e
call esi
test eax, eax
je 0x409405
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409405
test byte [ebp - 0xc], 1
jne 0x40940e
or dword [ebp + 0x10], 0x200000
jmp 0x409447
mov eax, dword [0x44f3e8]
cmp eax, ebx
je 0x409447
push eax
call fcn.004064ee
pop ecx
test eax, eax
je 0x409447
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409447
mov eax, dword [0x44f3ec]
cmp eax, ebx
je 0x409447
push eax
call fcn.004064ee
pop ecx
test eax, eax
je 0x409447
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f3e4]
call fcn.004064ee
pop ecx
test eax, eax
je 0x409467
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409469
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f6b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f6b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f6a8
mov eax, 1
add ebx, ebx
jne 0x40f6cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f6c0
jne 0x40f6dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f6c0
xor ecx, ecx
sub eax, 3
jb 0x40f6f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f762
mov ebp, eax
add ebx, ebx
jne 0x40f6fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f708
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f72c
inc ecx
add ebx, ebx
jne 0x40f718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f70d
jne 0x40f729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f70d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f74c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f73d
jmp 0x40f6ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f74c
add edi, ecx
jmp 0x40f6ae
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f76a
cmp byte [edi], 5
jne 0x40f76a
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 0x40f76f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f7de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1040c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x104c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f79c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x104c4]
or eax, eax
je 0x40f7d8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f7b9
call dword [esi + 0x104d4]
mov ebp, dword [esi + 0x104c8]
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 0x40f812
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
sub byte [esi + edi], 0x53
call ebx
add byte [esi + edi], 0x92
call ebx
xor byte [esi + edi], 0xb1
call ebx
add byte [esi + edi], 0x7c
call ebx
add byte [esi + edi], 0xc5
call ebx
add byte [esi + edi], 0x72
call ebx
add byte [esi + edi], 0xbe
call ebx
xor byte [esi + edi], 0xc1
call ebx
add byte [esi + edi], 0x23
call ebx
add byte [esi + edi], 0x1e
call ebx
xor byte [esi + edi], 0x6e
call ebx
add byte [esi + edi], 0xaa
call ebx
add byte [esi + edi], 0x46
call ebx
add byte [esi + edi], 0x98
call ebx
add byte [esi + edi], 0xa9
call ebx
add byte [esi + edi], 0x17
call ebx
xor byte [esi + edi], 0x70
call ebx
add byte [esi + edi], 0x5d
call ebx
add byte [esi + edi], 0xc
call ebx
add byte [esi + edi], 0x1f
call ebx
add byte [esi + edi], 0xb9
call ebx
add byte [esi + edi], 0xe3
call ebx
add byte [esi + edi], 0x8c
call ebx
add byte [esi + edi], 0x41
call ebx
add byte [esi + edi], 0xb
call ebx
xor byte [esi + edi], 0x3d
call ebx
add byte [esi + edi], 0xcc
call ebx
add byte [esi + edi], 0xa6
call ebx
add byte [esi + edi], 0x72
call ebx
add byte [esi + edi], 0x5f
call ebx
add byte [esi + edi], 0x2e
call ebx
xor byte [esi + edi], 0xd0
call ebx
xor byte [esi + edi], 0x27
call ebx
xor byte [esi + edi], 0xd4
call ebx
add byte [esi + edi], 0xf0
call ebx
add byte [esi + edi], 0x49
call ebx
xor byte [esi + edi], 0xf1
call ebx
add byte [esi + edi], 0xe5
call ebx
add byte [esi + edi], 0xd1
call ebx
xor byte [esi + edi], 0xa3
call ebx
add byte [esi + edi], 0x65
call ebx
xor byte [esi + edi], 0x81
call ebx
add byte [esi + edi], 0x6a
call ebx
xor byte [esi + edi], 0x1e
call ebx
add byte [esi + edi], 0x73
call ebx
xor byte [esi + edi], 0xa2
call ebx
add byte [esi + edi], 0xba
call ebx
add byte [esi + edi], 0xb
call ebx
add byte [esi + edi], 0xb
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x42a8ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a