joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4111f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bb683
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x4cb03c
xor ebx, ebx
mov dword [esi + 4], 0x65
mov dword [esi + 8], 0x12dd668
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0x34
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esi + 0x58], eax
call fcn.00410f20
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x54], edx
call fcn.0044d520
lea edi, [eax + 4]
push edi
mov dword [esp + 0x18], 0x4cb038
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x58]
push esi
mov byte [esp + 0x28], 1
call fcn.0044d810
push edi
mov dword [esi + 0x5c], eax
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x58]
push esi
call fcn.00450220
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x4113b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4bb6ab
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
xor ebx, ebx
mov edi, 7
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
push 1
push 0x1a
lea eax, [esp + 0x38]
push eax
push ebx
mov dword [esp + 0x254], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x41144e
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411431
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.0040244b
jmp 0x4114d6
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411455
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040244b
mov eax, dword [esp + 0x28]
lea edi, [eax - 1]
cmp edi, eax
jbe 0x411483
call fcn.0048c687
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x411492
lea eax, [esp + 0x18]
cmp word [eax + edi*2], 0x5c
je 0x4114a9
push 1
push 0x4caa50
lea ecx, [esp + 0x1c]
call fcn.0040d510
push 0x19
push str.TencentTencentdlDlcore_
lea ecx, [esp + 0x1c]
call fcn.0040d510
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.0040216a
cmp dword [esp + 0x2c], 8
jb 0x4114ea
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048c049
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0048c010
add esp, 0x238
ret
Function at 0x411520
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4bb6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [esp + 0x58]
lea eax, [esp + 0xc]
push eax
call fcn.004113b0
push 0x4cb0d0
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x60], 0
call fcn.0040dae0
mov edi, 8
add esp, 0x10
cmp dword [esp + 0x24], edi
jb 0x411591
mov edx, dword [esp + 0x10]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x40], edi
mov eax, dword [esp + 0x2c]
jae 0x41159f
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4115f4
test al, 0x10
jne 0x4115f4
cmp dword [esp + 0x40], edi
mov eax, dword [esp + 0x2c]
jae 0x4115bd
lea eax, [esp + 0x2c]
push eax
push 0
push 0x4cb0bc
push 0x4cb0a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
cmp ecx, eax
sbb edx, edx
neg edx
cmp dword [esp + 0x40], edi
mov dword [esi], edx
jb 0x4115ed
mov eax, dword [esp + 0x2c]
push eax
call fcn.0048c049
add esp, 4
mov eax, 1
jmp 0x411609
cmp dword [esp + 0x40], edi
jb 0x411607
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0048c049
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0048c010
add esp, 0x48
ret
Function at 0x411630
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4bb726
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov edi, dword [esp + 0x260]
lea eax, [esp + 0xc]
push eax
call fcn.004113b0
push 0x4cb0d0
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x268], 0
call fcn.0040dae0
add esp, 0x10
mov ebx, 8
cmp dword [esp + 0x24], ebx
mov byte [esp + 0x258], 2
jb 0x4116b8
mov edx, dword [esp + 0x10]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x40], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], 0
jae 0x4116dd
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41177c
test al, 0x10
jne 0x41177c
push 0x204
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x50], 0x30
call fcn.0048c300
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x40], ebx
jae 0x41171f
lea eax, [esp + 0x2c]
push eax
push 0x104
lea ecx, [esp + 0x4c]
push ecx
push 0x4cb0f0
push 0x4cb0e8
push 0x4cb0a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x44]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411746
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.0040244b
cmp dword [esp + 0x40], ebx
jb 0x411775
mov eax, dword [esp + 0x2c]
push eax
call fcn.0048c049
add esp, 4
mov eax, 1
jmp 0x411791
cmp dword [esp + 0x40], ebx
jb 0x41178f
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0048c049
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0048c010
add esp, 0x250
ret
Function at 0x4118a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bb780
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
xor esi, esi
mov ebx, 7
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], si
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x94], esi
call fcn.00411630
add esp, 4
test eax, eax
jne 0x411923
cmp dword [esp + 0x80], 8
jb 0x411a82
mov ecx, dword [esp + 0x6c]
push ecx
jmp 0x411a7a
lea edx, [esp + 0x30]
push edx
call fcn.004113b0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
push str.dlcore_
push ecx
mov byte [esp + 0xa0], 1
call fcn.004112f0
push str..dll
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xac], 2
call fcn.0040dae0
add esp, 0x1c
mov edi, 8
cmp dword [esp + 0x2c], edi
mov byte [esp + 0x90], 4
jb 0x411984
mov eax, dword [esp + 0x18]
push eax
call fcn.0048c049
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov word [esp + 0x24], si
call fcn.0040d400
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x4119b0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411a2c
test al, 0x10
jne 0x411a2c
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.0040216a
cmp dword [esp + 0x64], edi
jb 0x4119e2
mov eax, dword [esp + 0x50]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x48], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
jb 0x411a02
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
jb 0x411a25
mov edx, dword [esp + 0x6c]
push edx
call fcn.0048c049
add esp, 4
mov eax, 1
jmp 0x411a84
cmp dword [esp + 0x64], edi
jb 0x411a3f
mov eax, dword [esp + 0x50]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x48], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
jb 0x411a5f
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
jb 0x411a82
mov edx, dword [esp + 0x6c]
push edx
call fcn.0048c049
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0048c010
add esp, 0x80
ret

Function at 0x411cb0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x411cd0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x411ce6
push 0x80004005
call fcn.0040c8f0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x411d10
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x411d28
push 0x80004005
call fcn.0040c8f0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x411d35
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x412490
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4124df
xor ecx, ecx
mov ch, byte [esp + 0x1a4]
lea eax, [esp + 4]
push eax
mov cl, byte [esp + 0x1a4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.0048c010
add esp, 0x194
ret
Function at 0x413040
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x4130ae
test ecx, ecx
je 0x4130a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x4130bc
test ecx, ecx
je 0x413161
push ecx
jmp 0x41315b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x41312e
jmp 0x4130f0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00413040
mov edi, eax
test edi, edi
jne 0x41317d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4130f0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x413145
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x413161
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0048c010
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41318c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x413163

Function at 0x413820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb87b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 0xc]
mov dword [edi + 4], 0
mov ecx, esi
mov dword [edi], 0x4cb66c
call fcn.00423100
mov eax, dword [esp + 0x20]
mov dword [esi], 0x4cb600
mov dword [esi + 4], 0x4cb5ec
mov dword [esi + 8], 0x4cb5cc
mov dword [esi + 0x30], 0x4cb590
mov dword [esi + 0x34], 0x4cb568
mov dword [esi + 0x38], 0x4cb548
mov dword [esi + 0x3c], 0x4cb51c
mov dword [esi + 0x40], eax
mov ecx, dword [0x4eacac]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], 0
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x417a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4bbe20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4e880c]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x4e9bc4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x417aed
call fcn.00411ba0
mov esi, eax
jmp 0x417bd5
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x417b09
call fcn.00411ba0
jmp 0x417bcc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x417b22
call fcn.00411ba0
jmp 0x417bcc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x417b58
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x417b46
lea ecx, [ebp]
call fcn.004125f0
lea ecx, [ebp - 0x1c]
call fcn.00412560
mov eax, 0x8007000e
jmp 0x417bf2
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00414370
mov dword [ebp - 4], 1
jmp 0x417b81
mov ebx, dword [ebp]
test ebx, ebx
jne 0x417b8f
mov esi, 0x8007000e
jmp 0x417bce
call dword [0x4e9bc4]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x417bb0
call fcn.00411ba0
jmp 0x417bcc
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00416910
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x417bf0
lea ecx, [ebp]
call fcn.004125f0
jmp 0x417bf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0048c010
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4181a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bbf18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00407b30
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.0040206e
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x418e40
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x418e86
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.004b8f10
neg esi
sbb esi, esi
test esi, fcn.004111b0
mov dword [esp + 0x10], eax
pop esi
je 0x418e86
push 0x4cb9b0
lea eax, [esp + 0xc]
push eax
call fcn.00418960
mov dword [edi], ebx
mov eax, edi
pop edi
pop ebx
add esp, 8
ret

Function at 0x418f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x418f45
cmp word [eax], 0
je 0x418f45
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418f45
and al, 0x10
cmp al, 0x10
setne al
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x420140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bca70
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0xc], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x74]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x60], ebx
mov byte [ecx + 4], bl
call fcn.0040206e
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esp
call fcn.0041e450
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], ecx
mov dword [esi], edx
mov edx, dword [eax]
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
mov dword [esi + 8], edx
add eax, 4
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x44], 1
mov byte [ecx + 4], bl
call fcn.0040206e
cmp dword [esp + 0x2c], 0x10
jb 0x4201f3
mov eax, dword [esp + 0x18]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x420217
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0048c049
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x421e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bcd49
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], 0x4cbf40
mov dword [esp + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
mov dword [esi + 0x2c], edi
call fcn.0041bb80
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.004b8f10
neg ebx
sbb ebx, ebx
test ebx, fcn.004111b0
mov dword [esp + 0x18], eax
je 0x421ee4
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00418960
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4