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

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
push esi
mov esi, ecx
je 0x45c7ab
push ebx
push edi
mov edi, 0x10
sub edi, dword [esi + 0x28]
cmp edi, ebp
jb 0x45c630
mov edi, ebp
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x14]
add eax, dword [esi + 0x28]
push edi
push ebx
push eax
call fcn.00466080
add dword [esi + 0x28], edi
mov eax, dword [esi + 0x28]
add ebx, edi
add esp, 0xc
sub ebp, edi
cmp eax, 0x10
mov dword [esp + 0x14], ebx
jne 0x45c7a1
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 8]
mov dword [esi + 0x28], 0
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 4]
add eax, 0x10
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x14]
mov dl, byte [edx + 0xf]
xor eax, eax
jmp 0x45c690
mov ecx, dword [esi + 8]
mov bl, byte [ecx + eax + 0x10]
xor bl, byte [ecx + eax]
add ecx, eax
mov byte [ecx + 0x20], bl
mov edi, dword [esi + 0x20]
movzx edi, byte [edi + eax]
mov ecx, dword [esi + 0x14]
movzx edx, dl
xor edi, edx
movzx edx, byte [edi + 0x4c9498]
xor byte [ecx + eax], dl
mov dl, byte [ecx + eax]
add ecx, eax
add eax, 1
cmp eax, 0x10
jl 0x45c690
xor dl, dl
xor ebx, ebx
lea esp, [esp]
xor eax, eax
mov ecx, dword [esi + 8]
movzx edx, dl
movzx edx, byte [edx + 0x4c9498]
xor byte [ecx + eax], dl
mov edx, dword [esi + 8]
add ecx, eax
mov cl, byte [ecx]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4c9498]
xor byte [edx + eax + 1], cl
mov ecx, dword [esi + 8]
lea edx, [edx + eax + 1]
mov dl, byte [edx]
movzx edx, dl
movzx edx, byte [edx + 0x4c9498]
xor byte [ecx + eax + 2], dl
mov edx, dword [esi + 8]
lea ecx, [ecx + eax + 2]
mov cl, byte [ecx]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4c9498]
xor byte [edx + eax + 3], cl
mov ecx, dword [esi + 8]
lea edx, [edx + eax + 3]
mov dl, byte [edx]
movzx edx, dl
movzx edx, byte [edx + 0x4c9498]
xor byte [ecx + eax + 4], dl
mov edx, dword [esi + 8]
lea ecx, [ecx + eax + 4]
mov cl, byte [ecx]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4c9498]
xor byte [edx + eax + 5], cl
mov ecx, dword [esi + 8]
lea edx, [edx + eax + 5]
mov dl, byte [edx]
movzx edx, dl
movzx edx, byte [edx + 0x4c9498]
xor byte [ecx + eax + 6], dl
mov edx, dword [esi + 8]
lea ecx, [ecx + eax + 6]
mov cl, byte [ecx]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4c9498]
xor byte [edx + eax + 7], cl
lea edx, [edx + eax + 7]
mov dl, byte [edx]
add eax, 8
cmp eax, 0x30
jl 0x45c6d2
add dl, bl
add ebx, 1
cmp ebx, 0x12
jl 0x45c6d0
test ebp, ebp
jne 0x45c622
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x463f56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f1cf8]
jne 0x463f60
repz ret
jmp fcn.0046ee3a
Function at 0x46a3c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x46a3fd
cmp dword [ebp + 0x14], edi
je 0x46a3fd
cmp ecx, edi
jne 0x46a404
call fcn.004654a0
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0046965d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x46a418
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x46a439
cmp ebx, 0xffffffff
je 0x46a428
push ebx
push edi
push ecx
call fcn.00464b40
add esp, 0xc
cmp esi, edi
je 0x46a3e5
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x46a3e5
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x46a455
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x46a45c
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x46a54d
test word [esi + 0xc], 0x10c
je 0x46a4b0
mov eax, dword [esi + 4]
test eax, eax
je 0x46a4b0
jl 0x46a5ae
cmp ebx, eax
mov edi, ebx
jb 0x46a481
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x46a555
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00479db9
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x46a545
cmp ebx, dword [ebp - 0xc]
jb 0x46a51d
cmp dword [ebp - 0xc], 0
je 0x46a4da
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x46a4cf
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x46a4d6
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x46a4e5
mov eax, closesocket
cmp ebx, eax
ja 0x46a4e5
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x46a581
push eax
push dword [ebp - 8]
push esi
call fcn.0046d82b
pop ecx
push eax
call fcn.00479cbc
add esp, 0xc
test eax, eax
je 0x46a5c0
cmp eax, 0xffffffff
je 0x46a5ae
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x46a545
push esi
call fcn.004749ec
cmp eax, 0xffffffff
pop ecx
je 0x46a5b2
cmp dword [ebp - 4], 0
je 0x46a581
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x46a464
mov eax, dword [ebp + 0x14]
jmp 0x46a3ff
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x46a56c
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00464b40
add esp, 0xc
call fcn.004654a0
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x46a3f5
cmp dword [ebp + 0xc], 0xffffffff
je 0x46a597
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00464b40
add esp, 0xc
call fcn.004654a0
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x46a3f5
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x46a3ff
or dword [esi + 0xc], 0x10
jmp 0x46a5b2
Function at 0x46debd
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 + 0x5f1fe8]
je 0x46ded8
inc edi
cmp edi, 0x17
jb 0x46dec9
cmp edi, 0x17
jae 0x46e058
push ebp
push 3
call fcn.0047c2e2
cmp eax, 1
pop ecx
je 0x46e024
push 3
call fcn.0047c2e2
test eax, eax
pop ecx
jne 0x46df0c
cmp dword [0x5f1d00], 1
je 0x46e024
cmp ebx, 0xfc
je 0x46e057
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x62c1d8
push ebp
call fcn.00474987
add esp, 0xc
test eax, eax
je 0x46df42
push esi
push esi
push esi
push esi
push esi
call fcn.00469529
add esp, 0x14
push 0x104
mov esi, 0x62c1f1
push esi
push 0
mov byte [0x62c2f5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46df86
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00474987
add esp, 0xc
test eax, eax
je 0x46df86
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00469529
add esp, 0x14
push esi
call fcn.0046d500
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x46dfcb
push esi
call fcn.0046d500
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x62c4ec
push 0x4cd3bc
sub ecx, eax
push ecx
push eax
call fcn.0047765b
add esp, 0x14
test eax, eax
je 0x46dfcb
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00469529
add esp, 0x14
jmp 0x46dfcd
xor esi, esi
push 0x4cda18
push ebx
push ebp
call fcn.0047c994
add esp, 0xc
test eax, eax
je 0x46dfed
push esi
push esi
push esi
push esi
push esi
call fcn.00469529
add esp, 0x14
push dword [edi*8 + 0x5f1fec]
push ebx
push ebp
call fcn.0047c994
add esp, 0xc
test eax, eax
je 0x46e00f
push esi
push esi
push esi
push esi
push esi
call fcn.00469529
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0047d403
add esp, 0xc
jmp 0x46e057
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x46e057
cmp ebp, 0xffffffff
je 0x46e057
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x5f1fec]
push dword [esi]
call fcn.0046d500
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 0x4710a3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4710d0
call fcn.004654b3
mov dword [eax], esi
call fcn.004654a0
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0046965d
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4710ac
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4710ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004654c6
pop ecx
call fcn.004654a0
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x471126
test al, 1
je 0x471126
test byte [esp + 0xc], 2
je 0x471126
call fcn.004654b3
mov dword [eax], 5
call fcn.004654a0
mov dword [eax], 0xd
jmp 0x4710f6
xor eax, eax
pop esi
ret
Function at 0x47bbdb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046d932
xor ebx, ebx
cmp dword [0x62caec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x47bcb1
push 0x4d2194
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x47bd91
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x47bd91
push eax
call fcn.0046d8c4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x62caec], eax
call esi
push eax
call fcn.0046d8c4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x62caf0], eax
call esi
push eax
call fcn.0046d8c4
mov dword [0x62caf4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046375a
test eax, eax
pop ecx
pop ecx
je 0x47bc7f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00469529
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x47bcb1
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.0046d8c4
cmp eax, ebx
pop ecx
mov dword [0x62cafc], eax
je 0x47bcb1
push 0x4d2130
push edi
call esi
push eax
call fcn.0046d8c4
pop ecx
mov dword [0x62caf8], eax
mov eax, dword [0x62caf8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x47bd36
cmp dword [0x62cafc], ecx
je 0x47bd36
push eax
call fcn.0046d93b
push dword [0x62cafc]
mov esi, eax
call fcn.0046d93b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x47bd36
cmp edi, ebx
je 0x47bd36
call esi
cmp eax, ebx
je 0x47bd03
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47bd03
test byte [ebp - 0x18], 1
jne 0x47bd36
lea eax, [ebp - 0x10]
push eax
call fcn.00463809
test eax, eax
pop ecx
je 0x47bd1e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00469529
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x47bd2d
or dword [ebp + 0x10], 0x200000
jmp 0x47bd71
or dword [ebp + 0x10], 0x40000
jmp 0x47bd71
mov eax, dword [0x62caf0]
cmp eax, dword [ebp - 8]
je 0x47bd71
push eax
call fcn.0046d93b
cmp eax, ebx
pop ecx
je 0x47bd71
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47bd71
mov eax, dword [0x62caf4]
cmp eax, dword [ebp - 8]
je 0x47bd71
push eax
call fcn.0046d93b
cmp eax, ebx
pop ecx
je 0x47bd71
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x62caec]
call fcn.0046d93b
cmp eax, ebx
pop ecx
je 0x47bd91
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47bd93
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47d403
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046d932
xor ebx, ebx
cmp dword [0x62cb00], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x47d4d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x47d5b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x47d5b9
push eax
call fcn.0046d8c4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x62cb00], eax
call esi
push eax
call fcn.0046d8c4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x62cb04], eax
call esi
push eax
call fcn.0046d8c4
mov dword [0x62cb08], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046375a
test eax, eax
pop ecx
pop ecx
je 0x47d4a7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00469529
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x47d4d9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046d8c4
cmp eax, ebx
pop ecx
mov dword [0x62cb10], eax
je 0x47d4d9
push 0x4d2130
push edi
call esi
push eax
call fcn.0046d8c4
pop ecx
mov dword [0x62cb0c], eax
mov eax, dword [0x62cb0c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x47d55e
cmp dword [0x62cb10], ecx
je 0x47d55e
push eax
call fcn.0046d93b
push dword [0x62cb10]
mov esi, eax
call fcn.0046d93b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x47d55e
cmp edi, ebx
je 0x47d55e
call esi
cmp eax, ebx
je 0x47d52b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47d52b
test byte [ebp - 0x18], 1
jne 0x47d55e
lea eax, [ebp - 0x10]
push eax
call fcn.00463809
test eax, eax
pop ecx
je 0x47d546
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00469529
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x47d555
or dword [ebp + 0x10], 0x200000
jmp 0x47d599
or dword [ebp + 0x10], 0x40000
jmp 0x47d599
mov eax, dword [0x62cb04]
cmp eax, dword [ebp - 8]
je 0x47d599
push eax
call fcn.0046d93b
cmp eax, ebx
pop ecx
je 0x47d599
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47d599
mov eax, dword [0x62cb08]
cmp eax, dword [ebp - 8]
je 0x47d599
push eax
call fcn.0046d93b
cmp eax, ebx
pop ecx
je 0x47d599
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x62cb00]
call fcn.0046d93b
cmp eax, ebx
pop ecx
je 0x47d5b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47d5bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10026250
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10026411
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
jmp 0x1002627a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10026281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10026270
mov eax, 1
add ebx, ebx
jne 0x10026293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10026288
jne 0x100262a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10026288
xor ecx, ecx
sub eax, 3
jb 0x100262b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002632a
mov ebp, eax
add ebx, ebx
jne 0x100262c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100262d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100262f4
inc ecx
add ebx, ebx
jne 0x100262e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100262d5
jne 0x100262f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100262d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10026314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10026305
jmp 0x10026276
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10026314
add edi, ecx
jmp 0x10026276
pop esi
lea edi, [esi + 0x21000]
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10026336
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1002633b
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x100263a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x265e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2663c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10026361
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26640]
or eax, eax
je 0x1002639d
mov dword [ebx], eax
add ebx, 4
jmp 0x1002637e
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100263d4
cmp al, 0xef
ja 0x100263c7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100263a9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100263b6
mov ebp, dword [esi + 0x26644]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x10026408
sub esp, 0xffffff80
jmp 0x10005f35
Function at 0x47aea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x476015
lea edi, [esi - 0x75015]
push edi
jmp 0x47aeba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47aec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47aeb0
mov eax, 1
add ebx, ebx
jne 0x47aed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47aec8
jne 0x47aee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47aec8
xor ecx, ecx
sub eax, 3
jb 0x47aef8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47af6a
mov ebp, eax
add ebx, ebx
jne 0x47af03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47af10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47af34
inc ecx
add ebx, ebx
jne 0x47af20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47af15
jne 0x47af31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47af15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47af54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47af45
jmp 0x47aeb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47af54
add edi, ecx
jmp 0x47aeb6
pop esi
mov edi, esi
mov ecx, 0xb800
jmp 0x47afa6
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x47af87
cmp al, 0x8f
ja 0x47af87
cmp byte [edi - 2], 0xf
je 0x47af8d
sub al, 0xe8
cmp al, 1
ja 0x47afb0
cmp byte [edi], 0
jne 0x47afb0
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x47af87
sub ecx, 1
jg 0x47af74
lea edi, [esi + 0x78000]
mov eax, dword [edi]
or eax, eax
je 0x47affd
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa2d4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa2d9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47afbb
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa2da0]
or eax, eax
je 0x47aff7
mov dword [ebx], eax
add ebx, 4
jmp 0x47afd8
call dword [esi + 0xa2db0]
mov ebp, dword [esi + 0xa2da4]
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 0x47b031
sub esp, 0xffffff80
jmp 0x40c478

Function at 0x480428
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x480447
cmp eax, dword [esp + 0x28]
je 0x48045e
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48043e
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
mov dword [esp + 0x1c], edx
popal
ret 8
Function at 0x41f980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542d5a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00519be0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x41fa40
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0051c845
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x59ad7c
push eax
call fcn.0051f05c
push edi
push esi
call fcn.00519f28
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 4

Function at 0x427bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542e86
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5a49f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0051b48c
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00519e25
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret