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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x208
lea eax, [esp + 0x298]
push 0
push eax
mov dword [esp + 0x2c], ebx
call fcn.0044e9d0
mov edx, dword [0x4db024]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4db024
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x4b0], 0
cmp dword [esi + 0x10], 2
jne 0x440730
mov ecx, dword [esi + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004401e0
lea edi, [esp + 0x14]
mov byte [esp + 0x4b0], 1
call fcn.0042c680
mov byte [esp + 0x4b0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440424
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x14]
call fcn.00426a40
mov eax, dword [eax]
push 0x478150
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x44055b
push 0x225
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.0044e9d0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x84], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x88], eax
mov al, byte [esi + 0x238]
add esp, 0xc
mov dword [esp + 0x80], ecx
add esi, 0x30
push esi
lea ecx, [esp + 0x298]
mov dword [esp + 0x88], edx
mov byte [esp + 0x294], al
call fcn.004219e0
add esp, 4
lea ecx, [esp + 0x88]
test eax, eax
mov edx, 0x104
mov eax, ecx
je 0x4404f2
lea esi, [esp + 0x294]
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x440514
movzx ecx, word [esi + eax]
test cx, cx
je 0x440514
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4404d2
jmp 0x440518
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x440514
movzx ecx, word [esi + eax]
test cx, cx
je 0x440514
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4404f4
jmp 0x440518
test edx, edx
jne 0x44051b
sub eax, 2
xor edx, edx
mov word [eax], dx
call fcn.0043f700
call fcn.00402300
cmp dword [eax + 0x1c], 0
je 0x440730
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x90]
push edx
push eax
call fcn.00425ea0
add esp, 0x10
jmp 0x440730
call fcn.0043f700
cmp dword [eax + 0x40], 0
je 0x4405d3
push 0x44
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0044e9d0
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x2c]
add esi, 0x30
add esp, 0xc
mov dword [esp + 0x24], 0x48
mov dword [esp + 0x28], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], esi
call fcn.0043f700
mov ecx, eax
lea eax, [esp + 0x24]
call fcn.00440f50
mov edx, dword [esp + 0x2c]
mov dword [ebx], edx
jmp 0x44071b
push 0x30
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0044e9d0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x28]
add esp, 0xc
mov dword [esp + 0x40], ecx
add esi, 0x30
push esi
lea ecx, [esp + 0x298]
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
call fcn.004219e0
add esp, 4
test eax, eax
je 0x44062c
lea edx, [esp + 0x294]
mov dword [esp + 0x38], edx
jmp 0x440630
mov dword [esp + 0x38], esi
call fcn.00440790
mov ecx, dword [eax + 0x58]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x40]
add eax, 0x40
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
call fcn.00440790
mov edi, dword [eax + 0x58]
add eax, 0x40
mov eax, dword [eax]
test esi, esi
je 0x44065d
cmp esi, eax
je 0x440662
call fcn.0044be90
cmp ebx, edi
je 0x4406fe
test esi, esi
jne 0x44069b
call fcn.0044be90
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x44067f
call fcn.0044be90
mov eax, dword [ebx + 0xc]
cmp eax, dword [esp + 0x28]
je 0x44069f
lea esi, [esp + 0x18]
call fcn.004409a0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x440648
mov eax, dword [esi]
jmp 0x440675
test esi, esi
jne 0x4406c7
call fcn.0044be90
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4406b4
call fcn.0044be90
mov edi, 8
cmp dword [ebx + 0x28], edi
jb 0x4406cb
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ecx
jmp 0x4406d2
mov eax, dword [esi]
jmp 0x4406aa
lea edx, [ebx + 0x14]
mov dword [esp + 0x2c], edx
test esi, esi
jne 0x4406f3
call fcn.0044be90
cmp ebx, dword [esi + 0x18]
jne 0x4406e5
call fcn.0044be90
cmp dword [ebx + 0x44], edi
jb 0x4406f7
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
jmp 0x4406fe
mov esi, dword [esi]
jmp 0x4406db
add ebx, 0x30
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x24]
push ecx
call fcn.0043f700
mov esi, eax
call fcn.00440ee0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [ecx], edx
mov ebx, ecx
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [ebx + 4], 1
mov dword [ebx + 8], eax
mov dword [esp + 0x4b0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44075b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x490]
xor ecx, esp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret 8