Function at 0x4a7410
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568767
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x188], eax
call fcn.0049fb10
mov edi, eax
mov dword [ebp - 0x194], edi
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0
call fcn.0040f990
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x168], esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Extensions
mov byte [ecx], 0
call fcn.0040a4a0
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
mov ecx, esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x579ae4
mov byte [ecx], 0
call fcn.0040a4a0
mov esi, dword [ebp - 0x190]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0049bc40
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x164], eax
cmp eax, dword [ebp - 0x19c]
je 0x4a764f
nop
push eax
lea ecx, [ebp - 0x140]
call fcn.0040b5a0
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], ecx
cmp eax, dword [ebp - 0x180]
je 0x4a75c6
mov edi, dword [ebp - 0x180]
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
cmovae eax, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4a758a
mov ecx, dword [esi]
push dword [ebp - 0x130]
push eax
push dword [esi + 0x10]
push ecx
call fcn.0040f850
add esp, 0x10
test al, al
jne 0x4a75ae
mov ecx, dword [ebp - 0x170]
add esi, 0x18
cmp esi, edi
jne 0x4a7570
mov edi, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x16c], esi
mov esi, dword [ebp - 0x190]
mov eax, dword [ebp - 0x12c]
cmp eax, 0x10
jb 0x4a75fc
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a75f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a81cd
push edx
push ecx
call fcn.005189ee
add esp, 8
mov eax, dword [ebp - 0x180]
cmp dword [ebp - 0x16c], eax
jne 0x4a7634
push dword [ebp - 0x164]
cmp dword [ebp - 0x17c], eax
je 0x4a7628
mov ecx, eax
call fcn.0040b5a0
add dword [ebp - 0x180], 0x18
jmp 0x4a7634
push eax
lea ecx, [ebp - 0x184]
call fcn.0040af90
mov eax, dword [ebp - 0x164]
add eax, 0x18
mov dword [ebp - 0x164], eax
cmp eax, dword [ebp - 0x19c]
jne 0x4a7530
push 0xe
push str...extensions_
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
call fcn.0040a4a0
mov ecx, dword [ebp - 0x180]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x184]
imul ecx
mov byte [ebp - 4], 5
sar edx, 2
mov eax, edx
mov dword [ebp - 0x16c], 0
shr eax, 0x1f
mov dword [ebp - 0x170], 0
add eax, edx
je 0x4a7cbe
mov dword [ebp - 0x174], 0
push 0x44
call fcn.005189be
mov esi, eax
mov dword [ebp - 0x164], eax
add esp, 4
mov dword [ebp - 0x168], esi
test esi, esi
je 0x4a7755
mov dword [esi], vtable.Presentation::Extension.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 1
jmp 0x4a775d
xor esi, esi
mov dword [ebp - 0x164], esi
mov eax, dword [ebp - 0x184]
add eax, dword [ebp - 0x174]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x160]
add eax, 0x10
mov dword [ebp - 0x178], eax
or ecx, 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov eax, dword [eax]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x188], ecx
lea ecx, [ebp - 0x128]
push eax
mov byte [ebp - 4], 6
call fcn.0040a9f0
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
push dword [ebp - 0x148]
cmovae eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x128]
push eax
call fcn.0040a340
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x14], 0x10
jb 0x4a77fa
mov eax, dword [eax]
mov ecx, dword [ebp - 0x178]
push dword [ecx]
lea ecx, [ebp - 0x128]
push eax
call fcn.0040a340
push 4
push str..dll
lea ecx, [ebp - 0x128]
call fcn.0040a340
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x160]
or eax, 2
and eax, 0xfffffffe
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4a78ac
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a78a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a81cd
push edx
push ecx
call fcn.005189ee
add esp, 8
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
mov dword [ebp - 0x118], 0
cmovae eax, dword [ebp - 0x140]
push eax
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
test eax, eax
je 0x4a7c39
push str.CreateModuleWindow_
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x3c], eax
test eax, eax
je 0x4a7c39
push str.IOControl
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
je 0x4a7c39
push str.InitModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4a7c39
push str.ReleaseModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
je 0x4a7c39
push str.PrepareModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
je 0x4a7c39
push str.ActivateModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
test eax, eax
je 0x4a7c39
push str.InitSession
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4a7c39
push str.CheckSncAzsExtensionModule
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
test eax, eax
je 0x4a7c39
push str.GetModuleName
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4a7c39
push str.GetModuleGroupName
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
test eax, eax
je 0x4a7c39
push str.GetModuleWindowInfo
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4a7c39
push str.InitModuleWindow
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], eax
test eax, eax
je 0x4a7c39
push str.GetModuleWindow
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x34], eax
test eax, eax
je 0x4a7c39
push str.GetModuleType
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x38], eax
test eax, eax
je 0x4a7c39
cmp dword [esi + 4], 0
jne 0x4a7a55
xor eax, eax
jmp 0x4a7a5a
mov eax, dword [esi + 0x28]
call eax
test eax, eax
je 0x4a7c39
mov eax, dword [ebp - 0x15c]
push 1
mov eax, dword [eax + 0x37c]
push dword [eax + 0x44]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
mov dword [ebp - 0x18c], esi
cmp dword [ebp - 0x16c], 0
mov byte [ebp - 4], 9
jne 0x4a7a9e
push 0
push 0
push 0x800
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x164]
cmp dword [eax + 4], 0
je 0x4a7b18
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00530cf0
push 0xff
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x164]
push 0
push 0
push 5
mov eax, dword [eax + 8]
call eax
add esp, 0x20
test eax, eax
je 0x4a7b18
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a7b05
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
jmp 0x4a7b3a
push 0
push 0x5707b4
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea ecx, [ebp - 0x128]
call fcn.0040a4a0
or dword [ebp - 0x160], 4
cmp dword [ebp - 0x118], 0
mov byte [ebp - 4], 0xa
jne 0x4a7b9a
mov eax, dword [ebp - 0x164]
cmp dword [eax + 4], 0
jne 0x4a7b69
xor edx, edx
jmp 0x4a7b70
mov eax, dword [eax + 0x20]
call eax
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x178], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a7b80
sub ecx, dword [ebp - 0x178]
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.0040a4a0
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x16c]
add eax, 0x186a1
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [ebp - 0x15c]
inc dword [ebp - 0x16c]
add ecx, 0x380
mov edx, dword [ecx + 4]
cmp dword [ecx + 8], edx
je 0x4a7bec
mov eax, dword [ebp - 0x164]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x4a7bf9
lea eax, [ebp - 0x168]
push eax
push edx
call fcn.0041bcf0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x4a7c41
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a7c2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a81cd
push edx
push ecx
call fcn.005189ee
add esp, 8
jmp 0x4a7c41
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 0x12c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4a7c7f
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a7c75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a81cd
push edx
push ecx
call fcn.005189ee
add esp, 8
mov ecx, dword [ebp - 0x180]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x170]
add dword [ebp - 0x174], 0x18
inc esi
imul ecx
mov dword [ebp - 0x170], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a76c1
mov esi, dword [ebp - 0x190]
mov eax, dword [ebp - 0x15c]
xor edx, edx
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x188], edx
mov ecx, dword [eax + 0x380]
mov eax, dword [eax + 0x384]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4a80fd
nop dword [eax]
shl edx, 2
mov dword [ebp - 0x160], edx
mov eax, dword [edx + ecx]
cmp dword [eax + 4], 0
jne 0x4a7d16
xor eax, eax
jmp 0x4a7d21
mov eax, dword [eax + 0x38]
call eax
mov edx, dword [ebp - 0x160]
test al, 2
je 0x4a80d1
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx + 0x380]
mov eax, dword [eax + edx]
cmp dword [eax + 4], 0
je 0x4a80d1
push dword [ecx + 0x110]
mov eax, dword [eax + 0x3c]
call eax
add esp, 4
test eax, eax
je 0x4a80d1
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 0x380]
add eax, dword [ebp - 0x160]
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x4a7d76
xor eax, eax
jmp 0x4a7d7b
mov eax, dword [eax + 0x34]
call eax
push 0x86
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 0x16c], 0
jne 0x4a7f1d
push 0x20
call fcn.005189be
add esp, 4
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4a7e43
mov dword [eax], vtable.CBarFolder.0
add eax, 0x14
push 0
mov dword [ebp - 0x168], eax
mov ecx, eax
push 0
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004d2610
mov ecx, dword [ebp - 0x174]
mov dword [ecx + 0x14], eax
push 0x579b08
mov byte [ebp - 4], 0xc
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.0051899f
mov ecx, dword [ebp - 0x174]
add esp, 4
push 0x579b08
push eax
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x174]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
jmp 0x4a7e45
xor eax, eax
mov dword [ebp - 0x168], eax
lea edi, [ebp - 0x168]
mov eax, dword [ebp - 0x15c]
push edi
mov byte [ebp - 4], 5
mov ecx, dword [eax + 0x1f8]
mov dword [ebp - 0x178], ecx
mov edx, dword [ecx + 4]
push edx
push ecx
lea ecx, [eax + 0x1f8]
mov dword [ebp - 0x18c], edx
call fcn.0047e240
mov edi, dword [ebp - 0x194]
mov ecx, 0x15555554
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax + 0x1fc]
sub ecx, edx
cmp ecx, 1
jb 0x4a81d2
lea ecx, [edx + 1]
xor edx, edx
mov dword [eax + 0x1fc], ecx
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x168]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx + 0x1fc]
mov ecx, dword [ecx + 0x1f8]
dec eax
mov dword [ebp - 0x164], eax
mov eax, dword [ecx]
cmp eax, ecx
je 0x4a7ef6
cmp edx, dword [ebp - 0x164]
je 0x4a7f09
mov eax, dword [eax]
inc edx
cmp eax, ecx
jne 0x4a7ee7
mov edx, dword [ebp - 0x15c]
xor eax, eax
lea ecx, [edx + 0x330]
mov dword [eax + 0xc], ecx
jmp 0x4a7f23
mov edx, dword [ebp - 0x15c]
mov eax, dword [eax + 8]
lea ecx, [edx + 0x330]
mov dword [eax + 0xc], ecx
jmp 0x4a7f23
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x380]
mov ecx, dword [ebp - 0x160]
mov eax, dword [ecx + eax]
cmp dword [eax + 4], 0
je 0x4a7f46
push dword [edx + 0x110]
mov eax, dword [eax + 0x30]
call eax
add esp, 4
push 8
call fcn.005189be
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4a7fa3
mov ecx, dword [ebp - 0x15c]
mov ecx, dword [ecx + 0x380]
add ecx, dword [ebp - 0x160]
mov ecx, dword [ecx]
cmp dword [ecx + 4], 0
jne 0x4a7f8b
xor ecx, ecx
mov dword [eax], vtable.Presentation::SideBarViewAdapter.0
mov dword [eax + 4], ecx
jmp 0x4a7fab
mov eax, dword [ecx + 0x34]
call eax
mov ecx, eax
mov eax, dword [ebp - 0x170]
mov dword [eax], vtable.Presentation::SideBarViewAdapter.0
mov dword [eax + 4], ecx
jmp 0x4a7fab
xor eax, eax
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x15c]
add ecx, 0x334
mov byte [ebp - 4], 5
mov dword [ebp - 0x168], eax
mov edx, dword [ecx + 4]
cmp dword [ecx + 8], edx
je 0x4a7fd1
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x4a7fde
lea eax, [ebp - 0x168]
push eax
push edx
call fcn.0041bcf0
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 0x380]
add eax, dword [ebp - 0x160]
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x4a7ffc
xor eax, eax
jmp 0x4a8001
mov eax, dword [eax + 0x34]
call eax
push 0
push 1
push 0x7f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4a8023
push 0x80
push dword [0x5c899c]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebp - 0x15c]
push 0xffffffffffffffff
push dword [eax + 0x330]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 0x380]
add ecx, dword [ebp - 0x160]
mov eax, dword [ecx]
cmp dword [eax + 4], 0
jne 0x4a8064
mov dword [ebp - 0x160], 0
jmp 0x4a806f
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x15c]
xor eax, eax
mov edx, dword [ecx + 0x1f8]
mov ecx, dword [edx]
cmp ecx, edx
je 0x4a8096
cmp eax, dword [ebp - 0x164]
je 0x4a8133
mov ecx, dword [ecx]
inc eax
cmp ecx, edx
jne 0x4a8083
xor ecx, ecx
push dword [ebp - 0x170]
push dword [ebp - 0x168]
push dword [ebp - 0x160]
push dword [ebp - 0x16c]
call fcn.0049f5f0
mov eax, dword [ebp - 0x15c]
push 1
push 0
push dword [eax + 0x130]
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [ebp - 0x16c]
mov eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x188]
inc edx
mov dword [ebp - 0x188], edx
mov ecx, dword [eax + 0x380]
mov eax, dword [eax + 0x384]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4a7d00
mov edx, dword [ebp - 0x144]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a8145
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a813b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a81cd
jmp 0x4a813b
mov ecx, dword [ecx + 8]
jmp 0x4a8098
push edx
push ecx
call fcn.005189ee
add esp, 8
lea ecx, [ebp - 0x1a0]
call fcn.0040bed0
lea ecx, [ebp - 0x184]
call fcn.0040bed0
test esi, esi
je 0x4a81a2
push 0x5c8648
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5c8664]
test eax, eax
je 0x4a8197
sub eax, 1
mov dword [0x5c8664], eax
jne 0x4a8197
mov ecx, dword [0x5c8660]
test ecx, ecx
je 0x4a8197
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5c8660], 0
push 0x5c8648
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xe
test edi, edi
je 0x4a81b2
call fcn.00499210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret
call fcn.00545078
push str.list_T__too_long
call fcn.00503d97
int3