joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86000]
push edi
or ebp, 0xffffffff
jmp 0x4c8f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c8f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8f08
mov eax, 1
add ebx, ebx
jne 0x4c8f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8f3c
jne 0x4c8f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8f5b
dec eax
add ebx, ebx
jne 0x4c8f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c8f20
add ebx, ebx
jne 0x4c8f57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c8fad
xor ecx, ecx
sub eax, 3
jb 0x4c8f73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c8fe2
sar eax, 1
mov ebp, eax
jmp 0x4c8f7e
add ebx, ebx
jne 0x4c8f7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8f4c
inc ecx
add ebx, ebx
jne 0x4c8f8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8f4c
add ebx, ebx
jne 0x4c8f99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c8f8e
jne 0x4c8faa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c8f8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c8fcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c8fbe
jmp 0x4c8f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c8fcc
add edi, ecx
jmp 0x4c8f0e
pop esi
mov edi, esi
mov ecx, 0x370c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c8fea
cmp byte [edi], 0x4a
jne 0x4c8fea
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 0x4c8fef
lea edi, [esi + 0xc4000]
mov eax, dword [edi]
or eax, eax
je 0x4c9067
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe2e08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe2f5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c901c
mov ecx, edi
jns 0x4c904b
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 + 0xe2f60]
or eax, eax
je 0x4c9061
mov dword [ebx], eax
add ebx, 4
jmp 0x4c9039
call dword [esi + 0xe2f70]
mov ebp, dword [esi + 0xe2f64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4c909b
sub esp, 0xffffff80
jmp 0x417850
Function at 0x4010ec
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x402062
push 0x402053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x10c
je 0x401108
ret
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x401126
xor eax, eax
mov dword [0x402093], eax
add esp, 4
ret

Function at 0x40112f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
jne 0x4011a4
mov edx, edi
add edx, dword [edi + 0x3c]
cmp word [edx], 0x4550
jne 0x4011a4
mov dword [ebp - 0xc], edx
mov eax, dword [edx + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x18]
jge 0x4011a4
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + ecx*4]
add ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.0040137e
cmp eax, 1
je 0x401184
inc ecx
jmp 0x401162
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 8]
xor ebx, ebx
mov bx, word [eax + ecx*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 8]
mov eax, dword [eax + ebx*4]
add eax, dword [ebp + 8]
jmp 0x4011a6
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4011ac
Capabilities:
Execute anti-debugging instructions
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [0x402010], 0x400000
push 0x7f02
push 0
call dword [sym.imp.user32.dll_LoadIconA]
sub esp, 8
mov dword [0x402014], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
sub esp, 8
mov dword [0x402018], eax
mov eax, section..data
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassA]
sub esp, 4
test eax, eax
je 0x4012e0
call fcn.004010ec
mov dword [esp], 0
mov dword [esp + 4], 0x402044
mov dword [esp + 8], 0x402049
mov dword [esp + 0xc], 0x80000
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], 0xc0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0x402010]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
sub esp, 0x30
test eax, eax
je 0x4012e0
mov dword [esp], 0x402028
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.user32.dll_GetMessageA]
sub esp, 0x10
cmp eax, 1
jb 0x4012e0
jne 0x401271
push 0
push 0
push 0x402084
call dword [0x40423e]
mov dword [0x40208f], eax
push 0x402064
push dword [0x40208f]
jmp loc.00407000
leave
mov eax, dword [0x402030]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a030]
jne 0x401116
repz ret
jmp fcn.00401d41

Function at 0x40a6cc
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.00406ace
and dword [ebp - 4], 0
cmp dword [0x42c894], 0
mov ebx, eax
jne 0x40a77d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a82e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a82e
push eax
call fcn.00406a5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42c894], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42c898], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c89c], eax
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x42c8a4], eax
test eax, eax
je 0x40a77d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x42c8a0], eax
mov eax, dword [0x42c8a0]
cmp eax, ebx
je 0x40a7d5
cmp dword [0x42c8a4], ebx
je 0x40a7d5
push eax
call fcn.00406ad7
push dword [0x42c8a4]
mov esi, eax
call fcn.00406ad7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7d5
test edi, edi
je 0x40a7d5
call esi
test eax, eax
je 0x40a7cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a7cc
test byte [ebp - 0xc], 1
jne 0x40a7d5
or dword [ebp + 0x10], 0x200000
jmp 0x40a80e
mov eax, dword [0x42c898]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a80e
mov eax, dword [0x42c89c]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c894]
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a82e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a830
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ce70
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x42a030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ae52d4]
push ebx
mov ebx, dword [0x2ae4ff4]
push esi
mov esi, dword [0x42b060]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40ceb1
push 0x428c10
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ae52d4]
mov dword [0x2ae4ff0], esi
cmp eax, 0x114e
jne 0x40ced9
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push str.Gufut_dawasu_xekewoxocig_luraseno
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2ae52d4]
cmp eax, 0x2f
jne 0x40cf07
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push edi
push ebx
call fcn.0040cd40
mov ecx, dword [esp + 0x438]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x660180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x218000]
push edi
or ebp, 0xffffffff
jmp 0x6601a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6601a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x660198
mov eax, 1
add ebx, ebx
jne 0x6601bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6601cc
jne 0x6601eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6601eb
dec eax
add ebx, ebx
jne 0x6601d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6601b0
add ebx, ebx
jne 0x6601e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x66023d
xor ecx, ecx
sub eax, 3
jb 0x660203
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x660272
sar eax, 1
mov ebp, eax
jmp 0x66020e
add ebx, ebx
jne 0x66020e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6601dc
inc ecx
add ebx, ebx
jne 0x66021c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6601dc
add ebx, ebx
jne 0x660229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x66021e
jne 0x66023a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x66021e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x66025c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x66024e
jmp 0x66019e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x66025c
add edi, ecx
jmp 0x66019e
pop esi
mov edi, esi
mov ecx, 0x11d0d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x66027a
cmp byte [edi], 0x35
jne 0x66027a
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 0x66027f
lea edi, [esi + 0x25e000]
mov eax, dword [edi]
or eax, eax
je 0x6602f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x260848]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x260884]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6602ac
mov ecx, edi
jns 0x6602db
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 + 0x260888]
or eax, eax
je 0x6602f1
mov dword [ebx], eax
add ebx, 4
jmp 0x6602c9
call dword [esi + 0x260898]
mov ebp, dword [esi + 0x26088c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x66032b
sub esp, 0xffffff80
jmp 0x402afc
Function at 0x401500
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x218]
push edi
push ebp
push 0x104
push eax
push str.NoString
push ecx
push str.MainBitmap
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, str.NoString
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401560
test cl, cl
je 0x40155c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401560
add eax, 2
add esi, 2
test cl, cl
jne 0x401538
xor eax, eax
jmp 0x401565
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4015cc
mov edi, 0x431314
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
mov edi, str.Cannot_find_the_MainBitmap_section_of_the_init_file
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x11c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0041c7c5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret 4

Function at 0x401650
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x34
lea eax, [esp]
push ebx
push ebp
mov ebp, ecx
push esi
push ebp
push 0x32
push eax
push str.NoString
push str.Title
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, str.NoString
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4016a6
test cl, cl
je 0x4016a2
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4016a6
add eax, 2
add esi, 2
test cl, cl
jne 0x40167e
xor eax, eax
jmp 0x4016ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4016e4
push edi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x214]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0xb
mov ecx, ebp
call fcn.00401fa0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
Function at 0x401e30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x64
lea eax, [esp]
push ebx
push ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
mov ebp, ecx
push edi
push ebp
push 0x64
push eax
push str.NoString
push str.InitWave
push str.WaveFile
call ebx
mov esi, str.NoString
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401e85
test cl, cl
je 0x401e81
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401e85
add eax, 2
add esi, 2
test cl, cl
jne 0x401e61
xor eax, eax
jmp 0x401e8a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401ee1
mov edi, 0x431314
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea eax, [esp + 0x14]
push 0x64
push eax
push str.NoString
push str.PassSnd
push str.PassOverSound
call ebx
mov esi, str.NoString
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401f2b
test cl, cl
je 0x401f27
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401f2b
add eax, 2
add esi, 2
test cl, cl
jne 0x401f03
xor eax, eax
jmp 0x401f30
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401f83
mov edi, 0x431314
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 8
Function at 0x401fa0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4228bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x304
mov eax, dword [0x42de0c]
push esi
push edi
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x31c]
mov dword [esp + 0x314], 0
push ecx
lea ecx, [esp + 0xc]
call fcn.004141e6
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
mov eax, dword [edx - 8]
push eax
call fcn.004140bf
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x431314
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.00407840
add esp, 8
mov byte [eax], 0
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
lea ecx, [esp + 0x210]
push eax
push ecx
call fcn.004077ec
add esp, 0xc
lea edx, [esp + 0x20c]
push 0
push 0
push edx
call fcn.0041c7c5
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x406ccd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x2da4d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x406cd7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x406d1d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x406cfc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x406d3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00436910
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x406dcc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x406d82
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x406d98
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x406dbf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x406d71
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x10010ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10010fff
pop dword [ebp - 0x18]
mov eax, 0x7f10c364
add eax, 0x90f04c9b
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x65bb066e
sub dword [ebp - 0x28], 0x1768c123
mov dword [ebp - 0x24], 0xc053ea33
add dword [ebp - 0x24], 0x71df6212
mov dword [ebp - 0x20], 0x609b8366
sub dword [ebp - 0x20], 0x144f3f38
mov dword [ebp - 0x1c], 0x24b770d5
add dword [ebp - 0x1c], 0xdb488f2b
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xd1029691
add dword [ebp - 0x28], 0xa36fd2c5
mov dword [ebp - 0x24], 0xf42cee6c
sub dword [ebp - 0x24], 0xb2c08cf7
mov dword [ebp - 0x20], 0x3402dcc5
add dword [ebp - 0x20], 0x2f6c8fa7
mov dword [ebp - 0x1c], 0xd98e171a
add dword [ebp - 0x1c], 0x2671e8e6
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x11cea0ef
sub eax, 0x1cd109b
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x37b61
push 0
call eax
mov ecx, 0x863787ed
add ecx, 0x79c8c4c9
mov edi, eax
mov edx, 0x9b1da6cc
add edx, 0x74e47334
add edx, dword [ebp - 0x18]
mov esi, 0xe559cee8
add esi, 0x75ce1645
sub dword [ebp - 4], esi
mov ebx, dword [edx]
xor dword [ebp - 0xc], ebx
xor ebx, esi
add dword [ebp - 4], 0x383cb4d7
mov dword [edi], ebx
sub dword [ebp - 0xc], edi
add edi, 4
add edx, 0x2c3b3b86
sub edx, 0x2c3b3b82
loop 0x1001111c
add eax, 0x125ab
mov ebx, eax
add eax, 0xff1a28e6
sub eax, 0xff1a28e1
mov ecx, 0xa616d23
sub ecx, 0xfa616d23
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x413160
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [ebp], al
mov al, byte [ecx]
test al, al
je 0x413192
push esi
mov esi, ebp
sub esi, ecx
mov dl, byte [ecx + 1]
mov al, byte [esi + ecx]
inc edi
inc ecx
dec dl
xor al, dl
mov byte [esi + ecx], al
mov al, byte [ecx]
test al, al
jne 0x41317c
pop esi
mov byte [edi + ebp], 0
mov eax, ebp
pop edi
pop ebp
ret

Function at 0x4169b5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x4169c5
mov eax, eax
js 0x4169c8
nop
jns 0x4169c8
jmp 0x4169be
jg 0x4169d3
nop
xchg ebx, ebx
js 0x4169d8
xchg ebp, ebp
jns 0x4169d8
ja 0x4169d5
jg 0x4169ca
test dword [ebx - 0xdaf7bb], ecx
add byte [eax], al
add byte [ebx - 0x1e7ef3b3], cl
inc dword [eax]
add byte [eax], al
mov eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
xor eax, ecx
mov byte [ebp - 4], al
jl 0x4169f8
nop
nop
ja 0x4169f6
xchg ecx, ecx
jmp 0x416a02
je 0x4169fd
xchg ebp, ebp
nop
jl 0x4169f0
ja 0x416a14
or byte [edx + 0x5e5ffc45], 0x5b
mov al, byte [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
adc dword [edi + ecx - 0x7a], esi
sldt word [eax]

Function at 0x418aa0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.00418b60
mov eax, dword [0x42fee8]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x418ac4
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x42fee4], 1
mov byte [0x42fee0], bl
jne 0x418b1e
mov ecx, dword [0x432958]
test ecx, ecx
je 0x418b0c
mov esi, dword [0x432954]
sub esi, 4
cmp esi, ecx
jb 0x418b0c
mov eax, dword [esi]
test eax, eax
je 0x418b05
call eax
mov ecx, dword [0x432958]
sub esi, 4
cmp esi, ecx
jae 0x418af7
push 0x42a01c
push 0x42a014
call fcn.00418b80
add esp, 8
push 0x42a024
push 0x42a020
call fcn.00418b80
add esp, 8
test ebx, ebx
je 0x418b3d
call fcn.00418b70
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x42fee8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]