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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49a061
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push esi
push edi
mov eax, dword [0x4bd450]
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.00476ef0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call fcn.00404dc0
mov dword [esp + 0x4b0], 0
cmp dword [esi + 0x10], 2
jne 0x4493fe
mov edx, dword [esi + 0x18]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00448ee0
mov byte [esp + 0x4b0], 1
lea edi, [esp + 0x14]
call fcn.00431800
mov byte [esp + 0x4b0], 0
lea ecx, [esp + 0x18]
call fcn.00404e20
call fcn.0042af20
mov eax, dword [eax]
push 0x4a9e6c
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x449229
push 0x225
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.00476ef0
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.00425000
add esp, 4
lea ecx, [esp + 0x88]
test eax, eax
mov edx, 0x104
mov eax, ecx
je 0x4491c0
lea esi, [esp + 0x294]
sub esi, ecx
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4491e2
movzx ecx, word [esi + eax]
test cx, cx
je 0x4491e2
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4491a0
jmp 0x4491e6
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4491e2
movzx ecx, word [esi + eax]
test cx, cx
je 0x4491e2
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4491c2
jmp 0x4491e6
test edx, edx
jne 0x4491e9
sub eax, 2
xor edx, edx
mov word [eax], dx
call fcn.004483d0
call fcn.00403ae0
cmp dword [eax + 0x1c], 0
je 0x4493fe
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.0042a2c0
add esp, 0x10
jmp 0x4493fe
call fcn.004483d0
cmp dword [eax + 0x40], 0
je 0x4492a1
push 0x44
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.00476ef0
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.004483d0
mov ecx, eax
lea eax, [esp + 0x24]
call fcn.00449da0
mov edx, dword [esp + 0x2c]
mov dword [ebx], edx
jmp 0x4493e9
push 0x30
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00476ef0
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.00425000
add esp, 4
test eax, eax
je 0x4492fa
lea edx, [esp + 0x294]
mov dword [esp + 0x38], edx
jmp 0x4492fe
mov dword [esp + 0x38], esi
call fcn.00449550
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.00449550
mov edi, dword [eax + 0x58]
add eax, 0x40
mov eax, dword [eax]
test esi, esi
je 0x44932b
cmp esi, eax
je 0x449330
call fcn.004726ec
cmp ebx, edi
je 0x4493cc
test esi, esi
jne 0x449369
call fcn.004726ec
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x44934d
call fcn.004726ec
mov eax, dword [ebx + 0xc]
cmp eax, dword [esp + 0x28]
je 0x44936d
lea esi, [esp + 0x18]
call fcn.004497c0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x449316
mov eax, dword [esi]
jmp 0x449343
test esi, esi
jne 0x449395
call fcn.004726ec
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x449382
call fcn.004726ec
mov edi, 8
cmp dword [ebx + 0x28], edi
jb 0x449399
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ecx
jmp 0x4493a0
mov eax, dword [esi]
jmp 0x449378
lea edx, [ebx + 0x14]
mov dword [esp + 0x2c], edx
test esi, esi
jne 0x4493c1
call fcn.004726ec
cmp ebx, dword [esi + 0x18]
jne 0x4493b3
call fcn.004726ec
cmp dword [ebx + 0x44], edi
jb 0x4493c5
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
jmp 0x4493cc
mov esi, dword [esi]
jmp 0x4493a9
add ebx, 0x30
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x24]
push ecx
call fcn.004483d0
mov esi, eax
call fcn.00449d30
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 0x449429
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.00471eba
mov esp, ebp
pop ebp
ret 8