joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41385b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4138a2
call fcn.00407ea6
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4138a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4138be
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00413360
mov esi, eax
test edi, edi
je 0x4138bc
test ebx, ebx
je 0x4138bc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414094
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5256de
call fcn.00505a87
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4140b9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41410b
call fcn.0040809e
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ae0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00505b91
push eax
call fcn.00401050
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401820
mov eax, esi
call fcn.00505b5f
ret 8

Function at 0x416eb6
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x573c28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x416eeb
xor eax, eax
jmp 0x416f3e
lea eax, [ebp - 0x210]
push eax
call fcn.00505bd8
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x416f1c
push 0x52e18c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00508caa
add esp, 0xc
test eax, eax
jne 0x416ee7
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00508caa
add esp, 0xc
test eax, eax
jne 0x416ee7
lea eax, [ebp - 0x210]
push eax
call fcn.0040eea3
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00504604
leave
ret

Function at 0x450d82
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00450a41
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x450dcc
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00401ea0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407f8e
jmp 0x450dd7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00418bb7
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x450ddd
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00413967
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x450e1a
call fcn.00450a41
mov dword [esi + 0xc], 1
jmp 0x450e1f
call fcn.00450a41
cmp dword [esi], 0
je 0x450e68
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x450e40
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00401ea0
jmp 0x450e52
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401d90
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407f8e
jmp 0x450e8c
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x450e8c
push dword [esi]
push dword [ebp + 8]
call fcn.00418bb7
pop esi
pop ebp
ret 0xc
Function at 0x47693b
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4768fb
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp method.COleDocIPFrameWndEx.virtual_468
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x476977
mov edx, edi
mov dword [ebp + 8], edi
or byte [ecx + 0x865], al
add byte [eax - 0x77], al
jge 0x476956
or byte [ecx + 0x865], al
add byte [eax - 0x77], al
jge 0x476956
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x47695e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x476967
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x476971
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x476953
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4768dd
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4769c4
dec eax
je 0x4769bb
sub eax, 3
je 0x4769b2
mov dword [ebp - 4], 0x40
jmp 0x4769e1
mov dword [ebp - 4], 4
jmp 0x4769c7
mov dword [ebp - 4], 0x20
jmp 0x4769c7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x476a13
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x476993
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00476224
mov byte [0xffaa70b6], al
jne 0x476a1e
push 1
push esi
call edi
mov eax, esi
jmp 0x476a1f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x476ac8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004761e9
add esp, 0xc
mov dword [ebp - 0x68c], eax
invalid
Function at 0x48ff3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x48ff55
call fcn.00407ea6
mov esi, dword [eax + 0xc]
push dword [0x578f70]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x48ff73
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x48ff6b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x48ffa0
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x48ff6d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048fe69
mov esi, eax
jmp 0x48ff92

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00411dbd
call fcn.004069b3
cmp eax, esi
pop esi
jne 0x4e168b
mov ecx, 0x576e90
jmp fcn.00417d95
ret

Function at 0x4e4f7a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e4f92
mov edi, dword [esi + 0xc]
jmp 0x4e4fd2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e4fab
call fcn.004147ae
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e4fc0
call fcn.004147ae
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e4fd2
call fcn.004147ae
call fcn.00407ea6
cmp dword [eax + 0x3c], 0
je 0x4e4fe7
push edi
mov ecx, ebx
call fcn.004e3e38
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e4e94
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e5005
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e5011
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x504604
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x573c28]
jne 0x50460e
repz ret
jmp fcn.0050ca5b
Function at 0x518dd9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x573c28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050c175
and dword [ebp - 0x14], 0
cmp dword [0x57b4f0], 0
mov dword [ebp - 0x18], eax
jne 0x518e8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x518f34
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x518f34
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x553680
push ebx
mov dword [0x57b4f0], eax
call edi
push eax
call esi
push 0x55366c
push ebx
mov dword [0x57b4f4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x57b4f8], eax
call edi
push eax
call esi
mov dword [0x57b500], eax
test eax, eax
je 0x518e8c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x57b4fc], eax
mov eax, dword [0x57b4fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x518ee5
cmp dword [0x57b500], ecx
je 0x518ee5
push eax
call esi
push dword [0x57b500]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x518ee5
test ebx, ebx
je 0x518ee5
call edi
test eax, eax
je 0x518edc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x518edc
test byte [ebp - 8], 1
jne 0x518ee5
or dword [ebp + 0x10], 0x200000
jmp 0x518f18
mov eax, dword [0x57b4f4]
cmp eax, dword [ebp - 0x18]
je 0x518f18
push eax
call esi
test eax, eax
je 0x518f18
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x518f18
mov eax, dword [0x57b4f8]
cmp eax, dword [ebp - 0x18]
je 0x518f18
push eax
call esi
test eax, eax
je 0x518f18
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x57b4f0]
call esi
test eax, eax
je 0x518f34
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x518f36
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00504604
leave
ret
Function at 0x4081c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504ba8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x30c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004367f0
mov dword [ebp - 4], 0
cmp byte [edi + 0x10], 0
je 0x4082d0
push str.GSoInputDeployerMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x408230
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408230
mov bl, 1
jmp 0x408232
xor bl, bl
test esi, esi
je 0x40823d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x4082d0
push 0
call dword [sym.imp.rime.dll_RimeInitialize]
add esp, 4
cmp byte [ebp + 8], bl
je 0x408264
push 0
call dword [sym.imp.rime.dll_RimeStartMaintenance]
add esp, 4
test eax, eax
jne 0x4082d0
lea eax, [ebp - 0x10]
mov byte [edi + 0x10], 0
push eax
push str.weasel
mov dword [ebp - 0x10], 0
call dword [sym.imp.rime.dll_RimeConfigOpen]
add esp, 8
test eax, eax
je 0x4082bb
lea esi, [edi + 0x118]
push 1
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.0040c110
add esp, 4
lea ecx, [edi + 0x2c]
push esi
call fcn.00408320
lea edx, [edi + 4]
lea ecx, [ebp - 0x10]
call fcn.0040ced0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.rime.dll_RimeConfigClose]
add esp, 4
cmp dword [edi + 0x28], 0x10
lea eax, [edi + 0x14]
mov dword [eax + 0x10], 0
jb 0x4082cd
mov eax, dword [eax]
mov byte [eax], 0
mov dword [ebp - 4], 4
mov eax, 0x80000000
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x408304
cmp eax, 0x80000000
jle 0x408304
lock bts dword [ecx], 0x1e
jb 0x408304
call fcn.00436680
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
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
Function at 0x40a220
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504f18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x10], 0
je 0x40a386
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
cmp eax, vtable.RimeWithWeaselHandler.0
jne 0x40a398
lea eax, [edi + 0x30c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004367f0
mov dword [ebp - 4], 0
cmp byte [edi + 0x10], 0
jne 0x40a28c
mov dword [ebp - 4], 1
jmp 0x40a347
push str.GSoInputDeployerMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x40a2b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a2b2
mov bl, 1
jmp 0x40a2b4
xor bl, bl
test esi, esi
je 0x40a2bf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x40a2cc
mov dword [ebp - 4], 2
jmp 0x40a347
push 0
call dword [sym.imp.rime.dll_RimeInitialize]
lea eax, [ebp - 0x10]
mov byte [edi + 0x10], 0
push eax
push str.weasel
mov dword [ebp - 0x10], 0
call dword [sym.imp.rime.dll_RimeConfigOpen]
add esp, 0xc
test eax, eax
je 0x40a32b
lea esi, [edi + 0x118]
push 1
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.0040c110
add esp, 4
lea ecx, [edi + 0x2c]
push esi
call fcn.00408320
lea edx, [edi + 4]
lea ecx, [ebp - 0x10]
call fcn.0040ced0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.rime.dll_RimeConfigClose]
add esp, 4
add edi, 0x14
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x40a33d
mov edi, dword [edi]
mov byte [edi], 0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov eax, 0x80000000
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x40a386
cmp eax, 0x80000000
jle 0x40a386
lock bts dword [ecx], 0x1e
jb 0x40a386
call fcn.00436680
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call edx
jmp 0x40a386
Function at 0x411050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50583b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00432450
push 8
call fcn.00482265
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.00483eab
add esp, 8
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov ecx, edi
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
push 0x20
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
call fcn.00412d30
cmp dword [edi + 0x38], 0
mov word [edi + 0x40], ax
jne 0x411156
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.00432450
lea edx, [ebx + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5058e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00482265
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00483eab
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41be80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50615c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 0
push eax
lea eax, [esi + 4]
mov dword [ebp - 0x3c], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x38], xmm0
call fcn.004b56b8
mov eax, dword [esi + 0xc]
add esp, 8
movaps xmm0, xmmword [0x531250]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x3c], vtable.boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast_.1.0
mov dword [ebp - 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast_.0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0x52bca0
mov dword [edi + 0x30], vtable.boost::exception_detail::clone_base.0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
mov dword [ebp - 0x10], 2
call fcn.0041b4d0
mov dword [ebp - 4], 3
lea esi, [edi + 0x14]
mov eax, dword [edi + 0x28]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x24], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00433de0
mov eax, dword [edi + 0x28]
add esp, 8
mov dword [edi], vtable.boost::wrapexcept_class_boost::bad_lexical_cast_.2.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::bad_lexical_cast_.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x28], vtable.boost::wrapexcept_class_boost::bad_lexical_cast_.0
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x24], eax
mov dword [ebp - 0x3c], vtable.boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast_.1.0
mov dword [ebp - 0x28], vtable.boost::exception.0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x41bfb9
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.std::exception.0
push eax
call fcn.004b571b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret