Function at 0x43a120
Capabilities:
Get file system object information
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a82d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
push ebp
push esi
lea eax, [esp + 0x78]
push edi
mov ebp, ecx
push eax
call fcn.0049ca17
mov ecx, dword [0x4dde94]
call fcn.00429920
mov ecx, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 5
push ecx
call esi
push eax
call fcn.00490b21
mov edx, dword [eax + 4]
push 8
push edx
call esi
push eax
call fcn.00490b21
mov ebx, eax
push 4
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 4]
push eax
call fcn.0046eb90
mov ecx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
add esp, 8
push 0x400
push 4
push ecx
call esi
test eax, eax
je 0x43a1b4
mov edx, dword [ebx + 4]
push 0x400
push 4
push edx
call esi
test eax, eax
jne 0x43a1a3
mov eax, dword [ebp + 0x1140]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x418
push eax
call edi
test eax, eax
jle 0x43a1e7
mov esi, eax
mov ecx, dword [ebp + 0x1140]
push 0
push 0
push 0x416
push ecx
call edi
dec esi
jne 0x43a1d2
mov eax, dword [ebp + 0xeb0]
lea ecx, [ebp + 0x1124]
push eax
push 0
call fcn.0049e35e
mov eax, dword [0x4d93ac]
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x33c], esi
mov edx, dword [ebp + 0xeb0]
mov byte [esp + 0x33c], 1
dec edx
js 0x43a7f6
mov dword [esp + 0x18], 0xe00
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0xeac]
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + eax]
test edi, edi
mov dword [esp + 0x28], edi
je 0x43a7c6
lea edx, [esp + 0x48]
push 2
lea ecx, [edi + 8]
push edx
call fcn.0048801f
mov eax, dword [eax]
mov esi, 0x4d56f0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43a289
test cl, cl
je 0x43a285
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43a289
add eax, 2
add esi, 2
test cl, cl
jne 0x43a261
xor eax, eax
jmp 0x43a28e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x48]
sete bl
call fcn.0048fb71
test bl, bl
je 0x43a2cd
mov eax, dword [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.00435ee0
mov ecx, dword [esp + 0x18]
push 0
push 1
add ecx, 0xfffff200
push 0
push ecx
lea ecx, [ebp + 0x1124]
call fcn.0049631d
jmp 0x43a7c2
push ecx
lea eax, [edi + 8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0048f8e6
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push esi
push 0
push ebx
mov ecx, ebp
call fcn.00435d70
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x43a304
mov edx, dword [ebx + 4]
push 8
push esi
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
add edi, 4
lea ecx, [esp + 0x10]
push edi
mov dword [esp + 0x3c], edi
call fcn.0048fcaa
push 1
push 0x22
lea ecx, [esp + 0x2c]
call fcn.00487bd9
lea eax, [esp + 0x4c]
push 1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 2
call fcn.0048801f
mov esi, dword [esp + 0x24]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43a368
test cl, cl
je 0x43a364
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43a368
add eax, 2
add esi, 2
test cl, cl
jne 0x43a340
xor eax, eax
jmp 0x43a36d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x4c]
sete bl
call fcn.0048fb71
lea ecx, [esp + 0x24]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
test bl, bl
je 0x43a3c3
lea eax, [esp + 0x5c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00487eea
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x340], 3
call fcn.0048fcaa
lea ecx, [esp + 0x5c]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
push 1
push 0x22
lea ecx, [esp + 0x34]
call fcn.00487bd9
lea ecx, [esp + 0x64]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 4
call fcn.00487fa3
mov esi, dword [esp + 0x2c]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43a416
test cl, cl
je 0x43a412
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43a416
add eax, 2
add esi, 2
test cl, cl
jne 0x43a3ee
xor eax, eax
jmp 0x43a41b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x64]
sete bl
call fcn.0048fb71
lea ecx, [esp + 0x2c]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
test bl, bl
je 0x43a478
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0048801f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x340], 5
call fcn.0048fcaa
lea ecx, [esp + 0x3c]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x25
jne 0x43a4a6
lea edx, [esp + 0x230]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x230]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fcfa
lea ecx, [esp + 0x54]
push 2
push ecx
lea ecx, [esp + 0x18]
call fcn.0048801f
mov eax, dword [eax]
mov esi, 0x4d55b8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43a4e5
test cl, cl
je 0x43a4e1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43a4e5
add eax, 2
add esi, 2
test cl, cl
jne 0x43a4bd
xor eax, eax
jmp 0x43a4ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x54]
sete bl
call fcn.0048fb71
test bl, bl
je 0x43a566
lea eax, [esp + 0x50]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00487eea
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x340], 6
call fcn.0048fcaa
lea ecx, [esp + 0x50]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
lea ecx, [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push 0x4ddfc4
push edx
call fcn.0048fda0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x340], 7
call fcn.0048fcaa
lea ecx, [esp + 0x60]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
xor edi, edi
call fcn.0048f8e6
call fcn.0040f620
add esp, 4
test eax, eax
je 0x43a610
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov edi, 1
call fcn.0048f8e6
lea eax, [esp + 0x6c]
push eax
call fcn.0040fb20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 8
call fcn.0048fcaa
lea ecx, [esp + 0x68]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0048f8e6
lea eax, [esp + 0x5c]
push eax
call fcn.0040f910
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x340], 9
call fcn.0048fcaa
lea ecx, [esp + 0x58]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
push 1
push 0x5c
lea ecx, [esp + 0x3c]
call fcn.00487bd9
lea ecx, [esp + 0x40]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xa
call fcn.00487fa3
mov esi, dword [esp + 0x34]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43a663
test cl, cl
je 0x43a65f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43a663
add eax, 2
add esi, 2
test cl, cl
jne 0x43a63b
xor eax, eax
jmp 0x43a668
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x40]
setne bl
call fcn.0048fb71
lea ecx, [esp + 0x34]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
test bl, bl
je 0x43a699
push 0x4d5558
lea ecx, [esp + 0x14]
call fcn.0048ff4d
mov ecx, dword [esp + 0x10]
push 0x101
lea eax, [esp + 0xd4]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x43a6d3
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x43a6d6
or esi, 0xffffffff
push esi
mov esi, dword [esp + 0x1c]
push 0
lea ebx, [ebp + 0x1124]
lea eax, [esi - 0xe00]
push esi
push eax
mov ecx, ebx
call fcn.0049631d
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fcaa
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
test eax, eax
je 0x43a745
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push eax
push 0x4d79b4
push ecx
call fcn.0048fe7a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x340], 0xb
call fcn.0048fcaa
lea ecx, [esp + 0x44]
mov byte [esp + 0x33c], 1
call fcn.0048fb71
test edi, edi
je 0x43a77c
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x43a798
push 0x4d595c
lea ecx, [esp + 0x14]
call fcn.0048ff4d
push 0x4d5530
push 0x4d5960
lea ecx, [esp + 0x1c]
call fcn.00487d36
lea eax, [esp + 0x14]
push eax
jmp 0x43a78f
push 0x4d595c
lea ecx, [esp + 0x14]
call fcn.0048ff4d
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048ff89
mov edx, dword [ebp + 0x1140]
push 0
push 0
push 0x423
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0048c2a9
mov ecx, dword [esp + 0x10]
push esi
push ebx
push ecx
mov ecx, eax
call fcn.00489997
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0xeb0]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
add eax, 0xfffff200
dec edx
cmp eax, edx
jle 0x43a232
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov eax, dword [ebp + 0x1124]
lea ecx, [ebp + 0x1124]
lea edx, [esp + 0x6c]
push edx
push esi
call dword [eax + 0xe0]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
sub eax, edx
mov dword [esp + 0x80], 0x50
cmp eax, 0x16
mov dword [esp + 0x84], 0x320
mov dword [esp + 0xb4], 0x80bf
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], 0x16
jl 0x43a857
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x1140]
push esi
push esi
push 0x418
push eax
call edi
cmp eax, esi
jle 0x43a88d
mov edx, dword [ebp + 0x1140]
lea ecx, [esp + 0x6c]
dec eax
push ecx
push eax
push 0x41d
push edx
call edi
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc4], eax
jmp 0x43a898
mov dword [esp + 0xc4], 2
mov ecx, dword [ebp + 0xa20]
push esi
push 0x80bf
push 0x410
push ecx
call edi
lea edx, [esp + 0x80]
push edx
push eax
mov eax, dword [ebp + 0xa20]
push 0x406
push eax
call edi
push esi
push ebx
mov ecx, ebp
call fcn.00425f70
lea ecx, [esp + 0x14]
mov byte [esp + 0x33c], 0
call fcn.0048fb71
lea ecx, [esp + 0x10]
mov dword [esp + 0x33c], 0xffffffff
call fcn.0048fb71
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x330
ret