joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40107d
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x404900
push ebp
push esp
pop ebp
sub esp, 0x38c
push ebx
push esi
push edi
lea edi, [ebp - 0x38c]
mov ecx, 0xe3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x208], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.00406820
add esp, 8
lea edx, [ebp - 0x200]
push edx
call fcn.00406330
add esp, 4
movsx eax, byte [ebp + eax - 0x201]
cmp eax, 0x5c
jne 0x404977
push 0x42553c
lea ecx, [ebp - 0x200]
push ecx
call fcn.00406830
add esp, 8
jmp 0x40498b
push 0x425378
lea edx, [ebp - 0x200]
push edx
call fcn.00406830
add esp, 8
mov esi, esp
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x200]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.004063b0
mov dword [ebp - 0x20c], eax
movsx edx, byte [ebp - 0x320]
cmp edx, 0x2e
je 0x404a19
movsx eax, byte [ebp - 0x320]
test eax, eax
je 0x404a19
mov ecx, dword [ebp - 0x34c]
and ecx, 0x10
test ecx, ecx
je 0x404a19
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x208]
push eax
call fcn.00406820
add esp, 8
lea ecx, [ebp - 0x320]
push ecx
call fcn.00406330
add esp, 4
mov edx, dword [ebp - 0x208]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x204]
add ecx, 1
mov dword [ebp - 0x204], ecx
cmp dword [ebp - 0x208], 0x3e8
jle 0x404a27
jmp 0x404a4c
mov esi, esp
lea edx, [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.004063b0
test eax, eax
jne 0x4049ae
mov esi, esp
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.004063b0
mov eax, dword [ebp - 0x204]
pop edi
pop esi
pop ebx
add esp, 0x38c
cmp ebp, esp
call fcn.004063b0
mov esp, ebp
pop ebp
ret
Function at 0x406be0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x4257b0
push 0x40a484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x438664], eax
mov eax, dword [0x438664]
shr eax, 8
and eax, 0xff
mov dword [0x438670], eax
mov ecx, dword [0x438664]
and ecx, 0xff
mov dword [0x43866c], ecx
mov edx, dword [0x43866c]
shl edx, 8
add edx, dword [0x438670]
mov dword [0x438668], edx
mov eax, dword [0x438664]
shr eax, 0x10
and eax, 0xffff
mov dword [0x438664], eax
push 0
call fcn.0040a2a0
add esp, 4
test eax, eax
jne 0x406c74
push 0x1c
call fcn.00406d70
add esp, 4
mov dword [ebp - 4], 0
call fcn.00409f30
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x439fb8], eax
call fcn.00409d10
mov dword [0x4386a8], eax
call fcn.00409800
call fcn.004096b0
call fcn.00406a10
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004095f0
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x30]
and edx, 1
or edx, edx
je 0x406cd4
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
mov dword [ebp - 0x6c], eax
jmp 0x406cdb
mov dword [ebp - 0x6c], 0xa
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00401078
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
call fcn.00406a50
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004093e0
add esp, 8
ret

Function at 0x406d70
Capabilities:
Terminate process

Disassembly:
push ebp
push esp
pop ebp
cmp dword [0x4386b0], 1
jne 0x406d81
call fcn.0040a560
mov eax, dword [ebp + 8]
push eax
call fcn.0040a5b0
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100011c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x48
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jmp 0x100011da
add esp, 0x48
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, esp
mov dword [edx + 8], 0x3ba
mov dword [edx + 4], 0x3ba
mov dword [edx], 0x7b6792
mov edx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
call edx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0x14]
sub edx, 0xf
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
je 0x10001251
jmp 0x1000121b
mov eax, dword [ebp - 0x14]
sub eax, 0x37
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jne 0x10001268
jmp 0x1000122e
mov eax, esp
mov dword [eax + 8], 0xb2
mov dword [eax + 4], 0x7ed
mov dword [eax], 0x6dbb85
mov eax, dword [sym.imp.KERNEL32.dll_SetupComm]
call eax
sub esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
call eax
sub esp, 4
mov dword [ebp - 0x34], eax
jmp 0x100012bd
mov eax, dword [ebp - 0x2c]
mov ecx, esp
mov dword [ecx + 4], 0x7d8
mov dword [ecx], 0x4c257a
mov ecx, dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x38], eax
call ecx
sub esp, 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], 0xedf7ea
mov edx, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov dword [ebp - 0x3c], eax
call edx
sub esp, 8
mov ecx, dword [ebp - 0x38]
add ecx, 1
cmp ecx, 0xa
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], ecx
jne 0x10001268
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x15
mov dword [ebp - 0x10], eax
je 0x100011d4
jmp 0x100011da
Function at 0x100063f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10240fdc], 0
mov dword [0x10240fe0], 0
mov dword [0x10240fe8], 0
mov dword [0x10240fd4], 0x1a14
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jne 0x10006457
mov dword [0x10240fd8], 0x20c0
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10240fdc]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x10240fdc], edx
mov dword [0x10240fd4], 0xfbe
mov esi, dword [0x10240fe0]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10240fe0], edx
mov ecx, dword [0x10240fdc]
mov bl, byte [edi + ecx]
mov byte [0x10240fe4], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov dword [0x10240fd4], 0x1d46
mov bl, byte [0x10240fe4]
mov ecx, dword [0x10240fe0]
mov byte [edi + ecx], bl
mov ecx, dword [0x10240fdc]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x10240fe0]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x10240fe8], edx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov bl, byte [ecx + esi]
xor bl, byte [edi + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], bl
mov ecx, dword [0x10240fd8]
add ecx, 0x374
mov dword [0x10240fd8], ecx
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x20], esi
je 0x10006445
jmp 0x10006457

Function at 0x10006530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10006530]
mov ecx, dword [0x10240fd8]
add ecx, 0xffffe02f
mov edx, dword [0x10240fd4]
add edx, 0xffffdbc5
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x1000658f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1000658f
mov eax, dword [ebp - 0x14]
mov dword [0x10240fd8], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000655d
Function at 0x10006720
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10240fe0], 0
mov byte [0x10240fe4], 0
mov dword [0x10240fd4], 0x21
mov dword [0x10240fdc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [0x10240fd8], 0x10da
mov eax, dword [0x10240fdc]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10240fdc]
add eax, 1
mov dword [0x10240fdc], eax
cmp eax, 0x100
setl dl
mov byte [ebp - 0x19], dl
mov al, byte [ebp - 0x19]
test al, 1
jne 0x10006760
jmp 0x1000679c
xor eax, eax
mov dword [0x10240fdc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10240fe0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x10240fe0], edx
mov ecx, dword [0x10240fdc]
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x10240fe4], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x10240fe4]
mov ecx, dword [0x10240fe0]
mov byte [edi + ecx], bl
mov dword [0x10240fd4], 0x2cc
mov ecx, dword [0x10240fdc]
add ecx, 1
mov dword [0x10240fdc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x100067ab
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10240fd4], 0xf5e
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x10007018
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x118
mov edi, edx
add edi, esi
add edi, 0x6c
mov esi, dword [edi]
imul edi, eax, 0x118
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x118
add edx, ebx
add edx, 0x24
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x44]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
call fcn.10005f30
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
add edx, 1
cmp edx, 0x1a8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x100070cf
jmp 0x10006f98
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x118
mov edi, edx
add edi, esi
add edi, 0x6c
mov esi, dword [edi]
imul edi, eax, 0x118
add edx, edi
add edx, 0x24
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x1a8
mov ecx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x10007018
lea eax, [0x100086c7]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.10006b80
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.10006240
mov ecx, eax
mov dword [0x10240fec], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x10006f98
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], ecx
call fcn.10005fa0
xor eax, eax
mov ecx, dword [0x10240fd8]
add ecx, 0x571
mov dword [0x10240fd8], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x91f56
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x133200
mov dword [0x10240fd4], 0x733
mov ecx, dword [ebp - 0x44]
add ecx, 0x4d7fa
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2010
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40975b
pop dword [ebp - 0x38]
mov eax, 0xcb40f956
add eax, 0x34ff9e05
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x929e177
sub dword [ebp - 0x48], 0xbad79c2c
mov dword [ebp - 0x44], 0x961b04aa
add dword [ebp - 0x44], 0x9c18479b
mov dword [ebp - 0x40], 0x59f5135f
add dword [ebp - 0x40], 0xf25730cf
mov dword [ebp - 0x3c], 0xe863c56b
add dword [ebp - 0x3c], 0x179c3a95
lea eax, [ebp - 0x48]
push eax
mov eax, 0x11192860
add eax, 0xef27a7ec
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x2bdc5ff8
sub dword [ebp - 0x48], 0xb769f6a2
mov dword [ebp - 0x44], 0x9095d7cf
add dword [ebp - 0x44], 0xb0d689a6
mov dword [ebp - 0x40], 0x82df7adb
sub dword [ebp - 0x40], 0x1f700e6f
mov dword [ebp - 0x3c], 0xa233b3d1
add dword [ebp - 0x3c], 0x5dcc4c2f
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x3ac43fcf
add eax, 0xc57c9079
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3abc6
push 0
call eax
mov ecx, 0xebe9f598
sub ecx, 0xebe9a8ec
mov edx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x38]
mov ebx, 0x1771dc0f
sub ebx, 0x109ccec9
add dword [ebp - 0x34], edx
mov edi, dword [esi]
add dword [ebp - 0x10], 0x5d5e915c
xor edi, ebx
mov dword [ebp - 0x14], 0x2c61ec6f
mov dword [edx], edi
add dword [ebp - 0x1c], eax
add edx, 0xd02e605c
add edx, 0x2fd19fa8
add esi, 4
loop 0x409877
add eax, 0x9c2ba67b
sub eax, 0x9c2a80f8
xor ebx, ebx
add ebx, eax
add eax, 0x8e56a0e1
sub eax, 0x8e56a0dc
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4028af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x11], 0xc7d5c7c1
push edi
mov esi, ecx
mov dword [ebp - 0xd], 0xcac897c2
lea edi, [edx + 4]
mov byte [ebp - 9], bl
mov ecx, ebx
lea eax, [ecx - 0x4e]
xor byte [ebp + ecx - 0x11], al
inc ecx
cmp ecx, 8
jb 0x4028d2
lea eax, [ebp - 0x11]
mov byte [ebp - 9], bl
push eax
lea ecx, [ebp - 8]
call fcn.004043f9
push eax
mov ecx, edi
call fcn.00404468
xor ebx, ebx
inc ebx
test eax, eax
je 0x402909
cmp dword [0x503058c], 0
mov byte [ebp - 1], bl
je 0x40290d
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 8]
call fcn.004074b7
cmp byte [ebp - 1], 0
je 0x40291e
push ebx
jmp 0x402976
mov dword [ebp - 0x12], 0xc7d5c7c1
xor ecx, ecx
mov dword [ebp - 0xe], 0xd4db97c2
mov word [ebp - 0xa], 0xde
lea eax, [ecx - 0x4e]
xor byte [ebp + ecx - 0x12], al
inc ecx
cmp ecx, 9
jb 0x402934
lea eax, [ebp - 0x12]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 8]
call fcn.004043f9
push eax
mov ecx, edi
call fcn.00404468
test eax, eax
je 0x402966
cmp dword [0x503058c], 0
je 0x402968
xor bl, bl
mov ecx, dword [ebp - 8]
call fcn.004074b7
test bl, bl
je 0x40297e
push 0
push esi
call fcn.00414403
jmp 0x4029de
xor ebx, ebx
mov dword [ebp - 0xd], 0xc1ddcbd7
mov byte [ebp - 9], bl
mov ecx, ebx
lea eax, [ecx - 0x4e]
xor byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 4
jb 0x40298c
lea eax, [ebp - 0xd]
mov byte [ebp - 9], bl
push eax
lea ecx, [ebp - 8]
call fcn.004043f9
push eax
mov ecx, edi
call fcn.00404468
mov ecx, dword [ebp - 8]
mov esi, eax
call fcn.004074b7
test esi, esi
je 0x4029d0
mov ecx, 0x5030568
mov dword [0x503058c], ebx
call fcn.0041416e
jmp 0x4029de
push ecx
mov ecx, esp
push edi
call fcn.004044bb
call fcn.004141e2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407725
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
cmp dword [ebx + 0xc], esi
je 0x407876
cmp dword [ebx + 0x10], esi
je 0x407876
mov dword [ebx + 4], esi
mov eax, esi
mov dword [ebx], esi
mov ecx, dword [ebx + 0xc]
movzx edx, al
mov al, byte [ebx]
mov byte [edx + ecx], al
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
cmp eax, 0x100
jb 0x407750
mov dword [ebx], esi
mov eax, esi
push edi
movzx esi, al
xor edx, edx
mov ecx, 0xfa
mov edi, dword [ebx + 0xc]
div ecx
mov eax, dword [ebx + 0x10]
movsx ecx, byte [edx + eax]
movsx eax, byte [esi + edi]
add ecx, eax
add dword [ebx + 4], ecx
mov eax, dword [ebx + 4]
movzx eax, al
mov al, byte [eax + edi]
xor byte [esi + edi], al
mov edx, dword [ebx + 0xc]
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 4]
mov al, byte [eax + edx]
xor byte [ecx + edx], al
mov edx, dword [ebx + 0xc]
movzx eax, byte [ebx + 4]
movzx ecx, byte [ebx]
mov al, byte [eax + edx]
xor byte [ecx + edx], al
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
cmp eax, 0x100
jb 0x40776c
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
cmp dword [ebx + 8], eax
jbe 0x407875
mov ecx, eax
mov edi, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [ebx], eax
mov edx, dword [ebx + 0xc]
movzx ecx, al
mov bl, byte [ecx + edx]
movsx eax, bl
add dword [edi + 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
movzx eax, al
mov al, byte [eax + edx]
mov byte [ecx + edx], al
movzx ecx, byte [edi + 4]
movsx esi, al
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], esi
mov byte [ecx + eax], bl
mov ebx, edi
mov esi, dword [ebx + 4]
mov ecx, esi
mov edx, dword [ebx]
mov eax, edx
mov edi, dword [ebx + 0xc]
shl eax, 5
shr ecx, 3
xor ecx, eax
shr edx, 3
movzx eax, cl
movsx ecx, byte [eax + edi]
mov eax, esi
shl eax, 5
xor edx, eax
movzx eax, dl
mov edx, dword [ebp - 0xc]
movsx eax, byte [eax + edi]
add ecx, eax
mov eax, dword [ebp - 0x10]
xor ecx, 0xffffffaa
add eax, edx
movzx ecx, cl
movzx eax, al
mov cl, byte [ecx + edi]
add cl, byte [eax + edi]
lea eax, [esi + edx]
mov edx, dword [ebp + 8]
movzx eax, al
xor cl, byte [eax + edi]
mov eax, dword [ebp - 8]
xor byte [eax + edx], cl
inc eax
inc dword [ebx]
mov ecx, dword [ebx]
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 8]
jb 0x4077d5
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40a5b2
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [0x50306a8], 0
push ebx
push esi
push edi
jne 0x40a5cd
xor eax, eax
xor edx, edx
jmp 0x40a714
mov esi, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
test esi, esi
jle 0x40a5ec
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
dec esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
jmp 0x40a5f4
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov ecx, edx
test esi, esi
jle 0x40a60e
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jmp 0x40a616
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, edx
test esi, esi
jle 0x40a630
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x40a638
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov ecx, edx
test esi, esi
jle 0x40a652
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jmp 0x40a65a
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
and dword [ebp - 8], 0
mov eax, edx
and dword [ebp - 0xc], 0
xorps xmm0, xmm0
cdq
mov dword [ebp - 0x44], eax
mov eax, esi
mov dword [ebp - 0x40], edx
cdq
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov word [ebp - 0xc], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.0040a695
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a719
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x17
mov dword [ebp - 8], 0x502abb4
push ebx
push esi
push edi
test ecx, ecx
jne 0x40a742
test eax, eax
jne 0x40a742
xor al, al
jmp 0x40a7a0
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
push 0x33
call fcn.0040a753
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a7a5
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
cmp dword [0x50306a8], 0
push ebx
push esi
push edi
je 0x40aace
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
push 0x33
call fcn.0040a7cd
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ab14
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
call fcn.0040aaee
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp eax, ecx
jne 0x40ab39
cmp edx, ecx
je 0x40aec8
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
push 0x33
call fcn.0040ab4f
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415efc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, 0x5a4d
mov dword [esi + 0x20], edi
cmp word [edi], ax
jne 0x415ffc
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x415ffc
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
jne 0x415f95
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x24], eax
push dword [eax + 0x54]
push edi
call fcn.00403ed4
mov ecx, dword [esi + 0x24]
and dword [ebp + 8], 0
movzx eax, word [ecx + 0x14]
lea ebx, [ecx + 0x18]
add ebx, eax
xor eax, eax
cmp ax, word [ecx + 6]
jae 0x415ff4
sub esp, 0x30
mov ecx, esp
push ecx
push ebx
push edi
call fcn.00416702
lea ecx, [esi + 0x2c]
call fcn.00416005
mov eax, dword [esi + 0x24]
add ebx, 0x28
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jl 0x415f69
jmp 0x415ff4
mov edx, 0x8664
cmp cx, dx
jne 0x415ff4
xor ebx, ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x18]
push dword [eax + 0x54]
push edi
call fcn.00403ed4
mov ecx, dword [esi + 0x28]
xor edx, edx
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
mov dword [ebp + 8], eax
cmp dx, word [ecx + 6]
jae 0x415ff4
sub esp, 0x30
mov ecx, esp
push ecx
push eax
push edi
call fcn.00416702
lea ecx, [esi + 0x2c]
call fcn.00416005
mov ecx, dword [esi + 0x28]
inc ebx
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [ebp + 8], eax
movzx ecx, word [ecx + 6]
cmp ebx, ecx
jl 0x415fca
xor eax, eax
inc eax
mov dword [esi + 0x3c], eax
jmp 0x415ffe
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41614e
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x416169
mov edx, dword [ecx + 0x3c]
xor eax, eax
add edx, ecx
cmp dword [edx], 0x4550
cmove eax, edx
ret
xor eax, eax
ret

Function at 0x4161e2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov esi, dword [eax + 0xc]
add esi, 0x14
mov ecx, dword [esi]
jmp 0x41622d
mov ebx, dword [ecx + 0x28]
mov edx, 0x502aba0
movzx eax, word [ebx]
mov edi, eax
test ax, ax
je 0x41622b
sub ebx, edx
movzx eax, word [edx]
test ax, ax
je 0x41622b
cmp ax, di
ja 0x41622b
jb 0x41622b
add edx, 2
movzx eax, word [ebx + edx]
mov edi, eax
test ax, ax
jne 0x416209
cmp word [edx], ax
je 0x416237
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x4161f5
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx + 0x10]
jmp 0x416233