joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60d5390
Capabilities:
Get system information on windows

Disassembly:
cmp byte [0x613e588], 0
jne 0x60d5434
push esi
push edi
mov esi, 0x11c
push esi
push 0
mov edi, 0x613e440
push edi
call fcn.060eefa0
add esp, 0xc
mov dword [0x613e440], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
call esi
test eax, eax
jne 0x60d5412
push edi
mov dword [0x613e440], 0x114
call esi
test eax, eax
jne 0x60d5412
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d5412
test byte [eax + 0x1c], 1
je 0x60d5412
cmp byte [eax + 0x19], 2
jb 0x60d5412
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x613af2c]
push 0x612afbc
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c9d63
add esp, 0x14
push 0x24
push 0
mov esi, 0x613e55c
push esi
call fcn.060eefa0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
mov byte [0x613e588], 1
pop esi
mov al, 1
ret

Function at 0x60ddc86
Capabilities:
Get common file path

Disassembly:
push 0x5c
mov eax, 0x6105c78
call fcn.060f40c7
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.060c3335
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x35], bl
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.060c372a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
mov esi, eax
call fcn.060c5c64
test esi, esi
je 0x60ddcd9
cmp esi, ebx
jbe 0x60ddd7f
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60ddd12
test byte [eax + 0x1c], 1
je 0x60ddd12
cmp byte [eax + 0x19], 2
jb 0x60ddd12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x613af2c]
push 0x612b6e0
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c9d63
add esp, 0x14
mov byte [ebp - 0x3c], 0
jmp 0x60ddd7f
lea ecx, [ebp - 0x60]
call fcn.060c3531
mov bl, al
neg bl
sbb bl, bl
not bl
and bl, byte [ebp - 0x3c]
lea ecx, [ebp - 0x60]
call fcn.060c3371
mov al, bl
call fcn.060f4019
ret

Function at 0x60dde18
Capabilities:
Get common file path

Disassembly:
push 0x5c
mov eax, 0x6105ca5
call fcn.060f40c7
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.060c3335
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x35], bl
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.060c372a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
mov esi, eax
call fcn.060c5c64
test esi, esi
je 0x60dde6b
cmp esi, ebx
jbe 0x60ddf11
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60ddea4
test byte [eax + 0x1c], 1
je 0x60ddea4
cmp byte [eax + 0x19], 2
jb 0x60ddea4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x613af2c]
push 0x612b6e0
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c9d63
add esp, 0x14
mov byte [ebp - 0x3c], 0
jmp 0x60ddf11
lea ecx, [ebp - 0x60]
call fcn.060c3531
mov bl, al
neg bl
sbb bl, bl
not bl
and bl, byte [ebp - 0x3c]
lea ecx, [ebp - 0x60]
call fcn.060c3371
mov al, bl
call fcn.060f4019
ret
Function at 0x60eae9b
Capabilities:
Get common file path

Disassembly:
push 0x68
mov eax, 0x61064e5
call fcn.060f40c7
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x35], 1
call fcn.060c3335
and dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test edi, edi
je 0x60eaecd
cmp edi, 1
jne 0x60eaf2c
push 0x104
mov ecx, esi
call fcn.060c372a
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
setne bl
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 0x35], bl
call fcn.060c5c64
test bl, bl
jne 0x60eafb1
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60eaf2c
test byte [eax + 0x1c], 1
je 0x60eaf2c
cmp byte [eax + 0x19], 2
jb 0x60eaf2c
push 0x612cb38
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
lea ecx, [ebp - 0x6c]
call fcn.060d2c61
mov eax, 0x20019
dec edi
je 0x60eaf46
dec edi
jne 0x60eaf4b
mov eax, 0x20119
jmp 0x60eaf4b
mov eax, 0x20219
push 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.060d3056
test eax, eax
je 0x60eaf7a
push esi
push str.CommonFilesDir
lea ecx, [ebp - 0x6c]
call fcn.060d36d6
test eax, eax
je 0x60eaf7a
mov bl, 1
jmp 0x60eafa9
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60eafa7
test byte [eax + 0x1c], 1
je 0x60eafa7
cmp byte [eax + 0x19], 2
jb 0x60eafa7
push 0x612cb38
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
xor bl, bl
lea ecx, [ebp - 0x6c]
call fcn.060d2c95
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
sete bh
dec bh
and bh, bl
mov byte [ebp - 0x35], bh
je 0x60eb041
push 0x5c
mov ecx, esi
call fcn.060eb4dc
push str.Symantec_Shared
mov ecx, esi
call fcn.060c56ff
jmp 0x60eb041
lea ecx, [ebp - 0x60]
call fcn.060c3531
mov bl, al
neg bl
sbb bl, bl
not bl
and bl, bh
je 0x60eb084
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60eb084
test byte [eax + 0x1c], 1
je 0x60eb084
cmp byte [eax + 0x19], 4
jb 0x60eb084
push dword [esi]
push 0x612cb38
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060d2c05
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.060c3371
mov al, bl
call fcn.060f4019
ret
Function at 0x6100a67
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x613b150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.060f83a3
mov dword [ebp - 0x14], eax
cmp dword [0x613f5e8], edi
jne 0x6100b58
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x6100ae5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x6100c38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x6100c38
push 0x61319c0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x6100c38
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x613f5e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x613f5ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x61319f0
push esi
mov dword [0x613f5f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x613f5f8], eax
test eax, eax
je 0x6100b55
push 0x6131a0c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x613f5f4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x6100b7d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6100b70
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x6100b92
push 4
pop eax
jmp 0x6100c3a
cmp dword [ebp - 0x14], edi
je 0x6100b92
push dword [0x613f5e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x6100b77
mov eax, dword [0x613f5f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x6100bf0
cmp dword [0x613f5f8], esi
je 0x6100bf0
push eax
call ebx
push dword [0x613f5f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x6100bf0
test eax, eax
je 0x6100bf0
call ecx
test eax, eax
je 0x6100be5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x6100be5
test byte [ebp - 8], 1
jne 0x6100bf0
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x6100c20
mov eax, dword [0x613f5ec]
cmp eax, esi
je 0x6100c1d
push eax
call ebx
test eax, eax
je 0x6100c1d
call eax
mov edi, eax
test edi, edi
je 0x6100c1d
mov eax, dword [0x613f5f0]
cmp eax, esi
je 0x6100c1d
push eax
call ebx
test eax, eax
je 0x6100c1d
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x613f5e8]
call ebx
test eax, eax
je 0x6100c38
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x6100c3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.060eb877
leave
ret
Function at 0x100031c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x100031d6
pop dword [ebp - 0x40]
mov eax, 0x100031d6
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x69309595
add dword [ebp - 0x50], 0xe521afb6
mov dword [ebp - 0x4c], 0x9660319
add dword [ebp - 0x4c], 0x28cd492c
mov dword [ebp - 0x48], 0x2b96981c
sub dword [ebp - 0x48], 0xdf4a53ee
mov dword [ebp - 0x44], 0xafbf9dc9
add dword [ebp - 0x44], 0x50406237
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xceba5e00
sub dword [ebp - 0x50], 0x5a47f4aa
mov dword [ebp - 0x4c], 0xf00a36ea
sub dword [ebp - 0x4c], 0xae9dd575
mov dword [ebp - 0x48], 0xdd2b5386
add dword [ebp - 0x48], 0x864418e6
mov dword [ebp - 0x44], 0x78af255a
sub dword [ebp - 0x44], 0x78af255a
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x5645bb6f
add eax, 0xb9bbc4f1
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa30
push 0
call eax
mov ecx, 0xb6971156
sub ecx, 0xb696cca6
mov esi, eax
mov edi, 0x10027200
add edi, dword [ebp - 0x40]
mov edx, 0xe6caf164
xor dword [ebp - 0x3c], edx
mov ebx, dword [edi]
xor dword [ebp - 0x24], edx
sub ebx, edx
add dword [ebp - 0x30], 0x19304b6f
mov dword [esi], ebx
sub dword [ebp - 0x14], eax
add esi, 0xbfb72187
add esi, 0x4048de7d
add edi, 0x344cb26c
sub edi, 0x344cb268
loop 0x100032e2
add eax, 0x20b12653
add eax, 0xdf4fdf40
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x174cf76b
sub ecx, 0x74cf76b
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x406bd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c810
cmp edx, dword [eax]
je 0x406bfb
add eax, 8
inc ecx
cmp eax, 0x40c8a0
jl 0x406bec
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c810]
jne 0x406d29
mov eax, dword [0x40e068]
cmp eax, 1
je 0x406d03
test eax, eax
jne 0x406c2c
cmp dword [0x40c754], 1
je 0x406d03
cmp edx, 0xfc
je 0x406d29
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406c63
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405dd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004074d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406ca6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004074d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4085ec
push edi
call fcn.00405220
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405dd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405de0
lea eax, [ebp - 0xa0]
push 0x4085cc
push eax
call fcn.00405de0
push dword [esi + 0x40c814]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405de0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407885
add esp, 0x2c
pop edi
jmp 0x406d29
lea eax, [ebp + 8]
lea esi, [esi + 0x40c814]
push 0
push eax
push dword [esi]
call fcn.004074d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40121a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
xor eax, eax
lea edi, [ebp - 0x2b]
and dword [ebp - 4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x67
mov byte [ebp - 0x29], 0x51
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x79
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x75
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x78
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
jmp 0x4012bb
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 8], eax
jmp 0x4012e5
test eax, eax
je 0x401325
jmp 0x4012fb
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x401325
jmp 0x401337
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x401739
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x401760
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
jmp 0x401784
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp + 0x14], eax
jmp 0x4017a7
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x401825
jmp 0x4017ca
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, ebx
je 0x401825
jmp 0x4017f9
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp + 0x14]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x401822
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x10003f40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.10001000
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
lea esi, [ecx + eax*4]
mov ecx, edi
call fcn.10001000
mov edx, dword [esi + 0xc]
mov ecx, dword [eax]
dec dword [edx + 4]
mov eax, dword [ebp + 0x18]
lea ebx, [ecx + eax*4]
jne 0x10003f8a
lea eax, [edx + 8]
cmp dword [edx], eax
jne 0x10003f8a
push 0
push 0x18
mov ecx, edi
call fcn.10016f10
add esp, 8
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
inc dword [eax + 4]
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 8]
cmp dword [ecx], eax
je 0x10003fa4
mov dword [ecx + 0xc], 1
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
test byte [edx + 8], 0x40
je 0x10003fd4
add eax, 8
cmp edx, eax
jne 0x10003fd4
mov ecx, dword [edi + 0xc]
mov edx, dword [edx]
cmp byte [ecx + 0x3d], 1
ja 0x10003fd4
test edx, edx
je 0x10003fd4
test byte [edx + 5], 3
je 0x10003fd4
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.1000f0d0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000ed70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov eax, ecx
mov dword [esp + 0x14], edx
xor edi, edi
mov dword [esp + 0x10], eax
cmp byte [edx + 6], 0
jbe 0x1000edf7
lea ebx, [edx + 0x10]
mov esi, dword [eax + 0xc]
push 0x18
push 0
push 0
push dword [esi + 4]
mov eax, dword [esi]
call eax
add esp, 0x10
test eax, eax
jne 0x1000edc8
mov ecx, dword [esp + 0x10]
lea edx, [eax + 1]
call fcn.10010ff0
mov eax, dword [esi]
push 0x18
push 0
push 0
push dword [esi + 4]
call eax
add esp, 0x10
test eax, eax
je 0x1000edfe
add dword [esi + 0xc], 0x18
lea ecx, [eax + 8]
mov dword [eax + 4], 1
inc edi
mov dword [eax], ecx
mov dword [ecx + 8], 0
mov dword [ebx], eax
add ebx, 4
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 6]
cmp edi, eax
jge 0x1000edf7
mov eax, dword [esp + 0x10]
jmp 0x1000ed91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edx, 4
call fcn.1000d0d0
int3

Function at 0x1000f080
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x3d], 1
ja 0x1000f097
mov edx, dword [ebp + 8]
mov ecx, eax
pop ebp
jmp fcn.1000f0d0
mov cl, byte [eax + 0x3c]
mov al, byte [edx + 5]
and cl, 3
and al, 0xf8
or cl, al
mov byte [edx + 5], cl
pop ebp
ret

Function at 0x1000f0b0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [ecx + 0xc]
mov eax, dword [edx]
cmp byte [ecx + 0x3d], 1
mov edx, dword [eax]
ja 0x1000f0cb
test edx, edx
je 0x1000f0cb
test byte [edx + 5], 3
jne fcn.1000f0d0
ret

Function at 0x1000f0d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, edx
push edi
mov edi, ecx
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, 4
cmp eax, 0x22
ja 0x1000f1aa
jmp 0x1000f100
movzx eax, byte [eax + 0x1000f1cc]
jmp dword [eax*4 + 0x1000f1b0]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000f1f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 9
lea ebx, [edi + 0xf4]
lea esp, [esp]
mov esi, dword [ebx]
test esi, esi
je 0x1000f2cd
test byte [esi + 5], 3
je 0x1000f2cd
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, 4
cmp eax, 0x22
ja 0x1000f2cd
jmp 0x1000f240
movzx eax, byte [eax + 0x1000f300]
jmp dword [eax*4 + 0x1000f2e4]
add ebx, 4
dec dword [esp + 0xc]
jne 0x1000f210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f330
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x1000f407
mov al, byte [esi + 5]
test al, 3
je 0x1000f3fd
and al, 0xfc
mov edi, esi
mov byte [esi + 5], al
movzx eax, byte [esi + 4]
sub eax, 4
cmp eax, 0x22
ja 0x1000f3fd
jmp 0x1000f370
movzx eax, byte [eax + 0x1000f42c]
jmp dword [eax*4 + 0x1000f410]
mov esi, dword [esi]
test esi, esi
jne 0x1000f349
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000f450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x68]
push esi
push edi
lea edx, [ebx + 0x68]
mov dword [esp + 0xc], edx
test ecx, ecx
je 0x1000f58d
test byte [ecx + 5], 7
jne 0x1000f488
cmp dword [ecx + 0x20], 0
je 0x1000f488
lea edx, [ecx + 0x28]
mov dword [esp + 0xc], edx
jmp 0x1000f583
mov eax, dword [ecx + 0x28]
mov dword [edx], eax
mov edi, dword [ecx + 0x20]
mov dword [ecx + 0x28], ecx
test edi, edi
je 0x1000f583
jmp 0x1000f4a0
cmp dword [edi + 0xc], 0
je 0x1000f574
mov esi, dword [edi]
test byte [esi + 8], 0x40
je 0x1000f56d
mov esi, dword [esi]
test byte [esi + 5], 3
je 0x1000f56d
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, 4
cmp eax, 0x22
ja 0x1000f56d
jmp 0x1000f4e0
movzx eax, byte [eax + 0x1000f5b0]
jmp dword [eax*4 + 0x1000f594]
mov dword [edi + 0xc], 0
mov edi, dword [edi + 8]
test edi, edi
jne 0x1000f4a0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x1000f470
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fb70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
cmp byte [edi + 6], cl
jbe 0x1000fc6d
add edi, 0x10
test byte [edi + 8], 0x40
je case.default.0x1000fbc7
mov esi, dword [edi]
test byte [esi + 5], 3
je case.default.0x1000fbc7
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, 4
cmp eax, 0x22
ja case.default.0x1000fbc7
movzx eax, byte [eax + 0x1000fc98]
jmp dword [eax*4 + 0x1000fc7c]
mov edx, dword [esi + 8]
test edx, edx
je 0x1000fbe2
test byte [edx + 5], 3
je 0x1000fbe2
mov ecx, ebx
call fcn.1000f0d0
or byte [esi + 5], 4
mov eax, dword [esi + 0xc]
add eax, 0x18
add dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 6]
test al, 0x40
je case.0x1000fbc7.10
mov al, byte [ecx + 5]
test al, 3
je case.0x1000fbc7.10
and al, 0xfc
mov esi, ecx
mov byte [ecx + 5], al
movzx eax, byte [ecx + 4]
sub eax, 4
cmp eax, 0x22
jbe 0x1000fbc0
jmp case.0x1000fbc7.10
mov eax, dword [esi + 0xc]
or byte [esi + 5], 4
add eax, 0x19
add dword [ebx + 0x10], eax
jmp case.0x1000fbc7.10
mov eax, dword [ebx + 0x4c]
mov dword [esi + 8], eax
jmp 0x1000fc4a
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x1c], eax
jmp 0x1000fc4a
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x24], eax
jmp 0x1000fc4a
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [ebx + 0x4c], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add edi, 0x10
mov dword [esp + 0x10], ecx
movzx eax, byte [eax + 6]
cmp ecx, eax
jl 0x1000fb96
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + 6]
pop edi
inc eax
pop esi
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], ecx
cmp dword [ecx + 0x60], eax
je 0x1001072c
cmp eax, dword [ecx + 0x78]
jae 0x1001072c
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
mov dword [esi + 0x60], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax], ecx
mov dword [esi + 0x40], eax
and byte [eax + 5], 0xf7
mov cl, byte [esi + 0x3d]
mov dl, byte [eax + 5]
cmp cl, 2
jb 0x10010681
cmp cl, 5
ja 0x10010681
mov cl, byte [esi + 0x3c]
and dl, 0xf8
and cl, 3
or cl, dl
mov byte [eax + 5], cl
mov dword [esp + 0x20], eax
lea edx, [esp + 0x20]
movzx eax, byte [eax + 4]
mov ecx, edi
or eax, 0x40
push 2
mov dword [esp + 0x2c], eax
call fcn.10026f30
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10010715
mov eax, dword [ecx + 8]
and eax, 0xf
cmp al, 6
jne 0x10010715
mov al, byte [edi + 0x6d]
mov edx, 0x10010600
mov byte [esp + 0x13], al
movzx eax, byte [esi + 0x3f]
mov dword [esp + 0x18], eax
mov byte [edi + 0x6d], 0
mov byte [esi + 0x3f], 0
mov eax, dword [edi + 8]
movdqu xmm0, xmmword [ecx]
push 0
mov ecx, edi
movdqu xmmword [eax], xmm0
mov eax, dword [edi + 8]
movdqu xmm0, xmmword [esp + 0x24]
movdqu xmmword [eax + 0x10], xmm0
add dword [edi + 8], 0x20
mov eax, dword [edi + 8]
sub eax, dword [edi + 0x1c]
sub eax, 0x20
push eax
push 0
call fcn.1000df30
mov edx, eax
add esp, 0xc
mov al, byte [esp + 0x13]
mov byte [edi + 0x6d], al
mov eax, dword [esp + 0x18]
mov byte [esi + 0x3f], al
test edx, edx
jne 0x1001073d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp dword [ecx + 0x60], 0
jne 0x10010643
cmp dword [ecx + 0x60], 0
jne 0x10010756
xor edx, edx
mov dword [ecx + 0x78], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 2
jne 0x1001077d
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 8]
and al, 0xf
cmp al, 4
jne 0x10010764
mov eax, dword [ecx - 0x10]
add eax, 0x18
jmp 0x10010769
mov edx, dword [ecx + 0x78]
add edx, edx
pop edi
mov dword [ecx + 0x78], edx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, str.no_message
push eax
push str.error_in___gc_metamethod___s_
push edi
call fcn.10019f50
add esp, 0xc
mov edx, 5
mov ecx, edi
call fcn.1000d0d0
int3