Function at 0x455404
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x55d258]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x455626
mov eax, edx
test eax, eax
je 0x4555ec
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x84]
push 0x40
push eax
push str.WX_CRASH_FLAGS
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4554c0
cmp eax, 0x40
jae 0x4554c0
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x44]
push eax
push 0x542898
push edx
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0xc
cmp eax, 1
mov eax, dword [ebp - 0x20]
jne 0x4554bd
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
call fcn.0045a8b0
movzx eax, al
test eax, eax
je 0x4555aa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], 0
test dl, 2
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
je 0x4554f5
mov ebx, 2
jmp 0x455505
mov eax, edx
test al, 4
mov ebx, 1
jne 0x455505
mov ebx, 0x50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x40]
xor edx, edx
push edx
push edx
push ecx
push ebx
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push eax
push esi
call dword [0x571360]
test eax, eax
jne 0x455572
push str.MiniDumpWriteDump___failed.
mov eax, ebx
push eax
call fcn.00455640
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x455552
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0x14]
call fcn.00427c84
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x455587
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0x14]
call fcn.00427c84
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.0045a8d4
push dword [eax]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00455640
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4555d2
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0x14]
call fcn.00427c84
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x56f7e4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x455457
push str.Context_for_crash_report_generation_not_available.
mov eax, ecx
push eax
call fcn.00455640
add esp, 8
mov ecx, dword [ebp - 0x14]
call fcn.00427c84
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
call fcn.00427c84
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8