Function at 0x43f020
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov esi, dword [ebp + 8]
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
dec ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
xor edx, edx
inc edx
mov ecx, esi
call fcn.0043f350
movzx eax, byte [esi + 0xb]
test al, al
js 0x43f05b
and eax, 0x7f
jmp 0x43f05e
mov eax, dword [esi + 4]
test eax, eax
jne 0x43f278
lea edi, [ebp - 0x224]
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov ecx, edi
call fcn.0049c000
push edi
push 0x67
call fcn.0048a720
add esp, 8
test al, al
je 0x43f0b5
movzx eax, byte [ebp - 0x219]
test al, al
js 0x43f09a
and eax, 0x7f
jmp 0x43f0a0
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x43f0b5
push edi
call fcn.00487d50
add esp, 4
test al, al
jne 0x43f1b1
lea ecx, [ebp - 0x224]
call fcn.0049c100
mov eax, dword [0x54ca24]
mov ecx, dword [0x54bb78]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43f2be
mov eax, dword [0x54ca1c]
test eax, eax
je 0x43f1a6
mov edi, 0x54ca1c
lea ecx, [eax + 4]
cmp dword [eax + 0x10], 0x67
cmovge ecx, eax
cmovge edi, eax
mov eax, dword [ecx]
test eax, eax
jne 0x43f0f3
cmp edi, 0x54ca1c
je 0x43f1a6
cmp dword [edi + 0x10], 0x67
jg 0x43f1a6
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.004ec220
add esp, 0xc
mov word [esi - 2], 0
lea esi, [ebp - 0x218]
push 0x104
push esi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x43f1a6
lea edi, [ebp - 0x224]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
push esi
call fcn.005043ab
add esp, 4
mov ecx, edi
push eax
push esi
call fcn.0049c050
mov ecx, edi
call fcn.0049e320
test al, al
je 0x43f19b
mov ecx, edi
call fcn.0049e4e0
test al, al
jne 0x43f19b
push edi
call fcn.00487d50
add esp, 4
test al, al
jne 0x43f1b1
lea ecx, [ebp - 0x224]
call fcn.0049c100
lea ecx, [ebp - 0x224]
call fcn.0049c000
movzx eax, byte [ebp - 0x219]
test al, al
js 0x43f1c1
and eax, 0x7f
jmp 0x43f1c7
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x43f34d
lea edi, [ebp - 0x230]
push edi
call fcn.004accc0
add esp, 4
movzx eax, byte [edi + 0xb]
test al, al
js 0x43f1eb
and eax, 0x7f
jmp 0x43f1f7
mov eax, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
test eax, eax
js 0x43f2a0
test edi, edi
jne 0x43f20b
test eax, eax
jne 0x43f28f
lea ebx, [ebp - 0x218]
lea ecx, [ebp - 0x224]
push eax
push edi
push ebx
call fcn.0049d200
mov esi, str.Application
push esi
call fcn.005043ab
add esp, 4
lea edi, [ebp - 0x23c]
mov ecx, ebx
push eax
push esi
push edi
call fcn.0049d200
mov ecx, ebx
call fcn.0049c100
cmp byte [ebp - 0x225], 0
jns 0x43f25b
push dword [ebp - 0x230]
call fcn.004e82d5
add esp, 4
lea ecx, [ebp - 0x224]
call fcn.0049c100
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0049c140
mov ecx, edi
call fcn.0049c100
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
mov eax, esi
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x13c
jmp 0x43f2af
push str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
push str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
push 0x13a
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
push 0x54ca24
call fcn.004e8347
add esp, 4
cmp dword [0x54ca24], 0xffffffff
jne 0x43f0e1
xor eax, eax
mov dword [0x54ca1c], eax
mov dword [0x54ca20], eax
mov edi, 0x54ca1c
mov dword [0x54ca18], edi
mov eax, 0x52c970
lea esi, [ebp - 0x218]
mov ecx, 0x54ca18
push eax
push eax
push edi
push esi
call fcn.00440290
mov eax, 0x52c97c
mov ecx, 0x54ca18
push eax
push eax
push edi
push esi
call fcn.00440290
mov eax, 0x52c988
mov ecx, 0x54ca18
push eax
push eax
push edi
push esi
call fcn.00440290
push 0x440270
call fcn.004e8641
add esp, 4
push 0x54ca24
call fcn.004e83bd
add esp, 4
jmp 0x43f0e1
int3