joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x413360
push 0x67
push edi
call esi
push 0x64
push 0x413298
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00401110
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x413360
push 0x413298
push 0
mov dword [0x413290], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4010fc
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x4010e7
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4010d6
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x4010b6
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012fd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004012fd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x637c10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x166000]
push edi
or ebp, 0xffffffff
jmp 0x637c32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x637c39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x637c28
mov eax, 1
add ebx, ebx
jne 0x637c4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x637c5c
jne 0x637c7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x637c7b
dec eax
add ebx, ebx
jne 0x637c68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x637c40
add ebx, ebx
jne 0x637c77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x637ccd
xor ecx, ecx
sub eax, 3
jb 0x637c93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x637d02
sar eax, 1
mov ebp, eax
jmp 0x637c9e
add ebx, ebx
jne 0x637c9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x637c6c
inc ecx
add ebx, ebx
jne 0x637cac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x637c6c
add ebx, ebx
jne 0x637cb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x637cae
jne 0x637cca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x637cae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x637cec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x637cde
jmp 0x637c2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x637cec
add edi, ecx
jmp 0x637c2e
pop esi
mov edi, esi
mov ecx, 0x51b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x637d0a
cmp byte [edi], 0xa
jne 0x637d0a
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 0x637d0f
lea edi, [esi + 0x234000]
mov eax, dword [edi]
or eax, eax
je 0x637d7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x237370]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2373d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x637d3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2373dc]
or eax, eax
je 0x637d78
mov dword [ebx], eax
add ebx, 4
jmp 0x637d59
call dword [esi + 0x2373d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x637daf
cmp al, 0xef
ja 0x637da2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x637d84
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x637d91
mov ebp, dword [esi + 0x2373e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x637de3
sub esp, 0xffffff80
jmp 0x401ad8
Function at 0x10017ca
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
call fcn.01001791
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.010016ec
mov esi, eax
test esi, esi
jl 0x10018ef
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jl 0x10018ef
push ebx
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
cmp ebx, 6
je 0x10018af
push 0x10011f8
push 1
push 0
push 0x1001284
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x10018e8
cmp ebx, 9
ja case.0x100184d.6
jmp dword [ebx*4 + 0x1001906]
push 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x10018dd
push 1
jmp 0x1001856
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x10018dd
push 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
jmp 0x10018dd
push 0
jmp 0x1001872
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
jmp 0x10018dd
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
jmp 0x10018dd
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
jmp 0x10018dd
xor esi, esi
jmp 0x10018df
mov esi, 0x80004001
jmp 0x10018df
push 0x10011e8
push 1
push 0
push 0x1001274
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x10018e8
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setl al
xor ecx, ebp
pop esi
call fcn.01001c4b
leave
ret 0x10

Function at 0x100293f
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x10029b1
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x10029b0
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10029a9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1001208
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10029a9
cmp dword [ebp - 8], ebx
je 0x10029a9
mov ecx, dword [ebp - 0xc]
mov eax, 0x6ffff
cmp eax, dword [ecx + 8]
sbb bl, bl
inc bl
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x4845441
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5711692b
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4025cd
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x421050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x402614
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_open_service_manager.____d_
call fcn.0040101c
push eax
call fcn.00404bd5
add esp, 0xc
jmp 0x4026b0
push 0xf01ff
push str.MozillaMaintenance
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x402647
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_open_service.____d_
call fcn.0040101c
push eax
call fcn.00404bd5
add esp, 0xc
jmp 0x4026a9
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x402680
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
add eax, 0xa
add ebx, eax
cmp dword [ebp - 0x1c], 1
je 0x402684
cmp ebx, 0xea60
ja 0x402684
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x402656
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
test ebx, ebx
jne 0x4026a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax - 0x430]
neg ebx
sbb ebx, ebx
inc ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d91
mov esp, ebp
pop ebp
ret
Function at 0x409139
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.00408fe0
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0042827b
push edi
call fcn.00428413
add esp, 0x10
cmp eax, 0xffffffff
jne 0x409170
push edi
call fcn.00427d60
pop ecx
test eax, eax
je 0x409170
push ebx
push ebx
jmp 0x4091ea
push 2
push ebx
push edi
call fcn.0042827b
push edi
call fcn.00427d55
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp + 8], edx
call fcn.0042827b
mov edx, dword [ebp + 8]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
jne 0x4091a4
push 0
push 0
jmp 0x4091ea
xor ecx, ecx
cmp edx, ecx
ja 0x4091e8
cmp ebx, 0xffffffff
jae 0x4091e8
mov eax, ebx
or eax, edx
jne 0x4091bb
push ecx
push ecx
push 0xd
jmp 0x4091ec
lea eax, [ebx + 1]
push eax
call fcn.0040b5bc
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.00429ba4
add esp, 0x14
cmp eax, ebx
jne 0x40919e
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00409349
jmp 0x4091f5
push ecx
push ecx
push 5
push esi
call fcn.004092a7
add esp, 0x10
mov eax, dword [esi + 0x38]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40dc5f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x42dd28
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042db9e
Function at 0x407119
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44de48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00406f50
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x2c], 0
call fcn.004071b0
lea ecx, [esp + 0x10]
call fcn.004071f0
mov esi, dword [esi + 8]
lea edx, [edi + edi]
mov edi, dword [esp + 0x34]
mov ecx, edx
mov ebp, ecx
lea esi, [esi + edi*2]
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov word [edx + eax], 0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00406fc0
lea ecx, [esp + 0x10]
call fcn.00407020
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x413b3e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x46a790]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov edx, dword [esp + 0x54]
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x54], ebx
call fcn.0041e1f0
add esp, 8
test eax, eax
jne 0x413b87
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043fa2f
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
cmp dword [esi + 0x120], ebx
je 0x413b9b
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.00413950
mov ecx, dword [esi + 0x128]
xor eax, eax
cmp ecx, ebx
je 0x413bac
mov eax, 1
cmp dword [esi + 0x11c], ebx
je 0x413bb6
or al, 4
cmp dword [esi + 0x124], ebx
je 0x413bc0
or al, 8
cmp dword [esi + 0x118], ebx
je 0x413bca
or al, 0x10
cmp eax, ebx
jne 0x413bfa
mov esi, dword [esi + 0x120]
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043fa2f
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
mov ecx, dword [0x46a790]
mov dword [esp + 0x20], 0x454340
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x24], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x1f
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], str.L___l_b
add esi, 0x8c
push eax
lea edx, [esp + 0xc]
push esi
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 1
call fcn.00403420
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], bl
mov dword [esp + 0x40], 0x454308
call fcn.0043fa2f
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043fa2f
mov ecx, dword [esp + 0x44]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4219b4
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44de48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00421804
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x2c], 0
call fcn.00421a64
lea ecx, [esp + 0x10]
call fcn.00421aa4
mov esi, dword [esi + 8]
lea edx, [edi + edi]
mov edi, dword [esp + 0x34]
mov ecx, edx
mov ebp, ecx
lea esi, [esi + edi*2]
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov word [edx + eax], 0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00421874
lea ecx, [esp + 0x10]
call fcn.004218d4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4219cd
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44de48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00421804
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x2c], 0
call fcn.00421a64
lea ecx, [esp + 0x10]
call fcn.00421aa4
mov esi, dword [esi + 8]
lea edx, [edi + edi]
mov edi, dword [esp + 0x34]
mov ecx, edx
mov ebp, ecx
lea esi, [esi + edi*2]
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov word [edx + eax], 0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00421874
lea ecx, [esp + 0x10]
call fcn.004218d4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x42e3d4
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x46a790]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov edx, dword [esp + 0x54]
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x54], ebx
call fcn.00438aa4
add esp, 8
test eax, eax
jne 0x42e43b
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call 0x45a2e3
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
cmp dword [esi + 0x120], ebx
je 0x42e44f
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0042e204
mov ecx, dword [esi + 0x128]
xor eax, eax
cmp ecx, ebx
je 0x42e460
mov eax, 1
cmp dword [esi + 0x11c], ebx
je 0x42e46a
or al, 4
cmp dword [esi + 0x124], ebx
je 0x42e474
or al, 8
cmp dword [esi + 0x118], ebx
je 0x42e47e
or al, 0x10
cmp eax, ebx
jne 0x42e4ae
mov esi, dword [esi + 0x120]
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call 0x45a2e3
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
mov ecx, dword [0x46a790]
invalid
inc esp
and al, 0x20
inc eax
Function at 0x42e4b9
Capabilities:
Access peb ldr_data

Disassembly:
inc ebx
inc ebp
add byte [ecx - 0x77e3dbb4], cl
pop esp
and al, 0x24

Function at 0x435874
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ff2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x144]
mov ecx, edi
call 0x45a9b7
mov dword [edi], 0x454ec4
mov eax, dword [esp + 0x2c]
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esi], 0x454ec0
mov dword [esi + 0x130], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x180], esi
mov dword [esi + 0x138], ebx
call 0x45c3db
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], edx
mov dword [0x48edd0], eax
lea edx, [esi + 0x110]
mov dword [esi + 0x140], ecx
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x134]
cmp eax, ebx
jne 0x435918
xor eax, eax
jmp 0x43591b
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [edx], eax
mov edx, dword [esp + 0x24]
mov dword [esi + 0x118], ebx
mov dword [esi + 0x120], 5
mov dword [esi + 0x124], 0x41b100
mov dword [esi + 0x11c], edx
mov dword [esi + 0x114], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x450d71
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44de48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00450ba8
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x2c], 0
call fcn.00450e08
lea ecx, [esp + 0x10]
call fcn.00450e48
mov esi, dword [esi + 8]
lea edx, [edi + edi]
mov edi, dword [esp + 0x34]
mov ecx, edx
mov ebp, ecx
lea esi, [esi + edi*2]
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov word [edx + eax], 0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00450c18
lea ecx, [esp + 0x10]
call fcn.00450c78
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x409ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [0x5ba7b4], 0
mov esi, eax
je 0x409af3
call fcn.0045e1e0
mov dword [0x5ba7b4], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x409afe
mov ecx, dword [ecx]
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.0045de90
add esp, 8
mov dword [0x5ba7b4], eax
test eax, eax
setne al
pop edi
pop esi
pop ebp
ret
Function at 0x40c910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x1c], 8
push ebx
mov ebx, dword [edx + 0x18]
push esi
lea esi, [edx + 8]
mov dword [ebp - 4], ecx
jb 0x40c92a
mov esi, dword [esi]
xor ecx, ecx
push edi
mov edi, 0x811c9dc5
add ebx, ebx
je 0x40c947
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x40c936
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edi
pop edi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edx
jne 0x40c981
cmp eax, edx
jne 0x40c979
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x40c989
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x40c989
cmp eax, edx
jne 0x40c98c
mov eax, dword [edx]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov esi, dword [edx]
push edx
mov dword [eax], esi
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00401df0
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8