joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f8c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.juce::TableListBox.0
mov dword [esi + 0x88], vtable.juce::TableListBox.2.0
mov dword [esi + 0xcc], vtable.juce::TableListBox.3.0
mov dword [esi + 0xd8], vtable.juce::TableListBox.1.0
mov edi, dword [esi + 0xd4]
test edi, edi
je 0x5f8ce5
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x5f8ce4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x5f8ce4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
pop ebx
pop edi
mov ecx, esi
pop esi
jmp fcn.005a1be0

Function at 0x5f9ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x98]
mov dword [esi + 0x94], vtable.juce::Label.1.0
lea edi, [esi + 0x94]
mov dword [eax], vtable.juce::Label.2.0
push eax
lea ecx, [esi + 0x118]
mov dword [esi], vtable.juce::Label.0
mov dword [esi + 0x88], vtable.juce::Label.4.0
mov dword [esi + 0x90], vtable.juce::Label.3.0
call fcn.0052da90
mov ecx, dword [esi + 0x14c]
test ecx, ecx
je 0x5f9f4e
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x5f9f4e
push edi
call fcn.005ebe80
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x138], 0
test ecx, ecx
je 0x5f9f68
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x14c]
or edi, 0xffffffff
test ecx, ecx
je 0x5f9f8b
lea eax, [ecx + 4]
mov edx, edi
lock xadd dword [eax], edx
lea eax, [edx - 1]
test eax, eax
jne 0x5f9f8b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x148]
test eax, eax
je 0x5f9fa0
mov byte [eax + 0x10], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5f9f95
push dword [esi + 0x13c]
mov dword [esi + 0x144], 0
call fcn.004c2bdc
mov ecx, dword [esi + 0x138]
add esp, 4
test ecx, ecx
je 0x5f9fc8
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x130]
test ecx, ecx
je 0x5f9fe8
lea eax, [ecx + 4]
mov edx, edi
lock xadd dword [eax], edx
lea eax, [edx - 1]
test eax, eax
jne 0x5f9fe8
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esi + 0x12c]
sub edx, 8
cmp edx, 0x7a1354
je 0x5fa00c
mov eax, edi
lock xadd dword [edx], eax
test eax, eax
jne 0x5fa00c
push edx
call fcn.004a8172
add esp, 4
lea ecx, [esi + 0x118]
call fcn.0052deb0
mov ecx, dword [esi + 0x114]
lea ebx, [esi + 0xf0]
test ecx, ecx
je 0x5fa03c
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov ecx, dword [esi + 0xec]
lea ebx, [esi + 0xc8]
test ecx, ecx
je 0x5fa061
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov ecx, dword [esi + 0xc4]
lea ebx, [esi + 0xa0]
test ecx, ecx
je 0x5fa086
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov eax, dword [esi + 0x8c]
sub eax, 8
cmp eax, 0x7a1354
je 0x5fa0a7
lock xadd dword [eax], edi
test edi, edi
jne 0x5fa0a7
push eax
call fcn.004a8172
add esp, 4
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.005fb9f0
Function at 0x5fa510
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619f32
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [edi + 4]
mov dword [edi], vtable.juce::ChangeBroadcaster.0
call fcn.00532ee0
mov dword [edi + 4], vtable.juce::ChangeBroadcaster::ChangeBroadcasterCallback.0
mov eax, edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov dword [edi + 0xc], edi
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0
mov dword [edi], vtable.juce::ComponentAnimator.0
mov dword [edi + 0x24], vtable.juce::ComponentAnimator.1.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x64fc7fd9
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
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
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x58e235d
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401220
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x844160]
mov ecx, dword [0x8430b4]
shr eax, 3
sub esp, 0x81c
test eax, eax
jbe 0x401328
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x844160], 0x959
jne 0x40130e
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.ducofikinevodugucexejayeyide_jofubupazekatajikuwayoj
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x81c]
push eax
push 0
push str.lebogegimoramigefunolerulodidi_peyewuvuhicucalikid_suyucedizejabije
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push str.kemafuvoriwidekubinujogin
push str.vuvetutijapaliy
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.laduvig_xupewufodarahut
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401030
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402570
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4240c8]
jne 0x40257a
repz ret
jmp fcn.00405f0e

Function at 0x405b3b
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.00402ff9
and dword [ebp - 4], 0
cmp dword [0x425b28], 0
mov ebx, eax
jne 0x405bec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405c9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405c9d
push eax
call fcn.00402f87
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425b28], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425b2c], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425b30], eax
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x425b38], eax
test eax, eax
je 0x405bec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x425b34], eax
mov eax, dword [0x425b34]
cmp eax, ebx
je 0x405c44
cmp dword [0x425b38], ebx
je 0x405c44
push eax
call fcn.00403002
push dword [0x425b38]
mov esi, eax
call fcn.00403002
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c44
test edi, edi
je 0x405c44
call esi
test eax, eax
je 0x405c3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c3b
test byte [ebp - 0xc], 1
jne 0x405c44
or dword [ebp + 0x10], 0x200000
jmp 0x405c7d
mov eax, dword [0x425b2c]
cmp eax, ebx
je 0x405c7d
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405c7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c7d
mov eax, dword [0x425b30]
cmp eax, ebx
je 0x405c7d
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405c7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425b28]
call fcn.00403002
pop ecx
test eax, eax
je 0x405c9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405c9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408966
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
or ecx, esi
sub esi, 0x6354eb2d
call fcn.0040899f
sub ecx, 0xe9416797
xor dword [edi], edx
sub ecx, 0x20ab2e16
inc edi
cmp edi, eax
jne fcn.00408966
mov esi, 0x2fedcc6
add ecx, 0x2e3783ab
ret
Function at 0x401450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147e
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x401499
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ed
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ed
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f1
xor eax, eax
jmp 0x401503
cmp dword [ebp - 4], edi
je 0x401500
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x71966901
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4b133f5
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4028a5
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1400
call fcn.00408ea0
mov eax, dword [0x2aa5ff8]
mov ecx, dword [0x2aa4f48]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x402982
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2aa5ff8], 0x959
jne 0x402970
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
lea eax, [ebp - 0x1400]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.004026ee
add edi, 8
dec ebx
jne 0x4028d1
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403870
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4310c8]
jne 0x40387a
repz ret
jmp fcn.00405dce

Function at 0x4059f4
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.00404509
and dword [ebp - 4], 0
cmp dword [0x432884], 0
mov ebx, eax
jne 0x405aa5
push 0x401930
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405b56
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401924
push edi
call esi
test eax, eax
je 0x405b56
push eax
call fcn.00404497
mov dword [esp], 0x401914
push edi
mov dword [0x432884], eax
call esi
push eax
call fcn.00404497
mov dword [esp], 0x401900
push edi
mov dword [0x432888], eax
call esi
push eax
call fcn.00404497
mov dword [esp], 0x4018e4
push edi
mov dword [0x43288c], eax
call esi
push eax
call fcn.00404497
pop ecx
mov dword [0x432894], eax
test eax, eax
je 0x405aa5
push 0x4018cc
push edi
call esi
push eax
call fcn.00404497
pop ecx
mov dword [0x432890], eax
mov eax, dword [0x432890]
cmp eax, ebx
je 0x405afd
cmp dword [0x432894], ebx
je 0x405afd
push eax
call fcn.00404512
push dword [0x432894]
mov esi, eax
call fcn.00404512
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405afd
test edi, edi
je 0x405afd
call esi
test eax, eax
je 0x405af4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405af4
test byte [ebp - 0xc], 1
jne 0x405afd
or dword [ebp + 0x10], 0x200000
jmp 0x405b36
mov eax, dword [0x432888]
cmp eax, ebx
je 0x405b36
push eax
call fcn.00404512
pop ecx
test eax, eax
je 0x405b36
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405b36
mov eax, dword [0x43288c]
cmp eax, ebx
je 0x405b36
push eax
call fcn.00404512
pop ecx
test eax, eax
je 0x405b36
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432884]
call fcn.00404512
pop ecx
test eax, eax
je 0x405b56
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405b58
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x408c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x407e18], 0x1d9232
je 0x408d60
jmp 0x408c1c
xor ebx, 0xfa25ed61
xor edx, 0xfb9bde2a
xor edx, 0xfa599e2c
mov ebx, 0xfe935905
mov ebx, 0xf7b9a947
call fcn.00408c93
mov ebx, 0xfc113b91
mov ebx, 0xf80f43f0
mov edx, 0xfbd25e81
xor edx, 0xfef1835a
cmp eax, 0x18334ada
jne 0x402273
jmp 0x408cc3
mov edx, 0xfb014e29
mov dword [0x407e18], 0x1d9232
mov ebx, 0xfebd7897
jmp 0x408cdc
call fcn.00408d2e
jmp 0x408d60
invalid
mov edx, 0xfb729060
pushal
nop
jb 0x408d5b
xor dword [edi + 0x47], esi
jns 0x408d0e
and dword [eax + 0x71], ebx
mov dh, 0x26
adc esi, dword [edi]
pushfd
push 0x1c
push ecx
xchg edi, eax
push 0x56
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x132fa27d], bl
aaa
mov cs, word [edx + 0x56]
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x332fa27d], bl
dec eax
test al, 0x25
push esp
push 0xffffffffffffffbb
daa
adc edx, dword [ebp - 0x45]
and al, 0x52
jg 0x408d5c
cmp byte [ebx], dh
xchg ecx, eax
scasd eax, dword es:[edi]
mov dh, 0xf4
sbb eax, 0x187363fa
fimul dword [edx + 0x33]
sbb byte [ebx + 0x27], dl
retf

Function at 0x418e02
Capabilities:
Encode data using xor
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
cmp dword [0x41801d], 0x4cd7fd
je 0x418f4c
jmp 0x418e21
mov ebx, 0xf90e25d4
mov ebx, 0xfe3c48a0
mov ebx, 0xf9df2562
call fcn.00418e71
mov edx, 0xfdd5b41d
mov ebx, 0xfb578fa2
mov edx, 0xfdb24a86
xor edx, 0xf9f74579
cmp eax, 0x8eb38dae
jne 0x402273
jmp 0x418edb
jmp 0x418f4c
mov dword [0x41801d], 0x4cd7fd
mov ebx, 0xfa32874c
call fcn.00418eaa
jmp 0x418ed2
jmp 0x418fae
mov byte [ebp - 0x255], 0
mov byte [ebp - 0x256], 0
mov ecx, 1
lea esi, [0x41814e]
push ecx
push esi
mov eax, dword [0x40151a]
pop esi
pop ecx
push ecx
push esi
rol eax, cl
xor ah, al
push esi
push 8
push eax
call fcn.004197df
pop esi
pop ecx
add esi, 9
inc ecx
push ecx
push esi
cmp ecx, 5
jne 0x418fc9
pop esi
pop ecx
push 0x40
push 0x3000
push 0x1000
push 0
call dword [0x4195d4]
mov dword [0x418172], eax
push 0x1000
push dword [0x418172]
call dword [0x4195f8]
push 0x1000
push dword [0x418172]
lea eax, [0x418176]
push eax
call dword [0x419640]
lea eax, [0x41814e]
mov dword [ebp - 0x25c], eax
lea eax, [0x418157]
mov dword [ebp - 0x260], eax
call fcn.004190cf
cmp eax, 1
jne 0x41905f
push 0
push dword [0x418172]
call fcn.00419272
push 0x1000
push dword [0x418172]
call dword [0x4195f8]
push 0x1000
push dword [0x418172]
lea eax, [0x41818e]
push eax
call dword [0x419640]
lea eax, [0x418160]
mov dword [ebp - 0x25c], eax
lea eax, [0x418169]
mov dword [ebp - 0x260], eax
call fcn.004190cf
cmp eax, 1
jne 0x4190b7
push 1
push dword [0x418172]
call fcn.00419272
push 0x8000
push 0
push dword [0x418172]
call dword [0x4195e0]
jmp 0x41923f
mov dword [0x41801d], 0xe2457d
rdtsc
xor dword [0x4180e6], eax
xor dword [0x4180d5], eax
xor dword [0x418077], eax
call fcn.00418e71
mov dword [0x41804b], eax
call fcn.00418eaa
nop
nop
mov esp, ebp
pop ebp
ret
Function at 0x10031e87
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10031eaa
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10031eaa
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10031eb4
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x10031ef6
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10031f58
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10031f53
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10031f3e
test dl, dl
je 0x10031f3a
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10031f3e
add ecx, 2
add eax, 2
test dl, dl
jne 0x10031f1e
xor eax, eax
jmp 0x10031f43
sbb eax, eax
or eax, 1
test eax, eax
je 0x10031f64
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10031f0b
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x10038d49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x10038e1e
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10038e1e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x10038e1e
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x10038da4
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x10038e1e
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10038de9
test dl, dl
je 0x10038de5
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10038de9
add ecx, 2
add eax, 2
test dl, dl
jne 0x10038dc9
xor eax, eax
jmp 0x10038dee
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10038e00
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x10038e0b
inc esi
cmp esi, ebp
jae 0x10038e1e
mov edx, dword [esp + 0x10]
jmp 0x10038dbf
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x10039082
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x1003908d
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x100390a1
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x100390a5
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x100390de
cmp dword [edi + ecx], 0x4550
jne 0x100390de
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x100390de
test byte [edi + ecx + 0x16], 2
je 0x100390de
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x100390e3
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x1003911f
xor eax, eax
jmp 0x10039102
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x10039128
inc edx
movzx eax, dx
cmp eax, edi
jl 0x10039102
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret