joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407410
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x48a289
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x2c]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [esp + 0x28]
push 3
mov ecx, esi
mov ebx, eax
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
call fcn.004010b0
mov dword [esp + 0x20], ebp
lea edi, [ebx + 2]
cmp edi, dword [esi + 8]
mov dword [esp + 0x10], 1
jl 0x407488
push edi
mov ecx, esi
call fcn.004010b0
cmp edi, dword [esi + 8]
jl 0x407488
push edi
mov ecx, esi
call fcn.004010b0
mov eax, dword [esi]
mov edx, dword [esp + 0x2c]
inc ebx
push ebx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, dword [esi]
xor eax, eax
cmp word [edx], bp
je 0x4074ac
mov ecx, edx
add ecx, 2
inc eax
cmp word [ecx], bp
jne 0x4074a3
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x407c18
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 0x20], 0
sub esp, 0xc
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00404840
mov byte [esp + 0x2c], 1
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x14]
call fcn.00407b40
mov byte [esp + 0x20], 2
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0xc]
push eax
call fcn.0046d942
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046d942
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 0x14
Function at 0x40b920
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48a5ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
mov ebx, dword [esp + 0x274]
push ebp
push esi
push edi
push ebx
lea ecx, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x278], 0
push 0x493c30
lea ecx, [esp + 0x14]
call fcn.004074d0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x40baba
xor ecx, ecx
mov word [esi], cx
xor esi, esi
mov dword [esp + 0x14], 0
cmp word [ebx], si
je 0x40b9a8
lea ebx, [ebx]
inc esi
cmp word [ebx + esi*2], 0
jne 0x40b9a0
push esi
lea ecx, [esp + 0x14]
call fcn.004010b0
mov ebp, dword [esp + 0x10]
mov edx, ebp
mov eax, ebx
sub edx, ebx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b9c0
mov eax, esi
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x18]
mov ecx, edi
sub ecx, esi
dec ecx
cmp ecx, 1
jge 0x40ba23
cmp edi, 0x40
jle 0x40b9f1
mov eax, edi
cdq
sub eax, edx
sar eax, 1
jmp 0x40ba00
xor eax, eax
cmp edi, 8
setle al
dec eax
and eax, 0xc
add eax, 4
lea edx, [eax + ecx]
cmp edx, 1
jge 0x40ba0f
mov eax, 1
sub eax, ecx
add edi, eax
push edi
lea ecx, [esp + 0x14]
call fcn.004010b0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov ecx, 0x5c
mov word [ebp + eax*2], cx
inc eax
mov dword [esp + 0x14], eax
xor edx, edx
mov word [ebp + eax*2], dx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x14]
call fcn.004074d0
test byte [esp + 0x20], 0x10
mov esi, dword [esp + 0x10]
je 0x40ba83
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x493c2c
lea ecx, [esp + 0x50]
push ecx
call edi
test eax, eax
je 0x40ba9b
push 0x493c24
lea edx, [esp + 0x50]
push edx
call edi
test eax, eax
je 0x40ba9b
push esi
call fcn.0040b920
add esp, 4
jmp 0x40ba97
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40baed
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40baed
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b986
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40baed
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40baed
mov dword [esp + 0x278], 0xffffffff
push esi
call fcn.0046d942
add esp, 4
mov eax, 1
jmp 0x40bb03
mov dword [esp + 0x278], 0xffffffff
push esi
call fcn.0046d942
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x26c
ret
Function at 0x40bb20
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [0x4b88e0], 0
je 0x40bb2f
mov eax, 1
ret
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40bb47
mov eax, 1
pop esi
ret
test al, 0x10
jne 0x40bb65
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40bb61
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret
xor eax, eax
pop esi
ret
push esi
call fcn.0040b920
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0x250
push esi
mov esi, dword [esp + 0x258]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40e444
xor eax, eax
pop esi
add esp, 0x250
ret
test al, 0x10
je 0x40e45b
push 0x10
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop esi
add esp, 0x250
ret
mov eax, dword [0x4b884c]
test eax, eax
jne 0x40e475
push esi
call fcn.0040e3e0
add esp, 4
pop esi
add esp, 0x250
ret
cmp eax, 2
jne 0x40e4a9
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x40e464
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jl 0x40e464
mov eax, 1
pop esi
add esp, 0x250
ret
Function at 0x40f810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 3
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004010b0
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
call fcn.00401370
push 0x493cd8
lea ecx, [esp + 0x10]
call fcn.004074d0
push str.__T_
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 1
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d942
add esp, 4
push esi
lea ecx, [esp + 0x10]
call fcn.00401370
push 0x4949f0
lea ecx, [esp + 0x10]
call fcn.004074d0
push 0x493cc0
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 2
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d942
add esp, 4
push 0x493cb8
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 3
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046d942
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [esp + 0x10]
push edx
call fcn.0046d942
mov ecx, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40f940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 3
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004010b0
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
call fcn.00401370
push 0x493cd8
lea ecx, [esp + 0x10]
call fcn.004074d0
push str.__S_
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 1
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d942
add esp, 4
push esi
lea ecx, [esp + 0x10]
call fcn.00401370
push 0x4949f0
lea ecx, [esp + 0x10]
call fcn.004074d0
push 0x493ce4
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 2
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d942
add esp, 4
push 0x493cdc
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 3
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046d942
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [esp + 0x10]
push edx
call fcn.0046d942
mov ecx, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40fa70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 3
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004010b0
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x10]
call fcn.00401370
push 0x493cd8
lea ecx, [esp + 0x10]
call fcn.004074d0
push str.__M_
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 1
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d942
add esp, 4
push esi
lea ecx, [esp + 0x10]
call fcn.00401370
push 0x4949f0
lea ecx, [esp + 0x10]
call fcn.004074d0
push 0x493d04
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 2
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d942
add esp, 4
push 0x493cfc
lea ecx, [esp + 0x1c]
call fcn.00404790
mov byte [esp + 0x2c], 3
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0040bd30
mov byte [esp + 0x2c], bl
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046d942
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [esp + 0x10]
push edx
call fcn.0046d942
mov ecx, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40fba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a971
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.004012d0
mov ebp, 1
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movzx eax, word [esi + ecx*2 - 2]
cmp ax, 0x5c
je 0x40fbf3
cmp ax, 0x2f
jne 0x40fc00
lea eax, [ecx - 1]
xor ecx, ecx
mov word [esi + eax*2], cx
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
push edx
call fcn.0040bc20
add esp, 4
test eax, eax
jle 0x40fc48
mov ebp, dword [esp + 0x2c]
push eax
push ebp
mov ecx, edi
call fcn.0040bc90
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 0
push esi
call fcn.0046d942
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push edi
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.004012d0
mov dword [esp + 0xc], ebp
mov byte [esp + 0x24], 0
push esi
call fcn.0046d942
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x40fc80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, dword [esp + 0x38]
lea eax, [esp + 4]
push esi
push eax
call fcn.00407140
mov dword [esp + 0x38], 0
lea ecx, [esp + 0xc]
push ecx
call fcn.0043c840
add esp, 0xc
push 0x493d24
lea ecx, [esp + 0x20]
call fcn.00404790
mov byte [esp + 0x30], 1
push 0x493d1c
lea ecx, [esp + 0x14]
call fcn.00404790
mov byte [esp + 0x30], 2
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
call fcn.0040bd30
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046d942
mov byte [esp + 0x34], 0
mov edx, dword [esp + 0x20]
push edx
call fcn.0046d942
mov eax, dword [esp + 0xc]
add esp, 8
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 4]
push ecx
call fcn.0046d942
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x414a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.0045a4c9
mov dword [esp + 0x28], 0
mov edi, dword [0x4b8728]
mov ecx, 0x4b8a8c
mov dword [esp + 0xc], edi
call fcn.00402110
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebx]
cmp esi, dword [eax + 0xc]
jae 0x414ac1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x414ac5
cmp byte [eax + 0x14], 0
je 0x414ac5
call fcn.0045a5a5
cmp esi, dword [eax + 0xc]
jae 0x414acb
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x414ac7
xor ecx, ecx
jmp 0x414aa9
mov esi, ecx
test esi, esi
jne 0x414b1d
test edi, edi
je 0x414ad3
mov esi, edi
jmp 0x414b1d
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00413dd0
add esp, 8
cmp eax, 0xffffffff
jne 0x414b03
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.0046db4d
push 0x4a2a2c
lea ecx, [esp + 0x18]
push ecx
call fcn.0046ec7c
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4b8728], esi
call fcn.00402180
push esi
call fcn.0045a66a
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0045a4f1
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x414b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.0045a4c9
mov dword [esp + 0x28], 0
mov edi, dword [0x4b872c]
mov ecx, 0x4b8a94
mov dword [esp + 0xc], edi
call fcn.00402110
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [ebx]
cmp esi, dword [eax + 0xc]
jae 0x414bc1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x414bc5
cmp byte [eax + 0x14], 0
je 0x414bc5
call fcn.0045a5a5
cmp esi, dword [eax + 0xc]
jae 0x414bcb
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x414bc7
xor ecx, ecx
jmp 0x414ba9
mov esi, ecx
test esi, esi
jne 0x414c1d
test edi, edi
je 0x414bd3
mov esi, edi
jmp 0x414c1d
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00413f00
add esp, 8
cmp eax, 0xffffffff
jne 0x414c03
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.0046db4d
push 0x4a2a2c
lea ecx, [esp + 0x18]
push ecx
call fcn.0046ec7c
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4b872c], esi
call fcn.00402180
push esi
call fcn.0045a66a
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0045a4f1
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x414e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48af81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xc], ebx
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00410180
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00410540
mov esi, dword [esp + 0x38]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00410180
mov dword [esp + 8], 1
mov byte [esp + 0x30], bl
cmp dword [esp + 0x24], 0x10
jb 0x414ed6
mov edx, dword [esp + 0x10]
push edx
call fcn.0046d9dc
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
pop esi
mov dword [esp + 0x20], 0xf
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x414f00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48b011
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x34]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x10], ebx
xor eax, eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
call fcn.00410370
mov dword [esp + 0x30], 1
mov edx, dword [esp + 0x40]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414f55
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004121f0
mov esi, dword [esp + 0x38]
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00410370
mov dword [esp + 8], 1
mov byte [esp + 0x30], bl
cmp dword [esp + 0x24], 8
jb 0x414fae
mov eax, dword [esp + 0x10]
push eax
call fcn.0046d9dc
add esp, 4
xor ecx, ecx
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x20], ebx
pop esi
mov dword [esp + 0x20], 7
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x48a9e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00413b50
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
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 byte [ecx + 4], dl
call fcn.00410180
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x415e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b493
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00415210
mov dword [esp + 0x18], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.0
test edi, edi
je 0x415e7a
lea ebx, [edi + 0x28]
jmp 0x415e7c
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x415e8d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x415e9d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x417300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push 0x28
xor ebx, ebx
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00410750
mov dword [esp + 0x30], ebx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00413a80
mov byte [esp + 0x30], 2
cmp dword [esp + 0x24], 0x10
jb 0x41736b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046d9dc
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4173a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push 0x27
xor ebx, ebx
push str.Year_is_out_of_valid_range:_1400..10000
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00410750
mov dword [esp + 0x30], ebx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00413a80
mov byte [esp + 0x30], 2
cmp dword [esp + 0x24], 0x10
jb 0x41740b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046d9dc
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x417440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push 0x22
xor ebx, ebx
push str.Month_number_is_out_of_range_1..12
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00410750
mov dword [esp + 0x30], ebx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00413a80
mov byte [esp + 0x30], 2
cmp dword [esp + 0x24], 0x10
jb 0x4174ab
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046d9dc
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4175c0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x48b288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0xfffe
call fcn.0045a25a
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x18], 8
jb 0x417602
mov eax, dword [edi + 4]
jmp 0x417605
lea eax, [edi + 4]
push 0x7fff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417617
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.00410830
mov dword [esp + 0x14], 0xffffffff
test esi, esi
je 0x417644
push esi
call fcn.0046d9dc
add esp, 4
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret