joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a82
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
push ebx
push 0x80
push 3
push ebx
push 1
mov esi, ecx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403ac0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x4026f4
jmp 0x403af7
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403aea
cmp dword [ebp - 4], ebx
jne 0x403aea
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x403b01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x402730
call fcn.00405129
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403b06
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 8], 0xffffffff
mov eax, ecx
push ebx
push esi
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x18], edx
push ecx
xor edi, edi
mov dword [ebp - 0x10], eax
push eax
mov esi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x403b89
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x403b4c
push 8
pop edi
or ebx, 0xffffffff
jmp 0x403b9f
push esi
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x403b89
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x402770
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x403b91
cmp dword [ebp - 0x14], edi
je 0x403b91
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
jmp 0x403b94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or ebx, 0xffffffff
test esi, esi
je 0x403b9f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403ba8
mov dword [eax], ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403bb4
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4059b2
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
call fcn.004057fd
mov esi, eax
test esi, esi
je 0x405b2f
push 0x4012f4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401300
push esi
mov dword [0x40eb2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40130c
push esi
mov dword [0x40eb30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401318
push esi
mov dword [0x40eb34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x40eb2c], 0
mov dword [0x40eb38], eax
je 0x405a28
cmp dword [0x40eb30], 0
je 0x405a28
cmp dword [0x40eb34], 0
je 0x405a28
test eax, eax
jne 0x405a50
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x40eb30], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x40eb34], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x40eb2c], 0x405570
mov dword [0x40eb38], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x40e564], eax
cmp eax, 0xffffffff
je 0x405b34
push dword [0x40eb30]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x405b34
call fcn.00405d62
push dword [0x40eb2c]
call fcn.00405622
push dword [0x40eb30]
mov dword [0x40eb2c], eax
call fcn.00405622
push dword [0x40eb34]
mov dword [0x40eb30], eax
call fcn.00405622
push dword [0x40eb38]
mov dword [0x40eb34], eax
call fcn.00405622
add esp, 0x10
mov dword [0x40eb38], eax
call fcn.00409025
test eax, eax
je 0x405b2f
push 0x4056a0
push dword [0x40eb2c]
call fcn.004055ad
pop ecx
mov esi, eax
mov ecx, eax
call dword [0x411160]
call esi
mov dword [0x40e560], eax
cmp eax, 0xffffffff
je 0x405b2f
push 0x214
push 1
call fcn.0040908c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x405b2f
push edi
push dword [0x40e560]
push dword [0x40eb34]
call fcn.004055ad
pop ecx
mov esi, eax
mov ecx, eax
call dword [0x411160]
call esi
test eax, eax
jne 0x405b39
push edi
call fcn.00407ce9
pop ecx
call fcn.00405b4c
xor eax, eax
pop edi
pop esi
ret
push 0
push edi
call fcn.004058d9
pop ecx
pop ecx
or dword [edi + 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x405b36
Function at 0x405fb1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov esi, ebx
cmp edi, dword [esi*8 + section..text]
je 0x405fd0
inc esi
cmp esi, 0x17
jb 0x405fc1
cmp esi, 0x17
jae 0x406110
push 3
call fcn.0040966e
pop ecx
cmp eax, 1
je 0x4060da
push 3
call fcn.0040966e
pop ecx
test eax, eax
jne 0x406003
cmp dword [0x40e550], 1
je 0x4060da
cmp edi, 0xfc
je 0x406110
push 0x4018f0
push 0x314
mov edi, 0x40eb70
push edi
call fcn.0040957f
add esp, 0xc
test eax, eax
je 0x406038
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407c43
add esp, 0x14
push 0x104
push 0x40eb89
push ebx
mov byte [0x40ec8d], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40607b
push 0x40190c
push 0x2fb
push 0x40eb89
call fcn.0040957f
add esp, 0xc
test eax, eax
je 0x40607b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407c43
add esp, 0x14
push 0x401924
push 0x314
push edi
call fcn.004095ef
add esp, 0xc
test eax, eax
je 0x40609f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407c43
add esp, 0x14
push dword [esi*8 + 0x401004]
push 0x314
push edi
call fcn.004095ef
add esp, 0xc
test eax, eax
je 0x4060c5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407c43
add esp, 0x14
push 0x12010
push 0x401928
push edi
call fcn.004096ba
add esp, 0xc
jmp 0x406110
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, eax
test edx, edx
je 0x406110
cmp edx, 0xffffffff
je 0x406110
mov esi, dword [esi*8 + 0x401004]
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4060f9
push ebx
lea eax, [ebp - 4]
sub ecx, edi
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406865
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x4068f7
xor edx, edx
push esi
mov esi, edi
cmp word [edi], dx
je 0x40689a
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x406895
add esi, 2
movzx ecx, word [esi]
test cx, cx
jne 0x406882
push ebx
push edx
push edx
push edx
sub esi, edi
push edx
sar esi, 1
inc esi
push esi
push edi
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ec
push eax
call fcn.00406c85
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4068ec
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push ebx
push esi
push edi
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4068e1
push ebx
call fcn.00407ce9
pop ecx
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x4068f5
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret
Function at 0x4090e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40911e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x409116
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x409120
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x409106
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4091f0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x409221
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x409221
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x409221
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4096ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x40e58c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x18], eax
call fcn.00405697
xor esi, esi
mov ebx, eax
cmp dword [0x40f448], esi
jne 0x40979a
push esi
push esi
push 0x401cc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40987c
push 0x401cd8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40987c
push eax
call fcn.00405622
mov dword [esp], 0x401ce4
push edi
mov dword [0x40f448], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405622
mov dword [esp], 0x401cf4
push edi
mov dword [0x40f44c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405622
mov dword [esp], 0x401d08
push edi
mov dword [0x40f450], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405622
pop ecx
mov ecx, eax
mov dword [0x40f458], ecx
test ecx, ecx
je 0x409793
push 0x401d24
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405622
pop ecx
mov dword [0x40f454], eax
jmp 0x40979f
mov eax, dword [0x40f454]
jmp 0x4097a5
mov eax, dword [0x40f454]
mov ecx, dword [0x40f458]
cmp eax, ebx
je 0x40980b
cmp ecx, ebx
je 0x40980b
push eax
call fcn.004055ad
push dword [0x40f458]
mov dword [ebp - 0x14], eax
call fcn.004055ad
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
test eax, eax
je 0x40980b
test edi, edi
je 0x40980b
mov ecx, eax
call dword [0x411160]
mov eax, dword [ebp - 0x14]
call eax
test eax, eax
je 0x409802
lea ecx, [ebp - 0x20]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
mov ecx, edi
call dword [0x411160]
call edi
test eax, eax
je 0x409802
test byte [ebp - 8], 1
jne 0x40980b
or dword [ebp + 0x10], 0x200000
jmp 0x409854
mov eax, dword [0x40f44c]
cmp eax, ebx
je 0x409854
push eax
call fcn.004055ad
mov edi, eax
pop ecx
test edi, edi
je 0x409854
mov ecx, edi
call dword [0x411160]
call edi
mov esi, eax
test esi, esi
je 0x409854
mov eax, dword [0x40f450]
cmp eax, ebx
je 0x409854
push eax
call fcn.004055ad
mov edi, eax
pop ecx
test edi, edi
je 0x409854
push esi
mov ecx, edi
call dword [0x411160]
call edi
mov esi, eax
push dword [0x40f448]
call fcn.004055ad
mov edi, eax
pop ecx
test edi, edi
je 0x40987c
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call dword [0x411160]
call edi
jmp 0x40987e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040501a
leave
ret
Function at 0x40d003
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x40e58c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
xor esi, esi
pop eax
mov dword [ebp - 0xc], esi
call fcn.0040cc00
mov eax, esp
lea ecx, [ebp - 0x34]
push 0x1c
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d112
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x54]
push 0x401340
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40d094
push 0x40269c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40d094
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call dword [0x411160]
call edi
cmp eax, 1
jne 0x40d094
cmp dword [ebp - 0xc], esi
jbe 0x40d094
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], esi
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push esi
call fcn.00406376
add esp, 0xc
test eax, eax
js 0x40d112
mov esi, dword [ebp - 8]
not edi
and esi, edi
mov dword [ebp - 8], esi
je 0x40d0ca
lea eax, [ebp - 8]
push eax
push ebx
push esi
call fcn.00406376
add esp, 0xc
test eax, eax
js 0x40d112
mov esi, dword [ebp - 8]
lea eax, [ebx + ebx]
cmp esi, eax
jae 0x40d0d3
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edi, ebx
neg edi
add eax, ebx
and edi, dword [ebp - 0x10]
sub edi, esi
cmp edi, eax
jb 0x40d112
push 4
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40d112
lea ecx, [ebp - 0x18]
push ecx
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40d112
xor eax, eax
inc eax
jmp 0x40d114
xor eax, eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040501a
leave
ret
Function at 0x40893e
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.00408955
xor dword [esi], ebx
mov edi, 0x5224a60f
inc esi
cmp esi, ecx
jne fcn.0040893e
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401c66
pop dword [ebp - 0x14]
mov eax, 0xc634b2c5
sub eax, 0xc5f4965f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x55d22d2b
add dword [ebp - 0x24], 0xf8801820
mov dword [ebp - 0x20], 0x30c8f7e2
sub dword [ebp - 0x20], 0xfe95ab9d
mov dword [ebp - 0x1c], 0x2df79ff4
add dword [ebp - 0x1c], 0x1e54a43a
mov dword [ebp - 0x18], 0x82d0ef4c
sub dword [ebp - 0x18], 0x82d0ef4c
lea eax, [ebp - 0x24]
push eax
mov eax, 0x526e7401
sub eax, 0x522e43ad
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x67faf06f
add dword [ebp - 0x24], 0xc7778e7
mov dword [ebp - 0x20], 0xc910c39f
sub dword [ebp - 0x20], 0x87a4622a
mov dword [ebp - 0x1c], 0x2c6e87d8
sub dword [ebp - 0x1c], 0xc8ff1b6c
mov dword [ebp - 0x18], 0x23e0ac25
add dword [ebp - 0x18], 0xdc1f53db
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x37d6a
push 0
call eax
mov ecx, 0x35f6cf14
sub ecx, 0x35f681a6
xor esi, esi
add esi, eax
mov edi, 0xf42c9dba
add edi, 0xc13d246
add edi, dword [ebp - 0x14]
mov ebx, 0x3b7120ac
sub dword [ebp - 0xc], 0x3011386f
mov edx, dword [edi]
mov dword [ebp - 8], 0x3c987f61
add edx, ebx
mov dword [ebp - 4], 0x240f518b
mov dword [esi], edx
xor dword [ebp - 8], eax
add esi, 0x11127e1c
add esi, 0xeeed81e8
add edi, 4
loop 0x401d7f
add eax, 0x5591fe00
sub eax, 0x5590d575
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe3a31661
sub ecx, 0xe3631661
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1002aaee
pop dword [ebp - 0x48]
mov eax, 0x53d70a23
sub eax, 0x43d45f35
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x381f18ab
sub dword [ebp - 0x58], 0xe9ccd360
mov dword [ebp - 0x54], 0x2707e5c6
add dword [ebp - 0x54], 0xb2b667f
mov dword [ebp - 0x50], 0xcab445d9
add dword [ebp - 0x50], 0x8197fe55
mov dword [ebp - 0x4c], 0x42bb293c
sub dword [ebp - 0x4c], 0x42bb293c
lea eax, [ebp - 0x58]
push eax
mov eax, 0xa9f0c8
add eax, 0xf58cf70
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x1ecc11a1
add dword [ebp - 0x58], 0x55a657b5
mov dword [ebp - 0x54], 0xa0781952
sub dword [ebp - 0x54], 0x5f0bb7dd
mov dword [ebp - 0x50], 0x1bc5125
add dword [ebp - 0x50], 0x61b31b47
mov dword [ebp - 0x4c], 0x194a4cb3
add dword [ebp - 0x4c], 0xe6b5b34d
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xe2ad4491
sub eax, 0xd2aa8469
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x386e8
push 0
call eax
mov ecx, 0xea84ea4f
add ecx, 0x157b658c
xor ebx, ebx
add ebx, eax
mov esi, 0x2935e60e
add esi, 0xe6cdaff2
add esi, dword [ebp - 0x48]
mov edi, 0xa2384e40
add dword [ebp - 0x14], ebx
mov edx, dword [esi]
mov dword [ebp - 0x24], 0x695119f6
add edx, edi
mov dword [ebx], edx
xor dword [ebp - 0x1c], 0xcac2753f
add ebx, 0x7d0dfd53
sub ebx, 0x7d0dfd4f
add esi, 0x121a6be2
sub esi, 0x121a6bde
loop 0x1002ac0c
add eax, 0x1323f
mov ebx, eax
add eax, 0x68deb9a1
add eax, 0x97214664
mov ecx, 0x3eccf03b
add ecx, 0xd1330fc5
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x403570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4035cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4035cb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4035b8
cmp esi, edx
jae 0x4035cb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4035a6
cmp esi, edx
jae 0x4035cb
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x416480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f25c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.FastObserver::EventListener.0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0x14
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0046aa7a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.00417020
lea esi, [ebx + 0x24]
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], 0
mov byte [esi + 4], 0
lea eax, [ebx + 0x2c]
mov byte [eax], 0
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x30]
push 2
push eax
call fcn.0045390f
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.00417120
mov ebx, eax
add esp, 0xc
or edi, 0xffffffff
cmp esi, ebx
je 0x4165a0
mov ecx, dword [esi]
test ecx, ecx
je 0x416590
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x416590
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x41658a
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x41658e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx]
mov dword [ebx], 0
mov dword [esi], eax
mov al, byte [ebx + 4]
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4165c3
lock xadd dword [ecx + 4], edi
dec edi
jne 0x4165c3
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4165bd
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x4165c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x4165d9
cmp byte [esi + 4], 0
je 0x4165d5
cmp byte [eax + 0x6c], 0
jne 0x4165d9
mov al, 1
jmp 0x4165db
xor al, al
mov ecx, dword [ebp - 0x14]
xchg byte [ecx], al
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416aa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f2ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x30]
push esi
mov dword [ebp - 0x18], esi
call fcn.0045392f
add esp, 4
test eax, eax
jne 0x416c00
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x416c07
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
call dword [eax + 8]
mov edx, eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov eax, edx
shr eax, 8
movzx ecx, dl
xor ecx, 0x811c9dc5
movzx eax, al
imul ecx, ecx, 0x1000193
mov dword [ebp - 0x10], edx
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 4]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00417300
mov eax, dword [eax + 4]
test eax, eax
jne 0x416b60
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 0x14]
je 0x416be3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea ecx, [edi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00416f80
xor edx, edx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
mov ecx, dword [ebx]
cmp ecx, ebx
je 0x416bc5
mov edx, dword [ebp + 8]
mov edi, dword [ecx]
cmp dword [ecx + 8], edx
jne 0x416bbc
dec dword [eax + 4]
mov edx, dword [ecx]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, edi
cmp edi, ebx
jne 0x416b94
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x416be3
nop dword [eax]
mov edi, dword [edx]
push 0xc
push edx
call fcn.0046a718
add esp, 8
mov edx, edi
test edi, edi
jne 0x416bd0
push esi
call fcn.00453954
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.0045458b
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.0045458b
int3
Function at 0x416c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, dl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 8]
push edi
lea edi, [ecx + 4]
imul ecx, eax, 0x1000193
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
sar eax, 0x10
movzx eax, al
sar edx, 0x18
xor ecx, eax
movzx eax, dl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00417300
mov eax, dword [eax + 4]
test eax, eax
jne 0x416c87
mov eax, dword [edi + 4]
cmp eax, esi
je 0x416cc9
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00416f00
mov ecx, edi
mov esi, dword [eax]
lea eax, [ebp + 8]
push eax
mov esi, dword [esi]
call fcn.00416f00
cmp esi, dword [eax]
je 0x416cc9
nop dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00416f00
cmp esi, dword [eax]
jne 0x416cb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x416f00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
je 0x416f73
mov ecx, dword [edi]
mov edx, dword [edx]
pop edi
pop esi
cmp ecx, dword [eax + 8]
je 0x416f6c
nop word [eax + eax]
cmp eax, edx
je 0x416f73
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x416f60
add eax, 0xc
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.004534bb
int3