joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49b17c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.Psychlops::MatrixExpression.0
lea ecx, [esi + 0x58]
mov dword [esp + 0x18], 1
call fcn.0040f470
xor ebx, ebx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], bl
call fcn.0040f470
mov dword [esi], vtable.Psychlops::Matrix.0
cmp byte [esi + 0x14], bl
je 0x4457d3
mov eax, dword [esi + 0x10]
push eax
call fcn.00472230
add esp, 4
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x14], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x44d5f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
push edi
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
mov dword [ebp - 4], esi
call fcn.00476cb0
add esp, 0x10
cmp eax, 4
je 0x44d65f
cmp byte [esi + 0x1c], 0
je 0x44d62b
mov edx, dword [esi + 0x18]
push edx
call fcn.00474e6e
add esp, 4
push 0x4a27c8
push 0x4a27e8
push esi
mov byte [esi + 0x1c], 0
call fcn.00472daa
add esp, 4
push eax
lea ecx, [ebp - 0x110]
call fcn.0040e5a0
push 0x4b9b04
lea eax, [ebp - 0x110]
push eax
call fcn.00471f1d
lea ecx, [ebp - 8]
push 4
push ecx
call fcn.00455ff0
add esp, 8
test eax, eax
jne 0x44d6b0
cmp byte [esi + 0x1c], al
je 0x44d682
mov edx, dword [esi + 0x18]
push edx
call fcn.00474e6e
add esp, 4
push 0x4a27fc
push 0x4a281c
push esi
mov byte [esi + 0x1c], 0
call fcn.00472daa
add esp, 4
push eax
lea ecx, [ebp - 0x60]
call fcn.0040e5a0
push 0x4b9b04
lea eax, [ebp - 0x60]
push eax
call fcn.00471f1d
push 0
push 0
push 0
push 0x4a2830
call fcn.00455c00
add esp, 0x10
lea edi, [esi + 0x20]
mov dword [edi], eax
test eax, eax
jne 0x44d711
cmp byte [esi + 0x1c], al
je 0x44d6dd
mov ecx, dword [esi + 0x18]
push ecx
call fcn.00474e6e
add esp, 4
push 0x4a2838
push 0x4a2858
push esi
mov byte [esi + 0x1c], 0
call fcn.00472daa
add esp, 4
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040e5a0
push 0x4b9b04
lea edx, [ebp - 0x1c0]
push edx
call fcn.00471f1d
push eax
call fcn.00456710
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
jne 0x44d763
push eax
push eax
push edi
call fcn.00455d20
add esp, 0xc
mov ecx, esi
call fcn.0044d5d0
push 0x4a286c
push 0x4a288c
push esi
call fcn.00472daa
add esp, 4
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040e5a0
push 0x4b9b04
lea eax, [ebp - 0xb8]
push eax
call fcn.00471f1d
mov ecx, dword [edi]
push ecx
call fcn.00456710
add esp, 4
mov dword [esi + 0x28], eax
push 0
test eax, eax
jne 0x44d7b8
push eax
push edi
call fcn.00455d20
add esp, 0xc
mov ecx, esi
call fcn.0044d5d0
push 0x4a28a0
push 0x4a28c0
push esi
call fcn.00472daa
add esp, 4
push eax
lea ecx, [ebp - 0x168]
call fcn.0040e5a0
push 0x4b9b04
lea edx, [ebp - 0x168]
push edx
call fcn.00471f1d
mov eax, dword [edi]
push eax
call fcn.00476cd0
mov esi, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x44d815
lea ecx, [esi + 0x28]
push ecx
lea edx, [esi + 0x24]
push edx
lea eax, [esi + 0x20]
push eax
call fcn.00455d20
add esp, 0xc
mov ecx, esi
call fcn.0044d5d0
push str.The_requested_file_is_not_PNG.
push 0x4a28f4
push esi
call fcn.00472daa
add esp, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.0040e5a0
push 0x4b9b04
lea ecx, [ebp - 0x218]
push ecx
call fcn.00471f1d
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.00456590
mov ecx, dword [esi + 0x20]
push 4
push ecx
call fcn.00455ea0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push edx
push eax
call fcn.004546e0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44eb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x49c087
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4c5d0c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov esi, dword [ebp + 0x20]
mov eax, dword [esi]
lea ecx, [edx + ebx + 0x18]
mov edx, dword [eax + 0x24]
push ecx
push ebx
mov ecx, esi
call edx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [edx + ebx + 0x38]
mov edx, dword [eax + 0x20]
push ecx
push ebx
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
mov esi, dword [ebx + 0xf8]
mov eax, dword [ebx + 0xfc]
add eax, esi
cmp esi, eax
jbe 0x44eb9b
call fcn.004720c6
mov edi, dword [ebx + 0xe0]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0xf8]
mov esi, dword [ebx + 0xfc]
add esi, eax
cmp eax, esi
jbe 0x44ebc8
call fcn.004720c6
mov eax, dword [ebx + 0xe0]
test edi, edi
je 0x44ebd6
cmp edi, eax
je 0x44ebdb
call fcn.004720c6
cmp dword [esp + 0x24], esi
je 0x44ecfd
lea ecx, [esp + 0x20]
call fcn.00413560
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00413560
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00413560
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00413560
mov ecx, dword [esi + 8]
sub ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [edx + 4]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
call fcn.00401ff0
mov dword [esp + 0x1c], eax
mov ecx, ebx
mov dword [esp + 0x80], 0
call fcn.00413e60
fsub qword [0x4a2bb8]
mov eax, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push 0
fld qword [ebp + 0x10]
sub esp, 0x20
fadd qword [0x49e578]
mov edi, esp
sub esp, 0x10
lea esi, [ebx + 0x108]
fiadd dword [esp + 0x54]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 8]
fld qword [ebp + 8]
fadd qword [0x49eb50]
fstp qword [esp]
push eax
call fcn.00419ca0
add esp, 0x40
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x80], 0xffffffff
jb 0x44ecae
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00470751
add esp, 4
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0xa
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
test eax, eax
jne 0x44ecf7
call fcn.004720c6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x24], edx
jb 0x44ecea
call fcn.004720c6
inc dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x44ebb1
mov eax, dword [eax]
mov ecx, eax
jmp 0x44ecd9
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x461160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x46130a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x4611b8
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x4611cb
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x4611df
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x461226.3
jmp 0x4611f0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x4611fc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x461201
mov esi, 1
inc eax
cmp eax, edi
jl 0x4611f0
cmp si, cx
je case.0x461226.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x461226.3
movzx eax, byte [eax + 0x461324]
jmp dword [eax*4 + 0x461310]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x461226.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x461240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x461226.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x461280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x461226.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x4612a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x461226.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x4612d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x47031e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c5d0c]
jne 0x470328
repz ret
jmp fcn.0047a91c

Function at 0x4809f0
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.0047a30e
and dword [ebp - 4], 0
cmp dword [0x4cb170], 0
mov ebx, eax
jne 0x480aa1
push 0x4ae044
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x480b52
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ae038
push edi
call esi
test eax, eax
je 0x480b52
push eax
call fcn.0047a29c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4cb170], eax
call esi
push eax
call fcn.0047a29c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4cb174], eax
call esi
push eax
call fcn.0047a29c
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x4cb178], eax
call esi
push eax
call fcn.0047a29c
pop ecx
mov dword [0x4cb180], eax
test eax, eax
je 0x480aa1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047a29c
pop ecx
mov dword [0x4cb17c], eax
mov eax, dword [0x4cb17c]
cmp eax, ebx
je 0x480af9
cmp dword [0x4cb180], ebx
je 0x480af9
push eax
call fcn.0047a317
push dword [0x4cb180]
mov esi, eax
call fcn.0047a317
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x480af9
test edi, edi
je 0x480af9
call esi
test eax, eax
je 0x480af0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x480af0
test byte [ebp - 0xc], 1
jne 0x480af9
or dword [ebp + 0x10], 0x200000
jmp 0x480b32
mov eax, dword [0x4cb174]
cmp eax, ebx
je 0x480b32
push eax
call fcn.0047a317
pop ecx
test eax, eax
je 0x480b32
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x480b32
mov eax, dword [0x4cb178]
cmp eax, ebx
je 0x480b32
push eax
call fcn.0047a317
pop ecx
test eax, eax
je 0x480b32
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4cb170]
call fcn.0047a317
pop ecx
test eax, eax
je 0x480b52
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x480b54
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48f979
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.0047a30e
and dword [ebp - 4], 0
cmp dword [0x4cb2e8], 0
mov ebx, eax
jne 0x48fa2a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48fadb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b3d18
push edi
call esi
test eax, eax
je 0x48fadb
push eax
call fcn.0047a29c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4cb2e8], eax
call esi
push eax
call fcn.0047a29c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4cb2ec], eax
call esi
push eax
call fcn.0047a29c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4cb2f0], eax
call esi
push eax
call fcn.0047a29c
pop ecx
mov dword [0x4cb2f8], eax
test eax, eax
je 0x48fa2a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047a29c
pop ecx
mov dword [0x4cb2f4], eax
mov eax, dword [0x4cb2f4]
cmp eax, ebx
je 0x48fa82
cmp dword [0x4cb2f8], ebx
je 0x48fa82
push eax
call fcn.0047a317
push dword [0x4cb2f8]
mov esi, eax
call fcn.0047a317
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48fa82
test edi, edi
je 0x48fa82
call esi
test eax, eax
je 0x48fa79
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48fa79
test byte [ebp - 0xc], 1
jne 0x48fa82
or dword [ebp + 0x10], 0x200000
jmp 0x48fabb
mov eax, dword [0x4cb2ec]
cmp eax, ebx
je 0x48fabb
push eax
call fcn.0047a317
pop ecx
test eax, eax
je 0x48fabb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48fabb
mov eax, dword [0x4cb2f0]
cmp eax, ebx
je 0x48fabb
push eax
call fcn.0047a317
pop ecx
test eax, eax
je 0x48fabb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4cb2e8]
call fcn.0047a317
pop ecx
test eax, eax
je 0x48fadb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48fadd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret

Function at 0x4010c1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
xor esi, esi
push edi
push esi
push dword [esp + 0x14]
push esi
push 0x8000040
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x4010fc
push esi
push esi
push esi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
jne 0x40112a
push 0x40
push 0x101000
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40112a
push esi
mov eax, 0x401130
push esi
push eax
push eax
push 0x80030008
call fcn.00401057
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4211f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x577738]
xor edx, edx
cmp eax, edx
jne 0x421216
xor eax, eax
mov byte [eax + 0x577638], al
inc eax
cmp eax, 0x100
jl 0x4211fe
mov dword [0x577738], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x577638
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4212a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42127a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x421248
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x421373
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42135a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x425831
cmp eax, 8
jg 0x425831
cmp dword [esp + 0x8c], 2
jl 0x425831
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x425831
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x425831
mov eax, dword [esp + 0x80]
test eax, eax
je 0x425697
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x42581a
mov ebp, dword [0x47c4c0]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4256c9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x425801
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4256e9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x47c4a4]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x425728
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x47c4a8]
lea ecx, [esp + 0x28]
push ecx
call dword [0x47c4f4]
test eax, eax
jne 0x4257e8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00424c20
cmp eax, 1
jne 0x425812
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004254d0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4256dd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x42581a
jmp 0x4256b4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00424820
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x42f7d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x479938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00430350
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x47c474]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x47c4f4]
test eax, eax
je 0x42f879
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042f460
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x47c4c0]
push edi
lea ecx, [esp + 0x4c]
call fcn.004712fc
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0043ea90
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x47c074]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x47c51c]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x47c4a8]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0047136e
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14