joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e26e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x15816c0]
xor edx, edx
cmp eax, edx
jne 0x4e2706
xor eax, eax
mov byte [eax + 0x15815c0], al
inc eax
cmp eax, 0x100
jl 0x4e26ee
mov dword [0x15816c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x15815c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e2797
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 0x4e276a
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 0x4e2738
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e27a0
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 0x4e27f3
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 0x4e27da
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 0x4e9180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52b2ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004e9aa0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x14dc5c4
call fcn.0051b344
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4e9213
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0051b344
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4e920c
push 0
mov ecx, eax
call fcn.004e0320
mov dword [esi + 0xc], eax
jmp 0x4e9215
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e9215
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f9ac7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4f9ae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f8d4a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4f9b0a
test byte [esp + 8], 2
je 0x4f9b0a
call fcn.004f8dbd
mov dword [eax], 0xd
call fcn.004f8dc6
mov dword [eax], 5
jmp 0x4f9ae3
xor eax, eax
ret

Function at 0x50a003
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x50a124
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x50a108
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x50a05a
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x50a038
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x50ab6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x14e2a2c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x50abc3
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x50abc3
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x50abc3
xor eax, eax
inc eax
jmp 0x50abc5
xor eax, eax
leave
ret 0x10
Function at 0x50abee
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x14e2a2c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x50ac5c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x14e3254
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x50ac53
cmp dword [ebp - 0xc], 4
jne 0x50ac53
cmp dword [ebp - 0x10], edi
je 0x50ac53
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x15245a8], edi
xor eax, eax
jmp 0x50ac9b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x15245a8], edi
jge 0x50ac96
lea eax, [ebp - 0x34]
push eax
mov dword [0x15245a8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x50ac96
cmp word [ebp - 0x14], 5
jb 0x50ac96
call fcn.0050abc9
test eax, eax
je 0x50ac96
emms
mov dword [0x15245a8], 1
mov eax, dword [0x15245a8]
pop edi
leave
ret

Function at 0x51d9d4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51da0c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0051ba5e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0051ba36
jmp 0x51da18
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51f0c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51f104
call fcn.00524fc2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51f104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51f0fb
xor eax, eax
jmp 0x51f10c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051f112
pop edi
pop esi
pop ebx
ret 4

Function at 0x5254f2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x525520
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x52553e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00525458
jmp 0x52553e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52553e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00525458
test edi, edi
mov eax, edi
jne 0x525528
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x60c018b1
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x4434493e
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x404280
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x40dc30
push 0x69
push esi
call edi
push 0x64
push 0x40dbc8
push 0x67
push esi
call edi
push str.Riched32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x6b
push esi
mov dword [ebp - 0x54], 0x30
mov dword [ebp - 0x4c], 0x4066a0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 3
call edi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x4000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x6c
push esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 0x69
mov dword [ebp - 0x2c], str.Langoback
call edi
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Lobster
push str.Langoback
push 0
mov dword [0x40a5ed], esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x4043bd
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call esi
test eax, eax
je 0x4043b2
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call edi
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call esi
test eax, eax
jne 0x404392
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4064b6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040394c
xor ebx, ebx
cmp dword [0x40e2d8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40658b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4064f6
xor eax, eax
jmp 0x40664f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4064ef
push eax
call fcn.00401c19
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e2d8], eax
call esi
push eax
call fcn.00401c19
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e2dc], eax
call esi
push eax
call fcn.00401c19
mov dword [0x40e2e0], eax
lea eax, [ebp - 8]
push eax
call fcn.00401380
test eax, eax
pop ecx
pop ecx
je 0x406559
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407d1d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40658b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00401c19
cmp eax, ebx
pop ecx
Function at 0x408683
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b168]
jne 0x40868d
repz ret
jmp fcn.00406b7d

Function at 0x452493
Capabilities:
Check for software breakpoints

Disassembly:
push eax
call 0x452499
pop ebx
sub ebx, 0x1a2
mov ecx, 0x152f7
sub ebx, ecx
mov esi, ebx
sub ebx, 0x3c000
mov edi, ebx
sub ebx, 0x1000
push edi
push ecx
push esi
call fcn.00452348
add esp, 0xc
mov ebp, dword [ebx + 0xc0]
lea ebp, [ebx + ebp]
dec ebp
mov cl, byte [ebp]
cmp cl, 0xcc
je 0x4524cb
sub ebp, 9
mov edx, ebx
sub edx, dword [ebx + 0x74]
add dword [ebp], edx
add ebp, 6
add dword [ebp], edx
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, ebx
add esi, dword [edx + 0x10c]
mov edi, dword [edx + 0x104]
mov ecx, 0x1eb7a
call fcn.00452469
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x452555
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x452550
pushal
test eax, 0x80000000
je 0x45253a
and eax, 0x7fffffff
jmp 0x45253e
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x452525
add esi, 0x14
jmp 0x45250b
pop edx
mov ebp, ebx
sub ebp, dword [edx + 0x34]
mov esi, dword [edx + 0xa0]
add esi, ebx
cmp esi, ebx
je 0x45259f
push edx
mov eax, dword [esi + 4]
or eax, eax
je 0x45259e
mov ecx, dword [esi]
add ecx, ebx
add esi, 8
sub eax, 8
shr eax, 1
mov edx, esi
lea edi, [eax + esi]
lea esi, [eax + edi]
xor eax, eax
add al, byte [edx]
adc ah, byte [edi]
test ah, 0x30
je 0x452596
push eax
and ah, 0xf
add dword [ecx + eax], ebp
pop eax
inc edx
inc edi
cmp edi, esi
jb 0x452585
jmp 0x452568
pop edx
pop eax
cmp eax, 0xd0dec0de
je 0x4525ac
add ebx, dword [edx + 0x28]
jmp ebx
ret 0xc
Function at 0x4045aa
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4068f8
call fcn.0040545b
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x4045c9
mov al, 1
jmp 0x404692
test esi, esi
je 0x404690
xor ebx, ebx
cmp word [esi], bx
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404690
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004028a2
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x404684
lea eax, [ebp - 0x28]
push eax
call fcn.004028a2
pop ecx
test al, al
jne 0x404684
cmp dword [ebp - 0x18], esi
jbe 0x404684
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404684
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x404684
push 0x407628
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401780
mov al, bl
jmp 0x404692
xor al, al
call fcn.00405416
ret
Function at 0x405240
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x405391
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
add byte [edi + ebp], 0x56
call esi
add byte [edi + ebp], 0xa7
call esi
xor byte [edi + ebp], 0x81
call esi
add byte [edi + ebp], 0xfb
call esi
add byte [edi + ebp], 0x5a
call esi
add byte [edi + ebp], 0x3e
call esi
add byte [edi + ebp], 0x53
call esi
xor byte [edi + ebp], 0x63
call esi
add byte [edi + ebp], 0xa3
call esi
add byte [edi + ebp], 0xfc
call esi
xor byte [edi + ebp], 0xfa
call esi
add byte [edi + ebp], 0x2f
call esi
add byte [edi + ebp], 0xec
call esi
add byte [edi + ebp], 0x4b
call esi
add byte [edi + ebp], 0x92
call esi
add byte [edi + ebp], 0xcf
call esi
xor byte [edi + ebp], 0x46
call esi
add byte [edi + ebp], 0xd5
call esi
add byte [edi + ebp], 0x8a
call esi
add byte [edi + ebp], 0x8c
call esi
add byte [edi + ebp], 0x81
call esi
add byte [edi + ebp], 0xab
call esi
add byte [edi + ebp], 0xe5
call esi
add byte [edi + ebp], 0x78
call esi
add byte [edi + ebp], 0xb1
call esi
xor byte [edi + ebp], 0xbb
call esi
add byte [edi + ebp], 0x12
call esi
add byte [edi + ebp], 0x41
call esi
add byte [edi + ebp], 0xca
call esi
add byte [edi + ebp], 0x94
call esi
add byte [edi + ebp], 0xf5
call esi
xor byte [edi + ebp], 0x3a
call esi
xor byte [edi + ebp], 0x67
call esi
xor byte [edi + ebp], 0xd7
call esi
add byte [edi + ebp], 0x12
call esi
add byte [edi + ebp], 0xad
call esi
xor byte [edi + ebp], 0x65
call esi
add byte [edi + ebp], 0x4b
call esi
add byte [edi + ebp], 0xd7
call esi
xor byte [edi + ebp], 0xe1
call esi
add byte [edi + ebp], 0xf9
call esi
xor byte [edi + ebp], 0x82
call esi
add byte [edi + ebp], 0x18
call esi
xor byte [edi + ebp], 0x72
call esi
add byte [edi + ebp], 0x84
call esi
xor byte [edi + ebp], 0x6e
call esi
add byte [edi + ebp], 0x1f
call esi
add byte [edi + ebp], 0xc2
call esi
add byte [edi + ebp], 0x9e
inc edi
cmp edi, ebx
jb 0x405260
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x4061d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x4061e2
call 0x1875ed48
jo 0x406229
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
add bh, bh
salc
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call esi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x46f0c0], eax
sub eax, eax
je 0x406213
call 0x7640cade
add eax, dword [eax]
push 0x37600
push section..data
call fcn.00405240
push str.warning_is_the_identify
call fcn.004062d0
push 0xb0
mov dword [ebp - 4], 0x403330
call fcn.0040978c
add esp, 0x10
test eax, eax
je 0x406253
add byte [eax], al
add byte [eax - 0x50], ch
add byte [eax], al
add bh, al
inc ebp
cld
xor byte [ebx], dh
inc eax
add al, ch
dec edi
xor eax, 0xc4830000
adc byte [ebp - 0x72f08b40], al
dec ebp
cld
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
call fcn.004014c0
mov esi, eax
jmp 0x406255
xor esi, esi
test esi, esi
je 0x4062c7
lea ecx, [esi + 4]
lock inc dword [ecx]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x40627e
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x406276
mov eax, dword [ecx]
push esi
jmp 0x40627c
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test esi, esi
je 0x40628c
cmp byte [esi + 0x6c], 0
jne 0x40628c
mov al, 1
jmp 0x40628e
xor al, al
test al, al
je 0x4062c7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
lock xadd dword [esi + 4], edi
dec edi
jne 0x4062bf
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4062b7
mov eax, dword [ecx]
push esi
call dword [eax]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
call fcn.00404db0
int3

Function at 0x40a3e3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a422
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a422
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a422
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a422
cmp dword [ecx + 0x74], 0xe
jbe 0x40a422
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x416f7c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b428
push 0x42b420
push str.FlsAlloc
push 0x1e
call fcn.00416de9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416fb0
push dword [ebp + 8]
mov ecx, esi
call dword [0x427198]
call esi
jmp 0x416fb6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x416ffa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b438
push 0x42b430
push str.FlsGetValue
push 0x20
call fcn.00416de9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417031
push dword [ebp + 8]
mov ecx, esi
call dword [0x427198]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x419b18
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004197ba

Function at 0x419b23
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419949
Function at 0x41ad5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a840
mov eax, dword [0x46d700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418511
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ad9f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41aefb
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425fb0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x46fdb8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b183
mov ecx, dword [esi*4 + 0x46fdb8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41aef4
cmp eax, dword [edi + ecx + 0x24]
jne 0x41aef4
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41aef4
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b183
add esp, 0x14
test edx, edx
jl 0x41aef4
jg 0x41ae6a
test eax, eax
jb 0x41aef4
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41aef4
jl 0x41ae84
cmp dword [ebp - 0x1008], eax
ja 0x41aef4
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41aea2
test ebx, ebx
je 0x41aedb
cmp ecx, edi
jae 0x41aedb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41aebc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41aec8
cmp byte [ecx + 1], 0xa
jne 0x41aec8
inc ecx
jmp 0x41aec8
movzx eax, al
movsx eax, byte [eax + 0x46e040]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41aea2
cmp edx, ebx
jne 0x41aea2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41aef9
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409c00
leave
ret